HP (Hewlett-Packard) M208 Switch User Manual


 
CONFIGURING THE M208 FOR TCP/IP: Host Configuration 47
BSD UNIX
BSD systems allow you to print remotely or to print with an interface file for a locally
attached printer. This is configured within the /etc/printcap database.
lpd Remote Printing
The lpd daemon spools files locally, then sends them to an M208 acting as a remote
printer. As interface scripts cannot be used with this spooling method, processing must
be done by the Print Server.
This method should be used in the following conditions:
your UNIX host supports BSD 4.3 LPD protocol,
no bi-directional communication is required between the printer and printing
application,
you want to avoid using special host software.
In BSD printing, two files are sent to the Print Server, a data file and a control file. The
control file contains information about originating user and host. However, since the
control file may not arrive before the data file in the current LPD standards, fully
detailed banner pages cannot be guaranteed.
Setting up lpd Remote
To manually add an M208 printer as a remote printer entry on your BSD UNIX host,
you need to add an entry to the /etc/printcap file and then create its associated files
and directories.
Here is an example of what the printcap entry should look like followed by a descrip-
tion of the commands necessary to create these entries:
ps|PostScript printer on spike’s com2 port:\
:lp=:\
:rp=d3com2:\
:rm=spike:\
:sd=/usr/spool/lpd/spike/ps:\
:lf=/usr/spool/lpd/spike/ps/log:\
:af=/usr/spool/lpd/spike/ps/acct:
where ps is the printer name sending jobs to the destination d3com2 on the M208
named spike.
Examp
l
e