On Fri, 15 Jun 2012 13:12:41 +0100 Brian Potkin wrote:

> Hello Francesco,
> 
> I think you are sending PostScript to the printer and it possible the
> interpreter on it is misbehaving. That has certainly been the focus of
> a number of fixes in cups-filters recently. So two suggestions
> 
> 1. Use a PCL PPD. There is Gutenprint one in the HP category and others
>    in the Generic section.

This seems to have done the trick.
Brian, thanks a lot for your helpful suggestions!


I've just performed the following actions:

 (A) I removed the package pins and upgraded cups

 (B) I searched for a suitable driver:

     # lpinfo -m | grep 1320
     gutenprint.5.2://hp-lj_1320/expert HP LaserJet 1320 - CUPS+Gutenprint 
v5.2.7
     foomatic:HP-LaserJet_1320-Postscript.ppd HP LaserJet 1320 
Foomatic/Postscript
     foomatic:HP-LaserJet_1320-pxlmono.ppd HP LaserJet 1320 Foomatic/pxlmono 
(recommended)
     drv:///hpijs.drv/hp-laserjet_1320-hpijs.ppd HP LaserJet 1320 hpijs, 3.12.2
     drv:///hpijs.drv/hp-laserjet_1320_series-hpijs-pcl3.ppd HP LaserJet 1320 
Series hpijs pcl3, 3.12.2
     drv:///hpcups.drv/hp-laserjet_1320_series-pcl3.ppd HP LaserJet 1320 Series 
pcl3, hpcups 3.12.2
     drv:///hpcups.drv/hp-laserjet_1320.ppd HP LaserJet 1320, hpcups 3.12.2
     drv:///hpijs.drv/hp-laserjet_1320n-hpijs.ppd HP LaserJet 1320n hpijs, 
3.12.2
     drv:///hpcups.drv/hp-laserjet_1320n.ppd HP LaserJet 1320n, hpcups 3.12.2
     drv:///hpijs.drv/hp-laserjet_1320nw-hpijs.ppd HP LaserJet 1320nw hpijs, 
3.12.2
     drv:///hpcups.drv/hp-laserjet_1320nw.ppd HP LaserJet 1320nw, hpcups 3.12.2
     drv:///hpijs.drv/hp-laserjet_1320tn-hpijs.ppd HP LaserJet 1320tn hpijs, 
3.12.2
     drv:///hpcups.drv/hp-laserjet_1320tn.ppd HP LaserJet 1320tn, hpcups 3.12.2

 (C) I removed the print queue and recreated it from scratch using the
     following PCL PPD:

     # lpadmin -x lj
     # lpadmin -p lj -E -v parallel:/dev/lp0 \
         -m drv:///hpcups.drv/hp-laserjet_1320_series-pcl3.ppd \
         -L "dining room" -D "HP LaserJet 1320"
     # lpoptions -p lj -o media=A4 -o sides=two-sided-long-edge
     # lpadmin -d lj

And now I seem to be able to print both plain text files and PDF files
(with the up-to-date cups)!

Hence, I think this bug may be safely closed as fixed in
cups-filters/1.0.18-2: please do so, if you agree.
Otherwise I can close it by myself, if you prefer.

Thanks again!
Bye. 

-- 
 http://www.inventati.org/frx/frx-gpg-key-transition-2010.txt
 New GnuPG key, see the transition document!
..................................................... Francesco Poli .
 GnuPG key fpr == CA01 1147 9CD2 EFDF FB82  3925 3E1C 27E1 1F69 BFFE

Attachment: pgpYbE9Knd5Of.pgp
Description: PGP signature

Reply via email to