Print using lpr command from the command line, Print from win-os/2 using the lprmon command, Lpr -b -s -p Page 62: Lprmon -b -s -p lpt
Page 62: Lprmon -b -s -p lpt
Intermate100 and Intermate101 Print Server Administration Manual
62
OS/2 2.x and OS/2 Warp: LPR (ASCII data, e.g. PCL and Postscript)
6
An OS/2 printer device and queue is now created and the
print server is ready to receive print from any OS/2
application.
8.2.2.
Print using LPR command from the Command Line
When printing from the OS/2 command line the command LPR
can be used.
LPR -b -s
Example: Type the following line to print the file config.sys
from the command line, using the default pre-configured queue
name (PAR_B) from the print server.
LPR -b -s192.168.0.227 -ppar_b config.sys
8.2.3.
Print from WIN-OS/2 using the LPRMON command
The LPRMON command is used to monitor one of the parallel
ports LPT1 - LPT3 and to redirect print data from the parallel
port to the TCP/IP LPD port. If you want to print from WIN-
OS/2, and you do not have the DOS/Windows TCP/IP access
kit, you can use the LPRMON command.
LPRMON -b -s
Example: Type the following command to redirect the LPT3
port to the TCP/IP LPD port.
LPRMON -b -s192.168.0.227 -ppar_b LPT3
Element
Replace with
The IP address or the Host name of the print server.
above,
The name of the file to print.
Element
Replace with
The IP address or the Host name of the printer.
a queue name as defined in
Number of the parallel port to redirect.