Microsoft
Software
Hardware
Network
Question : Printing to IP address from Command Prompt
Hello,
Got the following situation here:
print labels via batch files using the command copy file.txt \\server\share command. have recently done away with server based printing and everything is printing directly IP. Can anyone think of a way to print to an IP printer using the command prompt? Right now bringing a server back in production to duplicate the original printing environment but want other options.
Thx!
Answer : Printing to IP address from Command Prompt
Yes LPR is the utility you need to use.
http://www.microsoft.com/r
esources/d
ocumentati
on/windows
/xp/
all/pr
oddocs/en-
us/lpr.msp
x
Your printer has to be running an LPD daemon, most of the printers these days do...
Example to use:
lpr -S 192.168.1.194 -P Xerox c:\boot.ini
This will send a standard text file such as the boot.ini to the ip address 192.168.1.194 printer, I have just given it the name Xerox, this is required.
If you require to send to binary or postscript job you have to tell the printer how to spool the RAW job. You would use the following:
lpr -S 192.168.1.194 -P Xerox -o | c:\boot.ini
Random Solutions
lmhost in NT4 an W2K...
Linksys WAP54G SSID issue
Unable to ping by name
Building a new dns box
DNS recursive test query failed
New Mail Server Config - Linux, Sendmail, SpamAssasin, MailScanner => exchange
AD Domains and Trusts
Multiple parking lots in Trixbox.
Monitoring and limiting internet use