AlterPath ACS Command Reference Guide
339
Additional Features and Applications
9.3 Line Printer Daemon
This feature implements the Unix Line Printer Daemon (LPD) in the ACS and can be
used with local serial printers. It enables the ACS to receive network print requests and
service them using locally attached Serial printers.
To configure the lpd you need to follow these steps:
Step 1 - Setup the serial port where the serial printer is connected.
Edit the /etc/portslave/pslave.conf file (PortSlave configuration) and set the
protocol of the serial port as "lpd".
Example:
s2.protocol lpd
Step 2 - Create the printer definition.
Edit the
/etc/printcap
file and configure the printer. The spool directory is created
automatically by
cy_ras
process. Example:
Step 3 - Enable the printer daemon.
Edit the file
/etc/lpd.sh
and change the option ENABLE to YES
Step 4 - Allow clients to use the service.
#comment
# primary printer name and alias
#
lp |lp2| serial printer on port ttyS2
#suppress header and/or banner page
#
:sh:
#spool directory - the name is fixed as lp_ttySnn when nn is the
#serial port number
#
:sd=/var/spool/lpd/lp_ttyS2:
#printer device
#
:lp=/dev/ttyS2:
#log filename
#
:lf=/var/log/lpd.log:
#set serial port speed as 115.200 bps
#
:br115200:
lp|lp2| serial printer on port ttyS2:\
:sh: \
:sd=/var/spool/lpd/lp_ttyS2: \
:lp=/dev/ttyS2: \
:lf=/var/log/lpd.log:
File Description 9.7: /etc/printcap file
Summary of Contents for AlterPath ACS
Page 16: ...xvi Table of Contents...
Page 29: ...13 This page has been left intentionally blank...
Page 30: ...14 Preface...
Page 68: ...52 Device Access...
Page 86: ...70 Authentication Step 5 Saving changes To save the configuration run the command saveconf...
Page 96: ...80 Authentication Save the configuration to flash 2 cli config savetoflash...
Page 114: ...98 Authentication...
Page 204: ...188 Administration To exit the CLI mode and return to ACS s shell issue the command cli quit...
Page 268: ...252 Power Management with AlterPath PM Integration...
Page 304: ...288 PCMCIA Cards Integration...
Page 338: ...322 Profile Configuration...
Page 364: ...348 Additional Features and Applications...
Page 376: ...360 Appendix A New User Background Information...
Page 406: ...390 Appendix C Cabling and Hardware Information This page has been left intentionally blank...
Page 418: ...402 List of Tables...
Page 420: ...404 List of Figures...