From: Brendan S. <Bre...@fa...> - 2004-09-28 01:49:34
|
I'm running Debian testing (kernel-image-2.4.27-1-k7) with CUPS (cupsys and cupsys-bsd 1.1.20final) and hpoj-0.91 with an HP LaserJet 3330. I have had it working with earlier kernels and cups but now it only prints one document and does not print subsequent documents. If I use "lpr file.ps" it prints fine and the queues are empty. If I run "lpr file.ps" again the printer says "Printing Document" but nothing happens. It seems the printer eventually times out but still no other documents can be printed. I even tried appending the -uel switch to the ptal backend in /usr/lib/cups/ptal but that didn't make any difference. Any ideas? I've racked my brain and searched the internet but nothing has worked so far. I'm at my wits end. Please help. Kind regards, Brendan Simon. |
From: Scott <gn...@ga...> - 2004-09-28 03:49:32
|
Brendan, I'm not sure how you've setup CUPS to deal with HPOJ. I had to create a whole new configuration for the class and printer so that it would talk directly to /var/run/ptal-printd/my_printer_pipe_file ..it went something like this: usb:/var/run/ptal-printd/usb_psc_1315 while ptal sets up 9 different pipes, I just use the one (not sure of the use for the others - samba perhaps?) and it works fine. If that isn't the problem then perhaps it's something else.. i'm using a compiled 2.6.7 kernel (i run debian sid/unstable) and so certain functionality that was required before isn't used anymore as everything talks through libusb now. Make sure to check /var/log/syslog /var/log/daemon.log and /var/log/kern.log (extra redundancy never hurts :) ) for error messages on the second and subsequent prints.. perhaps the answer is there. -Scott * Brendan Simon (Bre...@fa...) cobbled forth: > I'm running Debian testing (kernel-image-2.4.27-1-k7) with CUPS (cupsys > and cupsys-bsd 1.1.20final) and hpoj-0.91 with an HP LaserJet 3330. > > I have had it working with earlier kernels and cups but now it only > prints one document and does not print subsequent documents. If I use > "lpr file.ps" it prints fine and the queues are empty. If I run "lpr > file.ps" again the printer says "Printing Document" but nothing happens. > It seems the printer eventually times out but still no other documents > can be printed. > > I even tried appending the -uel switch to the ptal backend in > /usr/lib/cups/ptal but that didn't make any difference. > > Any ideas? I've racked my brain and searched the internet but nothing > has worked so far. I'm at my wits end. > > Please help. > Kind regards, > Brendan Simon. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > Project Admins to receive an Apple iPod Mini FREE for your judgement on > who ports your project to Linux PPC the best. Sponsored by IBM. > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php > > _______________________________________________ > hpoj-devel mailing list > hpo...@li... > https://lists.sourceforge.net/lists/listinfo/hpoj-devel .oO Gnea [gnea at garson dot org] Oo. .oO url [http://gnea.net] Oo. "You can tune a filesystem, but you can't tune a fish." -Kirk McKusick |
From: Brendan S. <Bre...@fa...> - 2004-09-28 08:33:23
|
I think it is working now. I had upgraded my kernel from 2.4.26-1-k7 to 2.4.27-1-k7. I didn't think this would cause things to go astray. I stuffed around for ages but could only get one page to print. I then got a reply from Scott (below) and decided to try kernel-image-2.6.8-1-k7 but that was even worse. "ptal-init setup" couldn't even detect the printer. I noticed that the printer.o (or should that be .ko) file doesn't exist as in the 2.4 kernels so obviously things have changed. I didn't investigate too much further. I decided to downgrade to 2.4.26-1-k7 again, rebooted and bamm!!!, the jobs in the print queue started to print :) :) :) So, does anyone know what has changed between 2.4.26 and 2.4.27 to cause the hpoj/ptal stuff to not work as previously??? Is there something new I have to configure?? Cheers, Brendan Simon. Scott wrote: >I'm not sure how you've setup CUPS to deal with HPOJ. I had to create a >whole new configuration for the class and printer so that it would talk >directly to /var/run/ptal-printd/my_printer_pipe_file ..it went >something like this: >usb:/var/run/ptal-printd/usb_psc_1315 > >while ptal sets up 9 different pipes, I just use the one (not sure of >the use for the others - samba perhaps?) and it works fine. If that >isn't the problem then perhaps it's something else.. i'm using a >compiled 2.6.7 kernel (i run debian sid/unstable) and so certain >functionality that was required before isn't used anymore as everything >talks through libusb now. Make sure to check /var/log/syslog >/var/log/daemon.log and /var/log/kern.log (extra redundancy never hurts >:) ) for error messages on the second and subsequent prints.. perhaps >the answer is there. >-Scott > >* Brendan Simon (Bre...@fa...) cobbled forth: > > >>I'm running Debian testing (kernel-image-2.4.27-1-k7) with CUPS (cupsys >>and cupsys-bsd 1.1.20final) and hpoj-0.91 with an HP LaserJet 3330. >> >>I have had it working with earlier kernels and cups but now it only >>prints one document and does not print subsequent documents. If I use >>"lpr file.ps" it prints fine and the queues are empty. If I run "lpr >>file.ps" again the printer says "Printing Document" but nothing happens. >>It seems the printer eventually times out but still no other documents >>can be printed. >> >>I even tried appending the -uel switch to the ptal backend in >>/usr/lib/cups/ptal but that didn't make any difference. >> >>Any ideas? I've racked my brain and searched the internet but nothing >>has worked so far. I'm at my wits end. >> >>Please help. >> >> |
From: Tomasz M. <tm...@mi...> - 2004-09-30 11:25:06
|
On Tue, Sep 28, 2004 at 11:49:24AM +1000, Brendan Simon wrote: > I'm running Debian testing (kernel-image-2.4.27-1-k7) with CUPS (cupsys > and cupsys-bsd 1.1.20final) and hpoj-0.91 with an HP LaserJet 3330. > > I have had it working with earlier kernels and cups but now it only > prints one document and does not print subsequent documents. If I use > "lpr file.ps" it prints fine and the queues are empty. If I run "lpr > file.ps" again the printer says "Printing Document" but nothing happens. > It seems the printer eventually times out but still no other documents > can be printed. > > I even tried appending the -uel switch to the ptal backend in > /usr/lib/cups/ptal but that didn't make any difference. > > Any ideas? I've racked my brain and searched the internet but nothing > has worked so far. I'm at my wits end. I had a similar problem: http://sourceforge.net/mailarchive/forum.php?thread_id=5271987&forum_id=5841 Have you tried the patch included in this thread? Tomasz Malesinski |