Comment 16 for bug 1184663

Revision history for this message
Claude Krantz (puma) wrote :

I have been affected by this for years while printing from Linux (Ubuntu 12.04) via a FreeBSD (9.2 for what matters) CUPS server (versions 1.5.x to 1.7.x at least). I have two printers: HP Laserjet 1320 and HP Deskjet 5550 which are installed via CUPS on the FreeBSD server and shared with the Linux CUPSes (1.5.3 from precise).

Printing via the Foomatic/HPIJS drivers "HP-LaserJet_1320-hpijs.ppd" and "HP-DeskJet_5550-hpijs.ppd" always gave me unacceptably wrong printout margins (shifted more than 1 cm right and up). The generic PCL driver provided by CUPS never had this problem, but of course would not take advantage of any advanced printer features.

Running the command hinted by Till in post #6

lpadmin -p <printer_queue> -o pdftops-renderer-default=pdftops

on the FreeBSD server (NOT on the Ubuntu Linux clients!) for every printer installed there solved the problem completely. Many thanks for that. The server now runs CUPS-1.7.2 and shares its printers with the Linux CUPS-1.5.3 via cups-browsed in total harmony and I always get correct margins.

Let me emphasise once more that in my case this bug was NOT caused on the side of Ubuntu 12.04 (CUPS 1.5.3 ) but on the side of the FreeBSD server (CUPS 1.7.2). However this seems to suggests that the root of the issue goes upstream ...