Comment 1 for bug 1827136

Revision history for this message
Daniel Hirsbrunner (dhirsbrunner) wrote :

Hello,

I had the same problem, and I was able to fix it by editing the PPD file. I have attached a patch. Hopefully it will be included in the next release. Until then, you can apply it yourself as follows:

1. Copy the original PPD to somewhere in your home folder.
$ cp /usr/share/ppd/HP/hp-deskjet_3700_series.ppd.gz ./

2. Decompress the PPD file.
$ gunzip hp-deskjet_3700_series.ppd.gz

3. Download the patch from this post into the same folder.

4. Apply the patch.
$ patch < hp-deskjet_3700_series.ppd.patch

5. Tell the printer to use the patched PPD file. You can do this by opening a web browser and going to http://localhost:631/. Then go to Printers > DeskJet_3700 > Administration > Modify Printer. Accept all the defaults until you get to "Or Provide a PPD File", where you can click "Browse..." and choose the file you just patched.

The patch makes the following changes:

1. Rename "Letter/Letter 8x10" as "8x10/8x10in", and rename "USLETTER/Letter 8.5X11in" as "Letter/Letter 8.5x11in". This makes the names match the convention in other PPD files, e.g. hp-deskjet_2640_series.ppd. It also makes 8.5x11 the default paper size.

2. Remove lines containing "LETTER8.5X11/Letter 8.5X11in". This takes care of the extra entry for 8.5x11 that you see in the page setup. The dimensions for this one are actually a mixture of 8.5x11 and 8.5x14.

3. Most importantly, change the ImageableArea for Letter. It seems to have been copied from A5 on accident. I believe the ImageableArea gives the x- and y-coordinates of the bottom-left and top-right corners of the area you can print on. Another line in the PPD file says the PaperDimension for 8.5x11 is 612x792. So, if the bottom-left corner is at (8.39999961853, 8.39999961853), then for the image to be centered, the top-right corner should be at (612-8.39999961853, 792-8.39999961853).

Best Wishes,
Daniel