HSCprintersetup.bat: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
Created page with "The batch file HSCprintersetup.bat can be used to set up a printer for all users on a laptop. It is located in RegionalServer\Maintenance Fundamentally, it uses the c..."
 
m Text replacement - "[[Category: " to "[[Category:"
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
The batch file HSCprintersetup.bat can be used to set up a [[printer]] for all users on a laptop. It is located in [[RegionalServer]]\Maintenance
The batch file HSCprintersetup.bat can be used to set up a [[printer]] for all users on a laptop. It is located in [[Regional Server]]\Maintenance


Fundamentally, it uses the command  
Fundamentally, it uses the command  
  rundll32 printui.dll PrintUIEntry /ga /n\\%Server%\%Printer%
  rundll32 printui.dll PrintUIEntry /ga /n\\%Server%\%Printer%
Could probably be modified to work for other locations, or even to be specific to our program and hard code printers.
[[Category:IT Instructions]]
[[Category:Batch Files]]

Latest revision as of 11:34, 30 July 2025

The batch file HSCprintersetup.bat can be used to set up a printer for all users on a laptop. It is located in Regional Server\Maintenance

Fundamentally, it uses the command

rundll32 printui.dll PrintUIEntry /ga /n\\%Server%\%Printer%

Could probably be modified to work for other locations, or even to be specific to our program and hard code printers.