Re: Parallel port printing on 5.1

From: Poul-Henning Kamp (phk_at_phk.freebsd.dk)
Date: 02/12/04

  • Next message: Quincey Koziol: "GENERIC options?"
    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"
    

  • Next message: Quincey Koziol: "GENERIC options?"

    Relevant Pages

    • Re: USB ports not working!
      ... USB ports stop working... ... or usb webcams, or printers, or any other manner of usb device, etc. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)
    • Re: Airport cards for G3 iMac - is someone joking on price?
      ... expensive parallel only laser printers and big industrial laser ... having a simple parallel interface. ... USB to serial adaptor, though. ... modern Windows box that didn't come with parallel as standard. ...
      (uk.comp.sys.mac)
    • What really causes "Unidentified USB Device" error
      ... Advantech PCM5820 Geode x86 processor) with a USB port, ... that serial printers were going out and USB printers would be the ... Device ID string" fetched from some devices by usbprn::GetDeviceID did not ... But needing a special driver for each type of USB printer someone might plug ...
      (microsoft.public.windowsce.platbuilder)
    • Re: Apple announcements today
      ... engines and reading about USB, USB printers etc and cannot find a single ... USB connectivity... ... to the release of the iMac. ...
      (rec.arts.movies.production.sound)
    • Re: Dell PC and Canon printer
      ... I mean it's running Windows XP like 95% of all ... >the PC's on the market and it has a mobo with USB port. ... >That said I have setup and used a lot of Canon printers and Dell machines ... to plug the USB cord in. ...
      (comp.periphs.printers)