Hi all,
Im In the process of writting a batch file to install a networked LPR printer on on XP/Vista/7 x86 and x64 computers and Ive hit a bit of a snag.
here is what I have
@echo off
start /w ocsetup.exe Printing-Foundation-LPRPortMonitor /passive /norestart
start /w ocsetup.exe Printing-Foundation-LPDPrintService /passive /norestart
rundll32.exe printui.dllPrintUIEntry /if /o "lpr" /m"Canon iR-ADV C5035/5051 PS3" /b "JMLS Printer" /h "x86" /f "CNS3OU.INF" /r "IP_10.128.0.16" /q "jmlshold"
the first two commands execute perfectly, however I on the last command that actually installs the LPR port I either get a "Operation could not be completed, Double check that the printer is connected to the network" or "Port does not exist"
if anyone he done anything like this and could help I would greatly appreciate it
Thanks!
Bookmarks