## The Super Quick Guide to LPRng Printcaps
##  Patrick Powell <papowell@lprng.com>
##     Thu Nov 15 13:31:08 PST 2001
#
# LPD print queue configuration - Default options
#    The printcap entry below sets defaults.  Add default options
#    or other entries here
#
.common:
   :sd=/var/spool/lpd/%P
   :sh:mx=0:mc=0
#
#   [Translation:
#   .common - the period (.) causes LPRng to treat this as a 'information
#      only entry.  This idea was stolen^H^H^H^H^H^H borrowed from the Unix
#      'hidden' file convention, i.e. file names starting with a period
#      are not displayed by 'ls' or matched by '*'
#   :sd=/var/spool/lpd/%P
#      Spool queue directory for temporary storage of print jobs.  The
#      %P will be expanded with the print queue name.  Each print queue
#      MUST have a different spool queue directory,  and by using %P
#      this is guaranteed.
#   :sh  - suppress banners or header pages
#   :mx=0 - maximum job size in K bytes (0 is unlimited)
#   :mc=0 - maximum number of copies (0 is unlimited)
#   ]
#
# LPD print queue definitions: Define print queues
#
# Printer on Parallel Port (i.e. - /dev/lpt0)
#lp:lp=DEVICE:tc=.common
#    Example:
#     lp:tc=.common:lp=/dev/lpt0
#     [Translation:
#      lp - name of the print queue
#      :tc=.common - include the options in the .common printcap entry
#        the 'tc' options will be put at the START of the printcap entry
#      :lp=/dev/lpt0  - open and write the print job to /dev/lpt0
#     ]
#
# Printer on Serial Port (i.e. - /dev/tty00)
#       Use the :stty to set the speed, bits, and parity using 'stty(1)'
#       options.  Note: almost all printers use 8 bits, no parity.
#lp:tc=.common:lp=DEVICE:stty=STTY OPTIONS
#    Example:
#     lp:tc=.common:lp=/dev/tty0:stty=19200 raw crtscts
#     [Translation:  lp, :tc, :lp as for A) above.
#      :stty= options used to configure serial port
#     ]
#
# Printer on Network Print Server (i.e. - HP JetDirect)
#    connecting via a TCP/IP socket. IPADDR is IP address or Fully Qualified
#    Domain Name of the print server, PORT is the TCP/IP port.
#
#    HP JetDirect uses port 9100 by default.
#
#    Warning: check the Network Print Server documentation for correct
#    port number.  Most non-HP Network Print Servers and non-HP printers
#    do not use port 9100.
#
#lp:tc=.common:lp=IPADDR%PORT
#    Example:
#    lp:tc=.common:lp=10.0.0.2%9100
#     [Translation:  lp, :tc, as for A) above.
#      lp=10.0.0.2%9100 - open a connection to 10.0.0.2, port 9100
#       and write the print job to this port.
#     ]
#
# D) printer on Network Print Server (i.e. - HP JetDirect or LPD server)
#    connecting via the LPD print protocol.  QUEUE is the name of the
#    print queue and IPADDR is the IP address or Fully Qualified Domain
#    Name of the print server.
#
#    Warning: check the Network Print Server documentation for correct
#    QUEUE name.  The 'lp' queue is used on the HP JetDirect as the
#    default print queue.  If there are multiple printer ports on the
#    device then the QUEUE name is used to select the port.
#
#    Warning: Using this protocol with JetDirect units will almost always
#    cause a 'banner page' to be generated by the JetDirect unit.
#    Check the HP documentation on how to disable this most annoying feature.
#    Usually you simply telnet to the JetDirect and then use the
#    simple configuration menu presented when you first make connection.
#
#lp:tc=.common:lp=QUEUE@IPADDR
#
#    Example:
#    lp:tc=.common:lp=lp@10.0.0.2
#     [Translation:  lp, :tc, as for A) above.
#      lp=lp@1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     