Content:: Line Printer Daemon and Remote Protocols
Line Printer Daemon Protocol/Line Printer Remote ProtocolWindows XP/7 Command Line
Create a simple text file
# echo "Test Page" > print.txt
Send our newly created file to the printer with the following command
# lpr -S <IP Address> -P <LPD Queue> print.txt
Mac OS X
From Terminal we will create a simple text file
# echo "Test Page" > print.txt
Then we will send our newly created file to the printer with the following command
# lpr -H <IP Address> -P <LPD Queue> print.txt
Reference
http://www.rfc-editor.org/rfc/rfc1179.txt


