Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!yarrina.connect.com.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!gatech!newsfeed.internetmci.com!iol!gate.ohs.ie!usenet From: steveo@iol.ie (Steve O'Hara-Smith) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: HP Deskjet printer set-up Date: 14 Mar 1996 19:30:37 GMT Organization: Steve O'Hara-Smith Lines: 34 Sender: root@iol.ie (Steve O'Hara-Smith) Message-ID: <4i9s4t$10p@gate.ohs.ie> References: <826801806.7827@gate.norwich-union.com> NNTP-Posting-Host: dialup-129.dublin.iol.ie X-Newsreader: knews 0.9.5 In article <826801806.7827@gate.norwich-union.com>, m1026000@ writes: >Hi, > >I want to print web pages to a HP Deskjet color printer, i have been >to configure /etc/printcap to print text files but as yet NOT color graphics. > >Has anyone already done this or does any one have any hints as to how >to configure printers for anything other than plain text. > Sure I use an HP Deskjet 1200C on my FreeBSD box. What you need is ghostscript (in the packages collection) then you can treat your HP as a postscript printer for all practical purposes. For reference I'm including my printcap entry and the shell scrip that goes with it. Depending on which deskjet you have you may need to alter the -sDEVICE=pjxl300, and you may want to alter the -sPAPERSIZE=a4. --- Printcap --- # @(#)printcap 5.3 (Berkeley) 6/30/90 lp|Deskjet 1200C:\ :lp=/dev/lpt0:sd=/var/spool/lpd/colour:\ :lf=/var/log/lpd-errs:sh:mx#0:\ :if=/usr/local/bin/lpv_dj1200: ---/usr/local/bin/lpv_dj1200 #!/bin/sh TEMP=/usr/tmp/ export TEMP /usr/local/bin/gs -q -dNOPAUSE -sDEVICE=pjxl300 -sPAPERSIZE=a4 -dPrintQuality=1 "-sOutputFile=-" - ------------------------------------------------------------------------------- Steve O'Hara-Smith E-Mail: steveo@iol.ie