Could someone take a look at this (thanks for the link)http://members.shaw.ca/bsanders/NetPrinterAllUsers.htm and see if they can figure it out? not sure what I am doing wrong, put in the destination then print server\printer name.......I get an error that states "Unable to add the per machine printer connection" Or if I simply go this route "rundll32 printui.dll,PrintUIEntry /ga /in /c\\"destination"\ /n\"PrintServer"\PrinterName" Nothing happens? no error or anything?
@Echo off
REM this command file will add a network printer to a computer remotely
REM the parameters are:
REM 1 - the name of the computer to which the network printer is to be added
REM 2 - the UNC name of the printer to be added
REM for example, to add the printer called ThePrinter that is shared from the computer PrintServer
REM to the computer called TheClient:
REM key this command in a Command Prompt window:
REM addglobalprinterremotely theclient printserver\theprinter
REM add the specified printer to the specified computer
@Echo On
rundll32 printui.dll,PrintUIEntry /ga /c\\%1 /n\\%2
@Echo off
REM stop the print spooler on the specified computer and wait until the sc command finishes
@Echo On
start /wait sc \\%1 stop spooler
@Echo off
REM start the print spooler on the specified computer and wait until the sc command finishes
@Echo On
start /wait sc \\%1 start spooler