I'm having a hard time getting my HP usb Office Jet to print under CUPS. I'm running 8.1 Prof. I'm using the HP docs found in /usr/share/doc/packages. I get to the point where I can talk to the set the time, etc. I put lines in my /etc/init.d/cups script to load /usr/sbin/ptal-init before CUPS. At this point I should see the spooler, /usr/sbin/ptal-cups as one of the printer options, or else give me another way to write to the spooler. When I use usb1 as the destination, the job disappears, which I already know about and expect. Does anyone know how to make this work? -- "MacDonald has the gift on compressing the largest amount of words into the smallest amount of thoughts." -- Winston Churchill
Have u look to see if the usb modules a loaded u need at least usbcore, usb-uhci (or uhci) and the printer modules. Also when u ran the ptal-init setup it did detect the printer on the usb port. Oh one more thing there is apparently a bug in cups 1.1.16 that won't allow the ptal to work properly in cups u need either cups 1.1.15 or the CVS of the upcoming 1.1.17. Tim Hanson wrote:
That's what I thought, but when it gets to the devices, the ptal device isn't on the list. I even tried manually stopping cups, restarting ptal-init, then starting cups, all from the command line, but still no listing. It shows a JetDirect, an Apple, a couple of lpr / lpd choices, then all the parallel printers, all the usb printers, and finally a couple of Samba/Windows drivers. I found a configuration file in /etc/cups, but I don't know what to put there.
Kin Ho Cheung wrote:
I'm not running 8.1 so I'm not exactly sure but once u have confirmed that ptal and cups is up and running, u need to set the printer protocol to use the ptal not usb. just goto http://localhost:631/printers and click on the modify printer button then click continue until u get to device page and from the list of device select ptal. Also u must have runned "ptal-init setup" i think before ptal will show up as a device. Tim Hanson wrote:
I'm having a hard time getting my HP usb Office Jet to print under CUPS. I'm running 8.1 Prof.
I'm using the HP docs found in /usr/share/doc/packages. I get to the point where I can talk to the set the time, etc. I put lines in my /etc/init.d/cups script to load /usr/sbin/ptal-init before CUPS. At this point I should see the spooler, /usr/sbin/ptal-cups as one of the printer options, or else give me another way to write to the spooler. When I use usb1 as the destination, the job disappears, which I already know about and expect.
Does anyone know how to make this work?
I don't know about HP Officejet G85 don't like Suse, I have tested the printer on a Suse ver 7.3 pro, and the same result no print, even if i try to use lpr -Php -oraw "file" give any better result, so I am out of idea's Tage
All that worked. I've even got a script written which will keep the time on the printer up to date. I have the kde app for reading the display on my desktop. After fighting with it for SEVERAL more hours, I gave up, installed lprng, hooked up the parallel port, and now I'm printing. I wonder if I can get it to scan from the usb port while the printer port is attached. Don't see why not. Kin Ho Cheung wrote:
Have u look to see if the usb modules a loaded u need at least usbcore, usb-uhci (or uhci) and the printer modules. Also when u ran the ptal-init setup it did detect the printer on the usb port. Oh one more thing there is apparently a bug in cups 1.1.16 that won't allow the ptal to work properly in cups u need either cups 1.1.15 or the CVS of the upcoming 1.1.17. Tim Hanson wrote:
That's what I thought, but when it gets to the devices, the ptal device isn't on the list. I even tried manually stopping cups, restarting ptal-init, then starting cups, all from the command line, but still no listing. It shows a JetDirect, an Apple, a couple of lpr / lpd choices, then all the parallel printers, all the usb printers, and finally a couple of Samba/Windows drivers. I found a configuration file in /etc/cups, but I don't know what to put there.
Kin Ho Cheung wrote:
I'm not running 8.1 so I'm not exactly sure but once u have confirmed that ptal and cups is up and running, u need to set the printer protocol to use the ptal not usb. just goto http://localhost:631/printers and click on the modify printer button then click continue until u get to device page and from the list of device select ptal. Also u must have runned "ptal-init setup" i think before ptal will show up as a device. Tim Hanson wrote:
I'm having a hard time getting my HP usb Office Jet to print under CUPS. I'm running 8.1 Prof.
I'm using the HP docs found in /usr/share/doc/packages. I get to the point where I can talk to the set the time, etc. I put lines in my /etc/init.d/cups script to load /usr/sbin/ptal-init before CUPS. At this point I should see the spooler, /usr/sbin/ptal-cups as one of the printer options, or else give me another way to write to the spooler. When I use usb1 as the destination, the job disappears, which I already know about and expect.
Does anyone know how to make this work?
-- Think big. Pollute the Mississippi.
On Saturday 02 November 2002 8:38 am, Tim Hanson wrote:
After fighting with it for SEVERAL more hours, I gave up, installed lprng, hooked up the parallel port, and now I'm printing. I wonder if I can get it to scan from the usb port while the printer port is attached. Don't see why not.
I think I remember seeing on the HPOJ mailing list or site that this would not work, because of the way the interfaces are assigned . But I may have been dreaming. Kevin
There's an hpoj mailing list? That might either help, or give me a group to share my misery. Right now I'm looking at an expensive paperweight. Printing works from lprng through the parallel port, but so much for scanning, which is why I bought the thing. Do you have subscription information? Maybe there's a newsgroup, also. Kevin Donnelly wrote:
On Saturday 02 November 2002 8:38 am, Tim Hanson wrote:
After fighting with it for SEVERAL more hours, I gave up, installed lprng, hooked up the parallel port, and now I'm printing. I wonder if I can get it to scan from the usb port while the printer port is attached. Don't see why not.
I think I remember seeing on the HPOJ mailing list or site that this would not work, because of the way the interfaces are assigned . But I may have been dreaming.
Kevin
-- "In any world menu, Canada must be considered the vichyssoise of nations -- it's cold, half-French, and difficult to stir." -- Stuart Keate
On Monday 04 November 2002 3:12 am, Tim Hanson wrote:
There's an hpoj mailing list? Do you have subscription information?
Go to http://hpoj.sourceforge.net/, and there is a link to the mailing list on the left-hand navbar. The list is not very high-traffic, and the hpoj maintainer, David Paschal, is much in evidence. As regards the scanning, assuming you have installed the hp-OfficeJet package from the CDs, have you a reference to "hpoj" in /etc/sane.d/dll.conf? And also check that you have /usr/lib/sane/libsane-hpoj - this file may be in /usr/local/lib by mistake. If so, copy it to the right place, or make a symlink. These are another couple of bugettes in the packaged rpm. Thereafter, read the docs on the site - they are actually very comprehensive. HTH Kevin
David returned my mail and gave me the real fix. I hope someone from SuSE is reading this, because this does the trick, and needs to go in in the db until it can be made part of the online update. Here's his response: Tim Hanson wrote:
I'm having a hard time getting my HP usb Office Jet to print under CUPS. I'm running SuSE 8.1 Prof.
Hi, Tim. I assume you're using the hp-officeJet-0.90 package provided with SuSE 8.1, correct?
I get to the point where I can talk to talk to it, copy the display, the set the time, etc. I put lines in my /etc/init.d/cups script to load /usr/sbin/ptal-init before CUPS. I stopped cups, started ptal-init, then restarted cups.
So far, so good.
At this point I should see the spooler as one of the choices in the cups connection list, /usr/sbin/ptal-cups as one of the printer options, or else give me another way to write to the spooler.
You should see a "ptal" line that includes the PTAL device name of your device (probably something like "mlc:usb:OfficeJet_K80"). If that's not there, then look in /usr/lib/cups/backend, and make sure there's a file or (preferably) a symlink named "ptal" in there. If not, this would be a bug in the SuSE package for not setting this up for you. You can run "ln -s /usr/sbin/ptal-cups /usr/lib/cups/backend/ptal" to fix this. Then restart CUPS again and try again.
When I use /dev/usb1 as the destination, the job disappears, which I already know about and expect.
Correct, printing directly to the device over USB usually won't work, unless you're running kernel 2.4.19 or later or you install the printer.c update from http://hpoj.sf.net/download.shtml. (But that will cause problems with scanning.)
Does anyone know how to make this work?
See above, and let me know if the symlink is missing and creating it fixes the problem, so I can add a note about it to the SuSE section at http://hpoj.sf.net/download.shtml.
I can make the printer work using the parallel port, but it won't scan that way, and printing only is not why I spent the extra money on a K80.
You can scan over the parallel port if you set the device up via hpoj and print through the "ptal" backend (once you get that working) instead of to /dev/lp0. However, you'll get better performance out of USB. David Kevin Donnelly wrote:
On Monday 04 November 2002 3:12 am, Tim Hanson wrote:
There's an hpoj mailing list? Do you have subscription information?
Go to http://hpoj.sourceforge.net/, and there is a link to the mailing list on the left-hand navbar. The list is not very high-traffic, and the hpoj maintainer, David Paschal, is much in evidence.
As regards the scanning, assuming you have installed the hp-OfficeJet package from the CDs, have you a reference to "hpoj" in /etc/sane.d/dll.conf? And also check that you have /usr/lib/sane/libsane-hpoj - this file may be in /usr/local/lib by mistake. If so, copy it to the right place, or make a symlink. These are another couple of bugettes in the packaged rpm.
Thereafter, read the docs on the site - they are actually very comprehensive.
HTH
Kevin
-- Some programming languages manage to absorb change but withstand progress.
On Tuesday 05 November 2002 4:03 am, Tim Hanson wrote:
You should see a "ptal" line that includes the PTAL device name of your device (probably something like "mlc:usb:OfficeJet_K80"). If that's not there, then look in /usr/lib/cups/backend, and make sure there's a file or (preferably) a symlink named "ptal" in there. If not, this would be a bug in the SuSE package for not setting this up for you. You can run "ln -s /usr/sbin/ptal-cups /usr/lib/cups/backend/ptal" to fix this. Then restart CUPS again and try again.
Yes, this was the fix I suggested in my posting of 2 November ... :-) Kevin
participants (4)
-
Kevin Donnelly
-
Kin Ho Cheung
-
Tage Danielsen
-
Tim Hanson