Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Apr 2001 13:50:00 +0200
From:      "Robert T.G. Tan" <rotan@cs.pdx.edu>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: apsfilter.printing
Message-ID:  <20010428135000.A15584@cs.pdx.edu>
In-Reply-To: <01042814241001.00642@tw.oden.se>; from tw@ettnet.se on Sat, Apr 28, 2001 at 02:12:38PM %2B0200
References:  <01042814241001.00642@tw.oden.se>

next in thread | previous in thread | raw e-mail | index | archive | help
Not sure about apsfilter stuff, but the following script
works for me, on a HP Deskjet 880C, to get rid of the staircase
effect:

 #!/bin/sh
 printf "\033&k2G" && cat  && printf "\033&l0H" && exit 0
 exit 2

Refer to this in /etc/printcap, where the above script is in
/usr/local/libexec/lpfilter:

lp|local line printer:\
	:sh:\
	:lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:\
	:if=/usr/local/libexec/lpfilter:

rotan.


Thomas Widlundh(tw@ettnet.se)@2001.04.28 14:12:38 +0000:
> Hi,
> I'm setting up a fBSD system, and I've managed to make the printer to
> print with lpr xxx.txt, with the staircase effect, though.
> I have fBSD 4-1. A HP Laserjet 4L.
> Then I installed gs 6.01, apsfilter 5.4.2.
> After configuration of the apsfilter, it prints but....
> It takes quite a while before the printing is executed.
> The staircase effect is still there.
> The printers memory is receiving the doc, but it seems that an EOF or
> someting is missing, so the printer never starts to execute the
> printing, the LED is just blinking, so I have to start printing
> manually on the printer.
> More....
> The doc is in a4, but it seems that everything is 4 times too big, that
> is, only a 4th of the doc on each paper, and with gigant letters.
> 
> The lpq, and so on, are working, but I can't remove anything in the
> queue with lprm, neither as user or root. I have to erase the queue
> manually in the spool.
> 
> What am I doing wrong here? Any tips?
> Regards,
> Thomas
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010428135000.A15584>