Re: Parallel port printing on 5.1
From: Poul-Henning Kamp (phk_at_phk.freebsd.dk)
Date: 02/12/04
- Previous message: Poul-Henning Kamp: "Re: dev/random duplicate call to destroy_dev"
- In reply to: Chris: "Parallel port printing on 5.1"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: Chris <chris@tellme3times.com> Date: Thu, 12 Feb 2004 21:54:40 +0100
I'm using this with my printers on 5.2:
ink|hp1220|hp1220c:\
:mx#0:\
:sh:sf:\
:if=/usr/local/libexec/hp1220:\
:lp=/dev/ulpt0:sd=/var/spool/output/ink:lf=/var/log/lpd-errs:
/usr/local/libexec/hp1220:
/usr/local/bin/gs -dSAFER -dNOPAUSE \
-q \
-sDEVICE=ijs \
-sIjsServer=/usr/local/bin/hpijs \
-dIjsUseOutputFD \
-sDeviceModel="DESKJET 1220" \
-dPrintmode=1 \
-sPAPERSIZE=a4 \
-r300 \
-sOutputFile=- - | dd obs=8k && exit 0
The dd(1) trick used to make things go a lot faster on USB, I don't know
if it is still necessary.
-- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
- Previous message: Poul-Henning Kamp: "Re: dev/random duplicate call to destroy_dev"
- In reply to: Chris: "Parallel port printing on 5.1"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|