# # Original File # ============= # http://www.linux-consulting.com/LPR/printcap # # # Copyright (c) 1983 Regents of the University of California. # All rights reserved. # # Redistribution and use in source and binary forms are permitted # provided that this notice is preserved and that due credit is given # to the University of California at Berkeley. The name of the University # may not be used to endorse or promote products derived from this # software without specific prior written permission. This software # is provided ``as is'' without express or implied warranty. # # @(#)etc.printcap 5.2 (Berkeley) 5/5/88 # # # # Printing Howto # ============== # http://Linux-Consulting.com/LPR # # # Devices # --------- # /dev/lp0 # /dev/usb/lp0 # # # To Reload Changes # ------------------ # /etc/rc.d/rc.lpd stop # /etc/rc.d/rc.lpd start # # # To print postscript files # ------------------------- # lpr /etc/printcap.count.ps # lpr /etc/printcap.tiger.ps # # # Ghostscript outputting to default printer ( -Plp ) # ------------ # cd /usr/share/ghostscript/5.50/examples # # gs -dNOPAUSE -sOutputFile=|lpr tiger.ps # gs -dNOPAUSE -sOutputFile=|lpr -Php940c tiger.ps # # # To print side-by-side # ---------------------- # a2ps -2 /etc/printcap ( with borders ) # enscript -2r /etc/printcap ( no borders ) # # # Permissions # -------------- # chown lp.lp /var/spool/lpd # chmod 700 /var/spool/lpd # # # Kernel Options # -------------- # CONFIG_PRINTER=m, CONFIG_PARPORT=m, CONFIG_PARPORT_PC=m # # # Modules ( lsmod ) # ------------- # insmod parport # insmod lp # insmod parport_pc # # # USB printers # ------------ # /etc/rc.d/rc.usb-lpr # # # # 31-Dec-02 amo Clean up file and added magic filter for Epson Stylus800 # 10-Jul-05 amo Added rc.usb-lpr # # # # # Default Local Epson Color800 printer ( -Plp ) # ------------------------------------ # - uses magicfilter # lp|Epson800:\ :lp=/dev/lp0:\ :sd=/var/spool/lpd:lp\ :pw:132:\ :fq:\ :sh:mx#0:\ :if=/usr/local/sbin/printers/stc800:\ :lf=/var/spool/lpd/lp/lp-log: # # # # # Remote Printer Server (LP_ServerIP) directly connected to Epson Color800 # ------------------------------------------------------------------------ # # lp|Epson800:\ # :sd=/var/spool/lpd/lp:\ # :rm=LP_ServerIP: # # # :rm=192.168.1.1: # # # End of file