[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Printing: use of lpf (filters) w/ Postscript printer?



I was having problems printing from my desktop -- Debian/Sid, lprng.
Playing with my /etc/printcap, I found that a vastly simplified setup
(no filters) appears to work, at least for postscript inputs, where the
lpf filtered version doesn't.

Printing under the printcap entry 'lp-old' below causes the job to just
hang in queue.  I'm not sure why.

The question remains, given that I've got an HPLJ4M, Postscript enabled,
does the filter actually buy me anything?  I can't pretend to understand
printing much, I generally futz with stuff until it works.  Clue
appreciated.

Printcap follows.  'lp' is the current (working) basic entry.  'lp-old'
is the old, nonfunctional, entry.

------------------------------------------------------------------------

    # /etc/printcap: printer capability database. See printcap(5).
    # You can use the filter entries df, tf, cf, gf etc. for
    # your own filters. See the printcap(5) manual page for further 
    # details.

    lp:\
	    :sh:\
	    :sd=/var/spool/lpd/lp:\
	    :rm=hplj4-1.introspect:\
	    :rp=raw:

    lp-old:\
	    :sd=/var/spool/lpd/lp-old:\
	    :mx#0:\
	    :sh:\
	    :rm=hplj4-1.introspect:\
	    :rp=lp1:\
	    :lpd_bounce=true:\
	    :if=/var/spool/lpd/lp/filter:\
	    :PAPERSIZE=letter:\
	    :DESIRED_TO=ps:\
	    :PRINTER_TYPE=REMOTE:\
	    :ASCII_TO_PS=YES:\
	    :GSDEVICE=POSTSCRIPT:\
	    :RESOLUTION=600x600:\
	    :PS_SEND_EOF=YES:\
	    :NUP=1:\
	    :RTLFTMAR=18:\
	    :TOPBOTMAR=18:\
	    :CRLFTRANS=1:\
	    :TEXT_SEND_EOF=NO:

------------------------------------------------------------------------

-- 
Karsten M. Self <kmself@ix.netcom.com>       http://kmself.home.netcom.com/
 What part of "Gestalt" don't you understand?             Home of the brave
  http://gestalt-system.sourceforge.net/                   Land of the free
   Free Dmitry! Boycott Adobe! Repeal the DMCA! http://www.freesklyarov.org
Geek for Hire                     http://kmself.home.netcom.com/resume.html

Attachment: pgp8XLZwxyXi3.pgp
Description: PGP signature


Reply to: