A SERVICE OF

logo

FTP Printing
179
FTP Printing
The LineJet Print Server contains four logical printers (destinations) labeled
as d1prn through 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
/etc/inetd.conf
, which is a simple text file.
ftp
MyLineJet
(
MyLineJet
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
LineJet Print Server)
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
Remote Shell Printing
The LineJet Print Server 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
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 LineJet Print Server:
remsh
MyLineJet
lp -d d2prn < /etc/indetd.conf
You may also use this form:
cat /etc/inetd.conf | remsh
MyLineJet
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.