Quantcast
Channel: Print/Fax forum
Viewing all articles
Browse latest Browse all 1589

Use rundll32, PrintUI, PrintUIEntry to set a color printer to Black and White single page only mode (in login script)

$
0
0

I am working on creating a PrintUI Entry login script that will force a color printer's settings to use Black and White and also to print on a single-side of a page.

The scenario:  We have multiple locations where they are using various kinds of Toshiba e-Studio color printers for their network printers.  We are migrating all these locations to use a Terminal Server (2012R2 RDS) instead of having their own workgroups at each location. Sometimes users change their printer settings for a job, usually to color, double-sided.  I want to use a login script to force the printer to Black and White, single-page, printing on their default printer.  I am already using the following command to set the default for each location:

rundll32 printui.dll, PrintUIEntry /y /n "Clarkston - Downstairs - Toshiba Black and White"

I have noticed their are many key: options for the PrintUIEntry command.  Is there a way to use these key entries to force the printer to Black and White and single-page mode as part of the above login script?



Viewing all articles
Browse latest Browse all 1589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>