Справочник Пользователя для Printronix P5000LJ
FTP Printing
201
5.
Start the printer daemon for this new printer.
Example:
lpc start 1000Q
You now have a new printer which relies on LPR/LPD to print to a NIC.
Use the following command to test printing:
Use the following command to test printing:
Syntax:
lpr -printername filename
Example:
lpr -1000Q /etc/hosts
FTP Printing
NIC contains four logical printers (destinations) labeled as d1prn through
d4prn. For FTP printing, establish an FTP session, followed by a
d4prn. For FTP printing, establish an FTP session, followed by a
put
to the
dest
. Since the printer emulation can be PCL
-II, Epson
, or Proprinter
, be
sure the file you
put
to print is both printable and suitable for the printer
emulation. Straight text is usable in all cases.
Example:
Type the commands as shown, followed by the enter key. Assume the file you
want to print is
want to print is
/etc/inetd.conf
, which is a simple text file.
ftp MyP5000LJ
(
MyP5000LJ
needs to be a ping-able DNS name, or if no
DNS, in the local
/etc/hosts
file, or it can be a dotted IP Address for the
NIC)
at the user prompt, type
at the user prompt, type
root
at the password prompt, press ENTER (default password for
root
is blank
until you change it)
cd dest/d1prn
put /etc/inetd.conf
quit
put /etc/inetd.conf
quit
Remote Shell Printing
The NIC is BSD capable, and has an internal lp daemon. Each Unix system
has a remote shell function which can be used to access this process: Sun,
etc. is
has a remote shell function which can be used to access this process: Sun,
etc. is
rsh
; UX is
remsh
; AIX is
rcmd
.
For example, printing the file
/etc/inetd.conf
on an HP-UX system to
the second logical
dest
in the NIC:
remsh MyP5000LJ lp -d d2prn < /etc/indetd.conf
You may also use this form:
cat /etc/inetd.conf | remsh MyP5000LJ lp -d d2prn
In this form of printing the printer status will be fed back as to on/off line.
Note
If the file you want to print is a binary file, enter the command
bin
before
the
put
command.