Date: Mon, 26 Nov 2007 01:03:49 -0700 From: Predrag Punosevac <punosevac@math.arizona.edu> To: "Aryeh M. Friedman" <aryeh.friedman@gmail.com> Cc: questions@freebsd.org, Erin McNew <tuxgirl@gmail.com> Subject: Re: HP Deskjet 9800 with hpijs driver Message-ID: <474A7DE5.7010405@math.arizona.edu> In-Reply-To: <474A6DBB.6020705@gmail.com> References: <6e4453640711252223l1a7fd69cna36851f6746e9fa7@mail.gmail.com> <474A6DBB.6020705@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Aryeh M. Friedman wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Erin McNew wrote: > >> I've been trying to get my photo printer working recently, and seem to have >> run into a bit of a snag. I just tried to print out a picture as a test, >> and instead of a picture, I got: PCL commands across the top of one page of >> photo paper, and the printer spewed the rest of my paper out empty (taught >> me an important lesson about testing without having large quantities of >> photo paper in the printer...) >> Anyway, I was looking on google, and I don't seem to see other people >> > having > >> this problem, but I'm not sure what I could've done wrong. I'm using the >> hpijs driver, which is supposed to work perfectly under linux, and works >> perfectly for my other hp printer. Is this printer just not supported by >> FreeBSD? I couldn't find anything that stated directly either way in my >> quick googling, so I was hoping somebody here might have some ideas for >> things to check, etc. >> > > My 6980 has the same problem with hpijs and hplip... try cups (it > should autodetect) > > > Printing under Linux and FreeBSD are for all practical purposes identical. If it works under Linux is should work under FreeBSD. Which printer spooler are you using LPD, LPRng, CUPS, HPLIP/CUPS or PDQ? I personally like to use native LPD spooler. Since your printer is supported by hpijs the driver is included in apsfilter (or apsfilter will install hpijs port by default) which you compile form ports /usr/ports/print/apsfilter lpd_enable="YES" in /etc/rc.conf file Alter the permission so that the daemon can access the printer as /etc/devfs.conf perm lpt0 0666 #for parallel port printer perm ulpt0 0666 #for USB printer Then cd /usr/local/share/apsfilter and run the script ./SETUP The rest is self-explanatory. If you get a message about your version of ghostscript just ignore. You probably have much newer version of Ghostscript than apsfilter expect to find. The apsfilter is more than a filter. It will help you edit your printcup file, it will convert files to ps and finally it will let you choose the drivers . The only drivers which from the apsfilter list are gutenprint drivers. If you need them make sure your compile gutenprint with the tag without CUPS. || If you need more complicated printer policies you probably want to use LPRng or CUPS. This is the link to beautiful HPLIP how to http://dsteinbrook.googlepages.com/hpliponfreebsd Make sure you read the thing about the kernel. Bare in mind couple of thins. HPLIP does not support parallel port printers! Whatever they say on HPLIP forum is lie. They do not despite the fact that hpijs did. They support parallel port printers which are free standing printer servers via the web not by attaching them directly. The proper way to enable HPLIP is to start HPLIP daemons first and than CUPS daemon by let say editing /etc/rc.conf file and rebooting. The proper way to add the printer to HPLIP is to use CUPS http://localhost:631 and add the printer and then use HPLIP-toolbox and other goodies. HPLIP will just unlock full functionality of your printer. (Toner status, all in one devices etc) Do not forget to put lpd_enable="NO" in /etc/rc.conf and hide native lp,lps,lpr,lpq commands so that you can use the same CUPS commands. If you need PPD file for your printer you can download from http://www.linux-foundation.org/en/OpenPrinting but you can also generate your own using foomantic-rip. I gave you sort of general how to. If you have more specific questions and can generate some log files that would help a lot. Cheers, Predrag > - -- > Aryeh M. Friedman > Developer, not business, friendly > http://www.flosoft-systems.com > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.4 (FreeBSD) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFHSm26J9+1V27SttsRAmvKAKCNmRnACVy4blTZ/VfTDCKHLa2tKQCfdhZD > yn4yMOzU/5U4K65hG2Kljxg= > =K2OD > -----END PGP SIGNATURE----- > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?474A7DE5.7010405>