So I need to ship back some defective merchandize. The vendor sends me a link to a UPS return label, I open it in Firefox, and try to print it. The printer is an HP 1320.
When I try to print it, the printer blinks happily for a few seconds, but stays quiet, and Fedora tells me that the print job completed succesfully.
I try a few variations. Tell Firefox to print to a PDF file, then open it in evince, and try to print it. Same results. Tried having Firefox print to a PS file. Tried using pdf2ps on the PDF file. Tried a few other things. I forget exactly what I tried, but on one particular attempt the printer woke up. I got all excited, until the printer ejected a single page, with a single sentence "This print job requires a PostScript Language Level 3 Printer", and completely blank otherwise. Very funny.
I finally got the label to come out by having Firefox print to an SVG file, opening it in document viewer, and printing it. That worked.
HP 1320 is a postscript printer, but it looks to me like some PDFs (not all, I can print most PDFs without any issues) contain Postscript features that the printer does not support. Anyone know if there's a way to get CUPS to handle that correctly.
On 04/25/2013 06:40 PM, Sam Varshavchik wrote:
So I need to ship back some defective merchandize. The vendor sends me a link to a UPS return label, I open it in Firefox, and try to print it. The printer is an HP 1320.
When I try to print it, the printer blinks happily for a few seconds, but stays quiet, and Fedora tells me that the print job completed succesfully.
I try a few variations. Tell Firefox to print to a PDF file, then open it in evince, and try to print it. Same results. Tried having Firefox print to a PS file. Tried using pdf2ps on the PDF file. Tried a few other things. I forget exactly what I tried, but on one particular attempt the printer woke up. I got all excited, until the printer ejected a single page, with a single sentence "This print job requires a PostScript Language Level 3 Printer", and completely blank otherwise. Very funny.
I finally got the label to come out by having Firefox print to an SVG file, opening it in document viewer, and printing it. That worked.
HP 1320 is a postscript printer, but it looks to me like some PDFs (not all, I can print most PDFs without any issues) contain Postscript features that the printer does not support. Anyone know if there's a way to get CUPS to handle that correctly.
There are pdfs and there are pdfs, and not all are created equal. In my experience, if you use Adobe Reader, all of them will read out properly and print. Some of the FOS programs haven't quite figured out all the nuances, so I don't try and use them anymore.
--doug
On Thu, 2013-04-25 at 18:40 -0400, Sam Varshavchik wrote:
So I need to ship back some defective merchandize. The vendor sends me a link to a UPS return label, I open it in Firefox, and try to print it. The printer is an HP 1320.
There are several models that might be "HP 1320" -- I'm going to guess you're talking about an HP LaserJet 1320? In that case, there are several different drivers to choose from, and the recommended one is hpcups.
To change driver (and see which are available), start system-config-printer ('Printing'/'Print Settings'), view the properties for the queue, and click on the 'Change...' button next to 'Make and model'.
If you aren't using hpcups already, it indicates that the relevant package (hpijs) doesn't know the IEEE 1284 Device ID of your printer. In that case, it would be useful to see the output of 'su -c /usr/share/system-config-printer/check-device-ids.py'.
Tim. */
Tim Waugh writes:
On Thu, 2013-04-25 at 18:40 -0400, Sam Varshavchik wrote:
So I need to ship back some defective merchandize. The vendor sends me a link to a UPS return label, I open it in Firefox, and try to print it. The printer is an HP 1320.
There are several models that might be "HP 1320" -- I'm going to guess you're talking about an HP LaserJet 1320? In that case, there are several different drivers to choose from, and the recommended one is hpcups.
To change driver (and see which are available), start system-config-printer ('Printing'/'Print Settings'), view the properties for the queue, and click on the 'Change...' button next to 'Make and model'.
If you aren't using hpcups already, it indicates that the relevant package (hpijs) doesn't know the IEEE 1284 Device ID of your printer. In that case, it would be useful to see the output of 'su -c /usr/share/system-config-printer/check-device-ids.py'.
It was using the HP LaserJet 1320 Foomatic/pxlmono driver, which is the marked as the recommended one by system-config-printer; and not the hpcups driver.
Switched the driver to the hpcups one, and, trying the PDF file again, it printed directly, with no fuss.
On Fri, 2013-04-26 at 06:53 -0400, Sam Varshavchik wrote:
Tim Waugh writes:
If you aren't using hpcups already, it indicates that the relevant package (hpijs) doesn't know the IEEE 1284 Device ID of your printer. In that case, it would be useful to see the output of 'su -c /usr/share/system-config-printer/check-device-ids.py'.
It was using the HP LaserJet 1320 Foomatic/pxlmono driver, which is the marked as the recommended one by system-config-printer; and not the hpcups driver.
Switched the driver to the hpcups one, and, trying the PDF file again, it printed directly, with no fuss.
OK, thanks. It would be great if you could run the check-device-ids.py script so I can check the device ID against what hplip has.
Tim. */
Tim Waugh writes:
On Fri, 2013-04-26 at 06:53 -0400, Sam Varshavchik wrote:
Tim Waugh writes:
If you aren't using hpcups already, it indicates that the relevant package (hpijs) doesn't know the IEEE 1284 Device ID of your printer. In that case, it would be useful to see the output of 'su -c /usr/share/system-config-printer/check-device-ids.py'.
It was using the HP LaserJet 1320 Foomatic/pxlmono driver, which is the marked as the recommended one by system-config-printer; and not the hpcups driver.
Switched the driver to the hpcups one, and, trying the PDF file again, it printed directly, with no fuss.
OK, thanks. It would be great if you could run the check-device-ids.py script so I can check the device ID against what hplip has.
Tim. */
Here you go.
Fetching driver list ├── HP LaserJet 1320 series (usb): MFG:Hewlett-Packard;MDL:hp LaserJet 1320 series;CMD:PJL,MLC,BIDI-ECP,PCL,POSTSCRIPT,PCLXL; │ ├── foomatic:HP-LaserJet_1320-pxlmono.ppd [/usr/lib/cups/driver/foomatic] │ ├── lsb/usr/HP/hp-laserjet_1320tn-ps.ppd.gz [/usr/share/ppd/HP/hp- laserjet_1320tn-ps.ppd.gz] │ ├── lsb/usr/HP/hp-laserjet_1320n-ps.ppd.gz [/usr/share/ppd/HP/hp- laserjet_1320n-ps.ppd.gz] │ ├── lsb/usr/HP/hp-laserjet_1320nw-ps.ppd.gz [/usr/share/ppd/HP/hp- laserjet_1320nw-ps.ppd.gz] │ ├── lsb/usr/HP/hp-laserjet_1320_series-ps.ppd.gz [/usr/share/ppd/HP/hp- laserjet_1320_series-ps.ppd.gz] │ ├── lsb/usr/HP/hp-laserjet_1320-ps.ppd.gz [/usr/share/ppd/HP/hp- laserjet_1320-ps.ppd.gz] │ ├── foomatic:HP-LaserJet_1320-Postscript.ppd [/usr/lib/cups/driver/foomatic] │ ├── drv:///hp/hpcups.drv/hp-laserjet_1320.ppd [/usr/share/cups/drv/hp/hpcups.drv] │ ├── drv:///hp/hpcups.drv/hp-laserjet_1320_series-pcl3.ppd [/usr/share/cups/drv/hp/hpcups.drv] │ ├── drv:///hp/hpijs.drv/hp-laserjet_1320-hpijs.ppd [/usr/share/cups/drv/hp/hpijs.drv] │ ├── drv:///hp/hpijs.drv/hp-laserjet_1320_series-hpijs-pcl3.ppd [/usr/share/cups/drv/hp/hpijs.drv] │ ├── gutenprint.5.2://hp-lj_1320/simple [/usr/lib/cups/driver/gutenprint. 5.2] │ └── gutenprint.5.2://hp-lj_1320/expert [/usr/lib/cups/driver/gutenprint. 5.2] ├── Canon MF4200 Series (usb): MFG:Canon;MDL:MF4200 Series;CMD:LIPSLX,CPCA; │ (No drivers) ├── HP LaserJet 1320 series (hp): MFG:Hewlett-Packard;MDL:hp LaserJet 1320 series; │ ├── foomatic:HP-LaserJet_1320-pxlmono.ppd [/usr/lib/cups/driver/foomatic] │ ├── lsb/usr/HP/hp-laserjet_1320tn-ps.ppd.gz [/usr/share/ppd/HP/hp- laserjet_1320tn-ps.ppd.gz] │ ├── lsb/usr/HP/hp-laserjet_1320n-ps.ppd.gz [/usr/share/ppd/HP/hp- laserjet_1320n-ps.ppd.gz] │ ├── lsb/usr/HP/hp-laserjet_1320nw-ps.ppd.gz [/usr/share/ppd/HP/hp- laserjet_1320nw-ps.ppd.gz] │ ├── lsb/usr/HP/hp-laserjet_1320_series-ps.ppd.gz [/usr/share/ppd/HP/hp- laserjet_1320_series-ps.ppd.gz] │ ├── lsb/usr/HP/hp-laserjet_1320-ps.ppd.gz [/usr/share/ppd/HP/hp- laserjet_1320-ps.ppd.gz] │ ├── foomatic:HP-LaserJet_1320-Postscript.ppd [/usr/lib/cups/driver/foomatic] │ ├── drv:///hp/hpcups.drv/hp-laserjet_1320.ppd [/usr/share/cups/drv/hp/hpcups.drv] │ ├── drv:///hp/hpcups.drv/hp-laserjet_1320_series-pcl3.ppd [/usr/share/cups/drv/hp/hpcups.drv] │ ├── drv:///hp/hpijs.drv/hp-laserjet_1320-hpijs.ppd [/usr/share/cups/drv/hp/hpijs.drv] │ ├── drv:///hp/hpijs.drv/hp-laserjet_1320_series-hpijs-pcl3.ppd [/usr/share/cups/drv/hp/hpijs.drv] │ ├── gutenprint.5.2://hp-lj_1320/simple [/usr/lib/cups/driver/gutenprint. 5.2] │ └── gutenprint.5.2://hp-lj_1320/expert [/usr/lib/cups/driver/gutenprint. 5.2] └── Canon MF4200 Series (FAX) (usb): MFG:Canon;MDL:MF4200 Series (FAX);CMD:FAX,CPCA; (No drivers)