On Wednesday 03 November 2004 21:00, CW Harris wrote: > Rather than ignore it, I think it is better to link /etc/printcap to > the CUPS printcap file (/etc/printcap.cups by default IIRC), then > applications that try to use /etc/printcap will be using the correct > one.
Interesting point, although I now don't think anything (in my setup) really uses /etc/printcap. The file you mean is located in /var/run/cups/printcap on my system but is a lot shorter than magicfilterconfig's /etc/printcap. $ cat /var/run/cups/printcap # This file was automatically generated by cupsd(8) from the # /etc/cups/printers.conf file. All changes to this file # will be lost. PodLaser|Brother HL1450:rm=garcia:rp=PodLaser: PodLaserPS|PodLaserPS:rm=garcia:rp=PodLaserPS: $ cat /etc/cups/printers.conf # Printer configuration file for CUPS v1.1.21rc1 # Written by cupsd on Wed 03 Nov 2004 17:46:46 GMT <DefaultPrinter PodLaser> Info Brother HL1450 Location corner DeviceURI parallel:/dev/lp0 State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 </Printer> <Printer PodLaserPS> Info same but with postscript driver Location same but with postscript driver DeviceURI parallel:/dev/lp0 State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 </Printer> $ cat /etc/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 # # This file was generated by /usr/sbin/magicfilterconfig. # lp|PodLaser|PodLaser:\ :lp=/dev/lp0:sd=/var/spool/lpd/PodLaser:\ :sh:pw#80:pl#72:px#1440:mx#0:\ :if=/etc/magicfilter/hl1250-filter:\ :af=/var/log/lp-acct:lf=/var/log/lp-errs: PodLaserPS|postscript:\ :lp=/dev/lp0:sd=/var/spool/lpd/PodLaserPS:\ :sh:pw#80:pl#72:px#1440:mx#0:\ :if=/etc/magicfilter/ps600-filter:\ :af=/var/log/lp-acct:lf=/var/log/lp-errs: -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]