UNIX Configuration
14
1
Printing Methods
Printing with “lpr” and “lp”
Execute one of the following commands according to type of workstation used:
❖
❖❖
❖ BSD UNIX workstation, Linux
% lpr -Pprinter_name file_name [file_name...]
For example:
(printer name: “np”; file names: “file1” and “file2”)
% lpr -Pnp file1 file2
❖
❖❖
❖ Solaris, HP-UX
% lp -dprinter_name file_name [file_name...]
For example:
(printer name: “np”; file names: “file1” and “file2”)
% lp -dnp file1 file2
Note
❒ “printer_name” is the name entered when executing the installation shell
script.
❒ You can use wild cards (“*” or “?”) as the file name.
❒ The “print session full” appears when the maximum number of print re-
quests is reached (max. 5 sessions - Job Spool setting available). Try printing
again when the number of requests is less than five. You can check the
number of print requests using telnet. For more information about using tel-
net, see Network Guide.
❒ The number of print sessions does not change, even if you increase or reduce
the machine's total memory size.
Printing with “rsh”, “rcp”, and “ftp”
You can also print using the “rsh”, “rcp” and “ftp” commands.
Note
❒ Print using a format the printer supports.
❒ Try to print again when the number of requests is zero.
❒ The “print session full” appears when the maximum number of print re-
quests is reached.
❒ The maximum number of print sessions varies depending on the command.
When using the “rsh” or “rcp” command, the maximum number of print ses-
sions is five; when using the “ftp” command, the number is three.