none
Export all shared printers "Print Preferences" from server.

    Question

  • Hello, hope you are well.

    The company I work for wants to make sure all colour printers on the estate are defaulted to print black and white instead of colour to reduce unnecessary costs.

    I have been asked if I could investigate all the printers to make sure that they are set to print default black and white for all users.

    The company has 100s of printers so don't like the idea of doing this manually.

    I am wondering if there is at least a way to export all the print device information from each print server that would detail what the printer preferences are set to. I don't expect to be a lot so changing any to black and white should not be a big job to do manually, but if the information gathering could be automated then that would be a big chuck of the work.

    I have found a number of printer information export PowerShell scripts which are great but they don't display the printer preferences for each device. I suspect there is not a Microsoft way as this information is set within the properties of the driver.

    Any advice would be greatly appreciated.

    Regards

    Dave

    Thursday, June 28, 2018 3:28 PM

All replies

  • Hi,

    Please try the command below

    More detailed information about command,please refer to it.

    https://technet.microsoft.com/fr-fr/library/hh918352(v=wps.630).aspx

    Best Regards,

    Frank


    Please remember to mark the replies as an answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    Friday, June 29, 2018 5:48 AM
  • Hi Dave,

    The data you are looking for is the Printing Defaults.  This is the printer devmode.  This will be on printer / properties Advanced / Printing Defaults.

    Preferences is the user devmode and when the users change this setting on the client system, the user devmode will over ride the printer devmode.

    When the color setting is in the public printer devmode, use the set-printconfiguration PowerShell command to make this change.

    set-printconfiguration PRINTERNAME -color 1

    When the color setting is not in the public devmode, then you can attempt a trickier method of modifying the PrintTicket XML data.

    Use get-printconfiguration to pull the Printing Defaults data.  If you see Color in the return then you can use the set command for all the printers on the machine providing Server 2012 and greater

     


    Alan Morris formerly with Windows Printing Team

    Tuesday, July 3, 2018 6:44 AM
    Answerer
  • Hi Frank, hope you are well.

    Thanks very much for your reply, I will take a look at using this command for our environment.

    Regards,

    Dave

    Tuesday, July 17, 2018 8:26 AM
  • Hi Alan, hope you are well.

    Thank you for the detailed reply. The terms "user devmode" and "public printer devmode" are new to me so will need to dig deeper into this.

    The two main print servers that I am dealing with have around 350 shared printers between them. They are both Windows Server 2008 R2 so will need to do some testing with this command to see if I can get it to work for me.

    Thanks very much for the advice.

    Regards

    Dave

    Tuesday, July 17, 2018 8:33 AM
  • Hello,

    Just looking at the Get-PrintConfiguration command and it looks like its only available from Windows Server 2012 R2 and our print servers are running on Windows Server 2008 R2.

    So unless there is another method using command line, it will probably mean a manual check on each printer.

    Regards,

    Dave

    Tuesday, July 17, 2018 9:08 AM
  • Hi Dave,

    You can run the PowerShell command remotely targeting Server 2008R2.

    Use a Windows 10 machine logged on with a user account with print server admin access to your print server.  Use the -ComputerName parameter

    SYNTAX
        Get-PrintConfiguration [-PrinterName] <string> [-ComputerName <string>]


    Alan Morris formerly with Windows Printing Team

    Monday, July 23, 2018 7:20 AM
    Answerer
  • Hi Alan, hope you are well.

    Thanks very much for the advice. I am not sure if I will be able to gain access to a Windows 10 client on this customers network, but we do have some Windows Server 2012 R2 and 2016 systems. So will have a look at testing this from those machines.

    Regards,

    Dave


    Tuesday, July 24, 2018 8:56 AM
  • Server versions work as well.  Anything after Windows 8 and Server 2012

    Alan Morris formerly with Windows Printing Team


    Tuesday, July 31, 2018 2:55 AM
    Answerer