From kde-print Mon Jun 17 12:19:43 2002 From: Michael Goffioul Date: Mon, 17 Jun 2002 12:19:43 +0000 To: kde-print Subject: Re: specifying printer instance on command line X-MARC-Message: https://marc.info/?l=kde-print&m=102431646910980 Albert Wagner wrote: > > A couple of questions remain: > > 1) In the cupsd.conf->ServerRoot is /usr/etc/cups. Why does Kprint use > /etc/cups rather than /usr/etc/cups? This caused me a lot of confusion until > I made /etc/cups a link to /usr/etc/cups. The path is currently hardcoded, so it has to be /etc/cups (which is the normal path if CUPS has been configured with the default options, that is "./configure" only). This is because I extended the concept of instances to other print system, which of course doesn't know about any ServerRoot option in any cupsd.conf file. However, to be compatible with CUPS, I still use /etc/cups. > 2) The Enscript filter still does not work. > > # Printer configuration file for CUPS v1.1.15 > # Written by cupsd on Fri Jun 14 01:53:45 2002 > > Info ESP HP DeskJet Series > DeviceURI parallel:/dev/lp0 > State Idle > Accepting Yes > JobSheets none none > QuotaPeriod 0 > PageLimit 0 > KLimit 0 > > > /usr/etc/cups/lpoptions: > Default espdeskjet page-bottom=72 page-left=72 page-right=72 page-top=72 > Dest espdeskjet/enscriptFilter _kde-enscript-header='$N|%W|Page $% of $=' > _kde-filters=enscript orientation-requested=4 page-bottom=72 page-left=72 > page-right=72 page-top=72 > > $ lpr -P espdeskjet/enscriptFilter /root/soundblaster.txt The filtering mechanism (like enscript) is for KDEPrint only, it's not part of CUPS. The filters are not used at all when using the command line tool "lpr". To use the filters, you need to use "kprinter" instead. You can use the "--nodialog" option if you don't want the print dialog to appear. Bye. Michael. -- ------------------------------------------------------------------ Michael Goffioul IMEC-DESICS-MIRA e-mail: goffioul@imec.be (Mixed-Signal and RF Applications) Tel: +32/16/28-8510 Kapeldreef, 75 Fax: +32/16/28-1515 3001 HEVERLEE, BELGIUM ------------------------------------------------------------------ _______________________________________________ kde-print mailing list kde-print@mail.kde.org http://mail.kde.org/mailman/listinfo/kde-print