A SERVICE OF

logo

Using the protocols
2-16 PagePrinter Network Adapter: Utilities & Environments
Using a Line Printer Remote (LPR) program
You may already use Line Printer Remote and Line Printer Daemon (LPR/
LPD) programs to send print jobs. The LPR program usually runs on the host
computer, sending print jobs and control files to the LPD program running on
the print server.
This TCP/IP adapter includes a line printer daemon, which prints previously
formatted data files, as received, and ignores the control file. You can use your
LPR/LPD program to send jobs to the adapter’s line printer daemon.
Using the LPR command
When you use the following options with your LPR command, be sure that:
server is the address (hostname) of this adapter.
queue name or remote queue name is the name of the queue that you set up
for this adapter. (Some LPR implementations refer to this as the printer
name.) See the table below for examples of suffixes you can append to the
queue name:
If your program allows you to send the job as a binary file (for
example, with a -b or -v flag), do so. We recommend that all print jobs
shall be sent as binary
. Sending binary jobs ensures that all code points are
interpreted clearly.
This adapter ignores control files sent to it. Therefore, options contained in the
control file do not work. For example, options such as
- those relating to the banner page,
- indentations in the print job, or
- mail sent after the job
do not work.
Note: A queue name may end with any character except “2“. If you used a
“2“ at the end of a queue name, your print jobs will not be printed. Under
Windows, you can avoid this error by doing one of the following.
(1) Set “_cr“ at the end of the queue name in Windows NT, or
(2) Select the Carriage Return and Linefeed insertion mode in “Set lpd
options“ when you go into the Main Menu of the Adapter under the
program Telnet.
By doing one of the two above mentioned, the Adapter will add the
Carriage Return and Linefeed codes automatically to your print job.
Example Function
printer_cr
Sends print jobs to the port, and causes the adapter to
add a carrier return (or line feed, if appropriate) at the
end of each line of text.
printer
Sends print jobs to the port.