On Nov 04 06:29:08, Abel Abraham Camarillo Ojeda wrote: > On Thu, Nov 4, 2010 at 2:06 AM, Jan Stary <[email protected]> wrote: > > On Nov 03 21:59:49, Abel Abraham Camarillo Ojeda wrote: > >> I'm unsuccesfully trying to make this HP printer... to print... (this > >> is a new printer > >> I have already printed with windows XP, and on this OpenBSD box using > >> foo2zjs > >> instead of hpijs, but it only works via usb, not network...): > > > > So why don't you continue printing with foo2zjs? > > > > foo2zjs works awesome with usb, but doesn't work with network (or I > don't know how > to configure it exactly,
You are not even trying to print over the network; you are using ":lp=/dev/ugen0.01:" as your device. > I'm going to put a sniffer on a windows > machine when it's printing today and try to see what magic it does), If you find yourself in the need to "sniff" some traffic to decipher some "magic" your printer is doing, then you are doing something wrong. > anyway I bought this printer > _just_ for the > network printing (and the nasty HPlip page lied to me...). What HPlip page? The specification www.shopping.hp.com/shopping/pdf/ce749a.pdf says "host-based printing, HP PCL 5e" - read: you will need to attach this to a computer that will talk to me in PCL (not postscript, no). > :lp=/dev/ugen0.01:\ > :sd=/var/spool/output:\ > :lf=/var/log/lpd-errs:\ > :if=/usr/local/bin/foomatic-rip:\ > :af=/etc/foomatic/hp-laserjet_professional_p1606dn-foo2zjs.ppd:\ > :rp=raw:\ > :sh: > With that I got pretty printing... (only with usb). If you can get this to print locally, why don't you just let your lpd listen to clients on your network? > lp|Hp LaserJet p1606dn:\ > :lp=:\ > :sd=/var/spool/output:\ > :lf=/var/log/lpd-errs:\ > :if=/usr/local/bin/foomatic-rip:\ > :af=/etc/foomatic/hp-laserjet_professional_p1606dn-foo2zjs.ppd:\ > :rm=172.16.0.15:\ > :rp=raw:\ > :sh: > > With that I only got the plain text of a *.ps file out of the printer: > > %!PS-Adobe-3.0 > % Produced by xpdf/pdftops 3.02 > > %% Creator: GPL Ghostscript... > > (with the same identation). > > The printing command is: > > $ lpr ~/xypic.ps; > > (Or any other *.ps file). This printer cannot speak postscript.
