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

Re: lp not printing



On Fri, Jun 11, 1999 at 11:06:46PM -0500, fairfax@pclink.com wrote:
> 
> The filters I created are in /usr/local/bin which is owned by root:staff, they are set to mode 755, and they are owned by root:root (I also tried setting them to root:lp).  The printcap entry for the printer is (this is as created by Magicfilter, except that I changed the filter file used):
> 
> lp|hpdj722|HP Deskjet 722c:\
>         :lp=/dev/lp1:sd=/var/spool/lpd/hpdj722:\
>         :pw#80:pl#66:px#1440:mx#0:\
>         :if=/usr/local/bin/ps.if:\
>         :af=/var/log/lp-acct:lf=/var/log/lp-errs:
> 
> I am not able to print without a filter, as the printer is an HP 722c, and requires a special program (pbm2ppa) to create the output the printer understands.
> 
> Can anyone tell me what is going wrong here?
> 
> Steve Martin
> 

Steve,

I don't know if this will help, but...

I'm using a 720C (but don't have magicfilter installed) with the following
printcap file:


# /etc/printcap: printer capability database. See printcap(5).
# You can use the filter entries df, tf, cf, gf etc. for
# your own filters. See /etc/filter.ps, /etc/filter.pcl and
# the printcap(5) manual page for further details.
#
# added following sections for hp deskjet 720 using pbm2ppa driver
#
# real print queue is ps
# lp and p2 print queues are for converting text to ps before
# sending them on to the ps queue
lp|Convert ASCII files to ps one per page portrait resend to ps:\
	:lp=/dev/null:\
	:sd=/var/spool/lpd/lp:\
	:lf=/var/log/lp-errs:\
	:af=/var/log/lp-acct:\
	:if=/usr/local/bin/ascii.if:\
	:la:\
	:mx#0:\
	:sh:\
	:sf
p2|Convert ASCII files to ps two per page landscape resend to ps:\
	:lp=/dev/null:\
	:sd=/var/spool/lpd/lp2:\
	:lf=/var/log/lp-errs:\
	:af=/var/log/lp-acct:\
	:if=/usr/local/bin/ascii2.if:\
	:la:\
	:mx#0:\
	:sh:\
	:sf
ps|Print Postscript files using pbm2ppa driver for HP720c:\
	:lp=/dev/lp0:\
	:sd=/var/spool/lpd/ps:\
	:lf=/var/log/lp-errs:\
	:af=/var/log/lp-acct:\
	:if=/usr/local/bin/ps.if:\
	:la:\
	:mx#0:\
	:sh:\
	:sf


This seems to work fine for me.  If needed, I can post the print filters
as well.

HTH,
Mike



-- 
Michael Merten        ironfoot@popaccount.com         NRA Life Member
---------------------------------------------------------------------
"[W]hen the resolution of enslaving America was formed in Great
Britain, the British Parliament was advised by an artful man, who was
governor of Pennsylvania, to disarm the people; that it was the best
and most effectual way to enslave them; but that they should not do
it openly, but weaken them, and let them sink gradually." ... I ask,
who are the militia? They consist now of the whole people, except a
few public officers." -- George Mason -- Virginia's U.S. Constitution
ratification convention, 1788
[NRA-ILA (www.nraila.org)]
---------------------------------------------------------------------
This signature was automatically generated with Signify v1.05.
For this and other cool products, check out http://www.debian.org/.


Reply to: