|
| |||||||||
| Tags: bat, command line, driver, lpr, lpr printer, printer |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Installing a LPR printer from the command line via .bat
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! |
|
#2
| ||||
| ||||
| Re: Installing a LPR printer from the command line via .bat
Just have a look at the following threads and you may get some solution on installing a LPR printer from the command line via .bat: |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Installing a LPR printer from the command line via .bat" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| xcopy command line together with wmplayer command line | Aislinn | Operating Systems | 5 | 31-03-2010 01:13 PM |
| PROBLEM: COMMAND LINE OPTION SYNTAX ERROR. TYPE COMMAND /? FOR HEL | FORTHELOVEOFGODPLEASEHELPME | MediaCenter | 3 | 03-09-2009 06:41 PM |
| Command Line Ren (Rename) command broken? | SixSigmaGuy | Vista Help | 2 | 18-05-2008 04:30 PM |
| Add a File Printer port from Command Line | mandalorian2 | Software Development | 0 | 29-04-2008 09:52 PM |
| autorun.inf - shell\..\command with command line parameter doesn'twork | kakii | Windows XP Support | 1 | 18-05-2007 02:24 AM |