PrinterTypeDenyList

454 views
Skip to first unread message

NFStoney

unread,
Oct 1, 2021, 2:36:10 PM10/1/21
to Chromium-discuss
Hello
I have a general question where to place policies for chromium browser on my Linux system (Raspbian-OS).

Specifically, I have the following policy which I would like to set:
I don't know where to implement this.

Thanks for your help.
NFStoney

Alan Screen

unread,
Oct 1, 2021, 2:47:30 PM10/1/21
to past...@gmail.com, Chromium-discuss

--
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

NFStoney

unread,
Oct 4, 2021, 4:38:43 AM10/4/21
to Chromium-discuss, awsc...@chromium.org, Chromium-discuss, NFStoney
Yes, I have seen this link.
With lots of "try and error" I'm able to set #PrinterTypeDenyList

In Raspbian OS:

Path: /etc/chromium-browser/policies/managed/chrome.json

Content of chrome.json:
  // PrinterTypeDenyList
  //-------------------------------------------------------------------------
  //Disable printer types on the deny list
  //Supported on:
  //Google Chrome OS (Google Chrome OS) since version 80
  //Google Chrome (Linux, Mac, Windows) since version 80
  //Description:
  //The printers of types placed on the deny list will be disabled from being discovered or having their capabilities fetched.

  //Placing all printer types on the deny list effectively disables printing, as there would be no available destinations to send
  //a document for printing.

  //Including cloud on the deny list has the same effect as setting the CloudPrintSubmitEnabled policy to false. In order to keep
  //Google Cloud Print destinations discoverable, the CloudPrintSubmitEnabled policy must be set to true and cloud must not be on
  //the deny list.

  //If the policy is not set, or is set to an empty list, all printer types will be available for discovery.

  //Extension printers are also known as print provider destinations, and include any destination that belongs to a Google Chrome
  //extension.

  //Local printers are also known as native printing destinations, and include destinations available to the local machine and shared
  //network printers.

  //privet = Zeroconf-based (mDNS + DNS-SD) protocol destinations
  //extension = Extension-based destinations
  //pdf = The 'Save as PDF' destination
  //local = Local printer destinations
  //cloud = Google Cloud Print and 'Save to Google Drive' destinations
  "PrinterTypeDenyList": ["pdf", "local"]
}


Reply all
Reply to author
Forward
0 new messages