From: Ed W. <ed...@wi...> - 2004-03-24 16:15:34
|
Hi, I'm tearing my hair out trying to get my new HP PSC 2510 working. Print jobs just keep saying "Aborted"... Basically, I have loaded hpoj 1.5 and hpij 0.91 (ie latest of each). - Basic communication seems to work over both network and USB (although there are some gremlins...). - Scanning works through xsane both over the network and over USB. - I can send stuff to the printer with "echo somefile.txt | ptal-print" and after a bit of a pause it pops out. I then tried CUPS, restarted it, etc, added a new printer on both USB and network, choose the "PSC 2500 hpis" driver option from the bottom of the list. Then I click print test page, and nothing happens. I check the completed jobs page, and it reports that the job was "aborted"... This happens on both network and USB, and if I try to print a real print job as well. Can anyone please help me track this one down! I need a few clues as to how to debug this further. It would seem that either there is a problem with my print driver, or else an issue with the connection from CUPS to ptal-print? Can I work out which? Did I need to do anything else during install? Basically I am running gentoo, so I just did "emerge hpoj", and it appears to have auto generated all the ppd files. Is this something to check though? Any help gratefully appreciated Ed W P.S. I tried in CUPS adding a jet-direct connection to the printer (ie not using the hpjd: device), this still gives the same symptoms. Does this point to a problem with the print driver? |
From: Cory M. <cor...@hp...> - 2004-03-24 18:24:49
|
So you do have CUPS setup. What device URI are you using? It should be should be something like mlc:usb:// Also, you may need to emerge the foomatic and ghostscript systems if you haven't down that already. Cory On Wed, 2004-03-24 at 08:15, Ed Wildgoose wrote: > Hi, I'm tearing my hair out trying to get my new HP PSC 2510 working. > Print jobs just keep saying "Aborted"... > > Basically, I have loaded hpoj 1.5 and hpij 0.91 (ie latest of each). > - Basic communication seems to work over both network and USB (although > there are some gremlins...). > - Scanning works through xsane both over the network and over USB. > - I can send stuff to the printer with "echo somefile.txt | ptal-print" > and after a bit of a pause it pops out. > > I then tried CUPS, restarted it, etc, added a new printer on both USB > and network, choose the "PSC 2500 hpis" driver option from the bottom of > > the list. > > Then I click print test page, and nothing happens. I check the > completed jobs page, and it reports that the job was "aborted"... This > happens on both network and USB, and if I try to print a real print job > as well. > > Can anyone please help me track this one down! I need a few clues as to > > how to debug this further. It would seem that either there is a problem > > with my print driver, or else an issue with the connection from CUPS to > ptal-print? Can I work out which? > > Did I need to do anything else during install? Basically I am running > gentoo, so I just did "emerge hpoj", and it appears to have auto > generated all the ppd files. Is this something to check though? > > Any help gratefully appreciated > > Ed W > > P.S. I tried in CUPS adding a jet-direct connection to the printer (ie > not using the hpjd: device), this still gives the same symptoms. Does > this point to a problem with the print driver? > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > > _______________________________________________ > hpoj-devel mailing list > hpo...@li... > https://lists.sourceforge.net/lists/listinfo/hpoj-devel |
From: Ed W. <li...@wi...> - 2004-03-24 19:01:59
|
Cory Meisch wrote: >So you do have CUPS setup. What device URI are you using? It should be >should be something like mlc:usb:// > >Also, you may need to emerge the foomatic and ghostscript systems if you >haven't down that already. > > Thanks for the thoughts. Device URI's tried are: ptal:/hpjd:192.168.105.11 socket://192.168.105.11:9100/ ptal:/mlc:usb:psc_2500_series All give the same effect, instantly the job is "Aborted". (Which suggests that it never goes anywhere at all... Certainly there are no flashes or noises from the printer to suggest that it just received some data) foomatic and ghostscript *should* be setup. I have an epson 750 running correctly through gimp-print and cups. Not completely sure what needs to be setup for the HP though. On my gentoo system I just grab all the packages, foomatic, cups, ghostscript, gimprint, snmp, hpoj, hpij, others that I forgot...? Then the only setup is to fire up cups via the localhost:631 link and the Epson was installed and running just by adding a new printer. I am trying the same thing for the HP, ie just adding in the printer def. As you point out I think it is something after CUPS which is failing, perhaps in the ghostscript/foomatic end, perhaps in the spooler section? I can do "cat blah | ptal-print". Should I be able to do something with lpr to simulate the bit happening after cups? I really don't quite understand the printing subsytem on linux, so some pointers to docs or bits to debug would be appreciated. I have just printed the test page via my windows machine, so the printer seems to be working! Thanks all Ed W |
From: Cory M. <cor...@hp...> - 2004-03-24 23:20:49
|
I think your suspicions are right. This sounds like an issue with the gs/footmatic portion. Please check your logs and let me know of any error messages that you see... Cory hp linux printing team On Wed, 2004-03-24 at 11:01, Ed Wildgoose wrote: > Cory Meisch wrote: > > >So you do have CUPS setup. What device URI are you using? It should be > >should be something like mlc:usb:// > > > >Also, you may need to emerge the foomatic and ghostscript systems if > you > >haven't down that already. > > > > > > Thanks for the thoughts. > > Device URI's tried are: > ptal:/hpjd:192.168.105.11 > socket://192.168.105.11:9100/ > ptal:/mlc:usb:psc_2500_series > > All give the same effect, instantly the job is "Aborted". (Which > suggests that it never goes anywhere at all... Certainly there are no > flashes or noises from the printer to suggest that it just received some > > data) > > foomatic and ghostscript *should* be setup. I have an epson 750 running > > correctly through gimp-print and cups. Not completely sure what needs > to be setup for the HP though. > > On my gentoo system I just grab all the packages, foomatic, cups, > ghostscript, gimprint, snmp, hpoj, hpij, others that I forgot...? Then > the only setup is to fire up cups via the localhost:631 link and the > Epson was installed and running just by adding a new printer. I am > trying the same thing for the HP, ie just adding in the printer def. > > As you point out I think it is something after CUPS which is failing, > perhaps in the ghostscript/foomatic end, perhaps in the spooler section? > > > I can do "cat blah | ptal-print". Should I be able to do something > with lpr to simulate the bit happening after cups? I really don't quite > > understand the printing subsytem on linux, so some pointers to docs or > bits to debug would be appreciated. > > I have just printed the test page via my windows machine, so the printer > > seems to be working! > > Thanks all > > Ed W > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > > _______________________________________________ > hpoj-devel mailing list > hpo...@li... > https://lists.sourceforge.net/lists/listinfo/hpoj-devel -- Cory Meisch X27009 HP Vancouver Test Technician, Linux Printing Team |
From: Ed W. <li...@wi...> - 2004-03-25 01:01:42
|
Cory Meisch wrote: >I think your suspicions are right. This sounds like an issue with the >gs/footmatic portion. Please check your logs and let me know of any >error messages that you see... > >Cory >hp linux printing team > > Thanks Cory, I'm a bit lost at sea about how to do this though...? I have nothing at all in my log files (other than the startup event of ptal, etc), perhaps I'm not logging everything though...? What's the default logging level? Should I need to beef it up to catch such problems...? For example I'm logging lpr.* and not seeing anything in there at all? Sorry to be a muppet, I'm not a complete linux newbie, but I'm really not familiar with how CUPS, lpr and hpoj fit together. Could you please describe what I should be testing here - I don't mean step by step, but basically what should cups be doing, and how can I see if it is or not - pointers to relevant documentation are more than sufficient. Pointers as to how to manually flex gs/foomatic would be appreciated as well... To be clear I have an epson 750 setup and printing fine through CUPS via gimp-print so I have at least some of the basics all configured here. Many thanks for any help By the way - I only mention this since there seems to be HP folks listening: I've been *really* impressed with the PSC 2510. It's the first time I've owned such a gadget, and previously was put off at the idea of the compromise, but it's actually pretty good! It's quite cool being able to scan from any machine across the network, and it's pretty handy to be able to fax direct from the windows machines (anyone working on adding that to the linux driver..?) Thanks for creating such a great gadget. My only comments are that it would be nice to have better profiles delivered with the printer (on windows the output does not match the *calibrated* screen very well, also I have lusted after a roll paper feed for a while. An automated document feeder, and duplexer would be nice too... (Something like the photo printer crossed with the officejet 7130...) Also, the scanner arrived with a lot of dirt and smears UNDER the glass. I'm in the UK, and it's just too hard to send stuff back here, so I will live with it - but is it possible to download the service manual from anywhere to locate all the screws to remove the top cover to clean the glass...? I appreciate the implications, but quite happy to accept them. Thanks HP for all your support. I would definitely recommend this product to a friend |
From: Ed W. <li...@wi...> - 2004-03-25 01:42:24
|
Ed Wildgoose wrote: > Cory Meisch wrote: > >> I think your suspicions are right. This sounds like an issue with the >> gs/footmatic portion. Please check your logs and let me know of any >> error messages that you see... >> > > I'm a bit lost at sea about how to do this though...? I have nothing > at all in my log files (other than the startup event of ptal, etc), > perhaps I'm not logging everything though...? What's the default > logging level? Should I need to beef it up to catch such > problems...? For example I'm logging lpr.* and not seeing anything in > there at all? OK, cancel that last bit. Now I partly understand why I am being a muppet. OK, following the (obvious now) instructions at: http://www.cups.org/cups-help.html - I enable LogLevel debug in cups.conf and now I get a whole spew of stuff in the cups log. Significant bits seem to be: D [25/Mar/2004:01:29:07 +0000] [Job 41] PPD file: /etc/cups/ppd/HP.ppd D [25/Mar/2004:01:29:07 +0000] [Job 41] Printer model: HP PSC 2500 Foomatic/hpijs (recommended) (Is that correct for the PSC2510?) Then it all looks good up until a warning about perl locales not being set (but I assume this is not actually a real issue?), and then: D [25/Mar/2004:01:29:07 +0000] [Job 41] foomatic-gswrapper: gs '-dBATCH' '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=ijs' '-sIjsServer=hpijs' '-sDeviceManufacturer=HEWLETT-PACKARD' '-sDeviceModel=deskjet 5550' '-dDEVICEWIDTHPOINTS=612' '-dDEVICEHEIGHTPOINTS=792' '-dDuplex=false' '-r300' '-sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2' '-dIjsUseOutputFD' '-sOutputFile=| cat >&3' '/dev/fd/0' 3>&1 1>&2 D [25/Mar/2004:01:29:07 +0000] [Job 41] Error: /invalidfont in findfont D [25/Mar/2004:01:29:07 +0000] [Job 41] Operand stack: D [25/Mar/2004:01:29:07 +0000] [Job 41] bigFont Helvetica-Bold Font Helvetica-Bold 382791 Helvetica-Bold --nostringval-- Courier (Courier) Courier Which looks like the problem. (note it did successfully run the previous "renderer command: gs -q ...etc..." command successfully, this is the second command after all the parsing stuff. and then finally I get "ESP Ghostscript 7.07.1: Unrecoverable error, exit code 1". It's nearly 2am here, so need to stop now. Thanks very much to those who offered advice - sorry for the noise. If anyone has any tips on how to isolate and debug this font issue then that would be appreciated. Thanks all Ed W |
From: Till K. <til...@gm...> - 2004-03-25 02:54:38
|
Do you have the ghostscript-fonts package installed? Are the fonts accessible through one of the directories listed in the end of the output of "gs -h"? Set an appropriate symbolic link if not. Till Ed Wildgoose wrote: > Ed Wildgoose wrote: > >> Cory Meisch wrote: >> >>> I think your suspicions are right. This sounds like an issue with the >>> gs/footmatic portion. Please check your logs and let me know of any >>> error messages that you see... >>> >> >> I'm a bit lost at sea about how to do this though...? I have nothing >> at all in my log files (other than the startup event of ptal, etc), >> perhaps I'm not logging everything though...? What's the default >> logging level? Should I need to beef it up to catch such >> problems...? For example I'm logging lpr.* and not seeing anything in >> there at all? > > > > OK, cancel that last bit. Now I partly understand why I am being a muppet. > > OK, following the (obvious now) instructions at: > http://www.cups.org/cups-help.html - I enable LogLevel debug in > cups.conf and now I get a whole spew of stuff in the cups log. > > Significant bits seem to be: > > D [25/Mar/2004:01:29:07 +0000] [Job 41] PPD file: /etc/cups/ppd/HP.ppd > D [25/Mar/2004:01:29:07 +0000] [Job 41] Printer model: HP PSC 2500 > Foomatic/hpijs (recommended) > > (Is that correct for the PSC2510?) > > Then it all looks good up until a warning about perl locales not being > set (but I assume this is not actually a real issue?), and then: > > D [25/Mar/2004:01:29:07 +0000] [Job 41] foomatic-gswrapper: gs '-dBATCH' > '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=ijs' > '-sIjsServer=hpijs' '-sDeviceManufacturer=HEWLETT-PACKARD' > '-sDeviceModel=deskjet 5550' '-dDEVICEWIDTHPOINTS=612' > '-dDEVICEHEIGHTPOINTS=792' '-dDuplex=false' '-r300' > '-sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2' > '-dIjsUseOutputFD' '-sOutputFile=| cat >&3' '/dev/fd/0' 3>&1 1>&2 > D [25/Mar/2004:01:29:07 +0000] [Job 41] Error: /invalidfont in findfont > D [25/Mar/2004:01:29:07 +0000] [Job 41] Operand stack: > D [25/Mar/2004:01:29:07 +0000] [Job 41] bigFont Helvetica-Bold > Font Helvetica-Bold 382791 Helvetica-Bold --nostringval-- > Courier (Courier) Courier > > Which looks like the problem. (note it did successfully run the > previous "renderer command: gs -q ...etc..." command successfully, this > is the second command after all the parsing stuff. > > and then finally I get "ESP Ghostscript 7.07.1: Unrecoverable error, > exit code 1". > > It's nearly 2am here, so need to stop now. Thanks very much to those > who offered advice - sorry for the noise. If anyone has any tips on how > to isolate and debug this font issue then that would be appreciated. > > Thanks all > > Ed W > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > > _______________________________________________ > hpoj-devel mailing list > hpo...@li... > https://lists.sourceforge.net/lists/listinfo/hpoj-devel > > |
From: Ed W. <li...@wi...> - 2004-03-25 10:14:27
|
Till Kamppeter wrote: > Do you have the ghostscript-fonts package installed? Are the fonts > accessible through one of the directories listed in the end of the > output of "gs -h"? Set an appropriate symbolic link if not. Hi all, Thanks for the advice. I removed the cups ghostscript package and tried the (newer) ghostscript-afpl package. Looking at the build files they both install the (same) fonts in the same place and I verified that that I got the same thing in both cases. However, NOW initial signs are that printing is working here (test page pops out OK at least) So it appears that a faulty ghostscript setup was to blame. Sorry for the noise and thanks for the help everyone Ed W |
From: Cory M. <cor...@hp...> - 2004-03-25 20:32:10
|
Also you may want to try the GNU version of ghostscript... Cory On Wed, 2004-03-24 at 19:52, Till Kamppeter wrote: > Do you have the ghostscript-fonts package installed? Are the fonts > accessible through one of the directories listed in the end of the > output of "gs -h"? Set an appropriate symbolic link if not. > > Till > > Ed Wildgoose wrote: > > Ed Wildgoose wrote: > > > >> Cory Meisch wrote: > >> > >>> I think your suspicions are right. This sounds like an issue with the > >>> gs/footmatic portion. Please check your logs and let me know of any > >>> error messages that you see... > >>> > >> > >> I'm a bit lost at sea about how to do this though...? I have nothing > >> at all in my log files (other than the startup event of ptal, etc), > >> perhaps I'm not logging everything though...? What's the default > >> logging level? Should I need to beef it up to catch such > >> problems...? For example I'm logging lpr.* and not seeing anything in > >> there at all? > > > > > > > > OK, cancel that last bit. Now I partly understand why I am being a muppet. > > > > OK, following the (obvious now) instructions at: > > http://www.cups.org/cups-help.html - I enable LogLevel debug in > > cups.conf and now I get a whole spew of stuff in the cups log. > > > > Significant bits seem to be: > > > > D [25/Mar/2004:01:29:07 +0000] [Job 41] PPD file: /etc/cups/ppd/HP.ppd > > D [25/Mar/2004:01:29:07 +0000] [Job 41] Printer model: HP PSC 2500 > > Foomatic/hpijs (recommended) > > > > (Is that correct for the PSC2510?) > > > > Then it all looks good up until a warning about perl locales not being > > set (but I assume this is not actually a real issue?), and then: > > > > D [25/Mar/2004:01:29:07 +0000] [Job 41] foomatic-gswrapper: gs '-dBATCH' > > '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=ijs' > > '-sIjsServer=hpijs' '-sDeviceManufacturer=HEWLETT-PACKARD' > > '-sDeviceModel=deskjet 5550' '-dDEVICEWIDTHPOINTS=612' > > '-dDEVICEHEIGHTPOINTS=792' '-dDuplex=false' '-r300' > > '-sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2' > > '-dIjsUseOutputFD' '-sOutputFile=| cat >&3' '/dev/fd/0' 3>&1 1>&2 > > D [25/Mar/2004:01:29:07 +0000] [Job 41] Error: /invalidfont in findfont > > D [25/Mar/2004:01:29:07 +0000] [Job 41] Operand stack: > > D [25/Mar/2004:01:29:07 +0000] [Job 41] bigFont Helvetica-Bold > > Font Helvetica-Bold 382791 Helvetica-Bold --nostringval-- > > Courier (Courier) Courier > > > > Which looks like the problem. (note it did successfully run the > > previous "renderer command: gs -q ...etc..." command successfully, this > > is the second command after all the parsing stuff. > > > > and then finally I get "ESP Ghostscript 7.07.1: Unrecoverable error, > > exit code 1". > > > > It's nearly 2am here, so need to stop now. Thanks very much to those > > who offered advice - sorry for the noise. If anyone has any tips on how > > to isolate and debug this font issue then that would be appreciated. > > > > Thanks all > > > > Ed W > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: IBM Linux Tutorials > > Free Linux tutorial presented by Daniel Robbins, President and CEO of > > GenToo technologies. Learn everything from fundamentals to system > > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > > > > _______________________________________________ > > hpoj-devel mailing list > > hpo...@li... > > https://lists.sourceforge.net/lists/listinfo/hpoj-devel > > > > -- Cory Meisch X27009 HP Vancouver Test Technician, Linux Printing Team |
From: Till K. <til...@gm...> - 2004-03-25 20:40:18
|
Cory Meisch wrote: > Also you may want to try the GNU version of ghostscript... > > Cory > For HPIJS all GhostScript versions with the "ijs" device (see output of "gs -h") are suitable: ESP, GNU, and AFPL. But it is also important that the fonts from the ghostscript-fonts package are available in a directory listed in the end of the "gs -h" output. Till |
From: Ed W. <li...@wi...> - 2004-03-25 23:18:13
|
Cory Meisch wrote: >Also you may want to try the GNU version of ghostscript... > > > Thanks Cory and Till. For the benefit of anyone reading the archives: I had previously installed the gnu-ghostscript (gentoo) package, the one tweaked by the cups folks. This should have installed the main (aladdin) fonts as well (and I checked that it did). However, I didn't think to check gs -h to see if the path was in there. My fix was to uninstall that gnu ghostscript and install the aladdin one (or whatever they are called now) Similarly for others on gentoo, the docs suggest installing the older ucd-snmp package, however, I couldn't make this work straight off, but the newer net-snmp package worked nicely. Perhaps it would be worth updating the docs to reflect this? In any case gentoo users should try the newer package, seems to work a little better for me at least. Thanks all. Bar the question about scanning speeds being slower over the network than the USB, and also how to remove the top cover to clean the underside of the glass I think I am up and running now. Thanks very much for your help Ed W |