MSFN Forum: I have a HP Color LaserJet CP 3525. Change the driver to grayscale via - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

I have a HP Color LaserJet CP 3525. Change the driver to grayscale via Rate Topic: -----

#1 User is offline   clivebuckwheat 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 562
  • Joined: 07-November 05

Posted 14 August 2012 - 12:01 PM

i have two queues a Black and white queue called 2F26-BW and a color queue called 2F26-CLR.

I am installing the printers using the following command

net stop spooler

reg.exe ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Ports" /v \\MyPrinterserver\2F26P-CLR /t REG_SZ /f

reg.exe ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Ports" /v \\MyPrintserver\2F26P-BW /t REG_SZ /f

net start spooler

rundll32 printui.dll PrintUIEntry /if /b "2F26P-CLR" /r "\\MyPrintserver\2F26P-CLR" /m "HP LaserJet P3011/P3015 PCL6"

rundll32 printui.dll PrintUIEntry /if /b "2F26P-BW" /r "\\MyPrintserver\2F26P-BW" /m "HP LaserJet P3011/P3015 PCL6"

rundll32 printui.dll PrintUIEntry /y /n "2F26P-BW"


Posted Image

Everything is working great, except for the 2F26-BW queue, the driver is defaulting to color, I would like it to be grayscale. I need to do this via command line because I have a lot of stations to run this script on.

This post has been edited by clivebuckwheat: 14 August 2012 - 06:38 PM



#2 User is online   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 8,669
  • Joined: 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Posted 15 August 2012 - 08:31 AM

There are 2 things I can think of. First is to monitor the registry for the changes made when you select the grayscale box. Then export those keys and import the .reg into another PC to see if it changes it. As read about here.

The other thing is to use wmic to change the color setting.
See Win32_PrinterConfiguration's Color object.
This is example code, since I don't actually have your printer. I can't test it exactly myself since I do not have a color printer.

wmic printerconfiguration where "name='HP Color LaserJet CP 3525'" set Color=1


Now the value of "name" should match the name it has in Printers and Devices, otherwise you'll have to check the WMI yourself to see what name it actually has if that doesn't work.

#3 User is offline   clivebuckwheat 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 562
  • Joined: 07-November 05

Posted 15 August 2012 - 01:38 PM

sorry but how do I check the wmi?. Never did that before.

#4 User is online   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 8,669
  • Joined: 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Posted 16 August 2012 - 08:31 AM

This thread here has some programs that can do it.
http://www.msfn.org/...s-on-windows-8/

I link to it only because the Microsoft tool doesn't work in all situations.

#5 User is offline   clivebuckwheat 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 562
  • Joined: 07-November 05

Posted 16 August 2012 - 09:41 AM

Thank you Tripredacus.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy