+++ This bug was initially created as a clone of Bug #447492 +++ Description of problem: The top and left margin will get slashed when printing using lp/lpr. Version-Release number of selected component (if applicable): cups-1.3.7-2.fc8 How reproducible: Always Steps to Reproduce: 1. Create a plain text file test.txt, make sure it's composed of more than 1 pages, then we can see the four margins: 2. List the available printer: $lpstat -p -d 3. Print using lp/lpr $lp test.txt -d [PrinterName] or $lpr test.txt -P [PrinterName] Actual results: The top and left margin get slashed. Expected results: All four margins printed normally. Additional info:
1. Text file I used to test is attached, Attachment #306440 [details]. 2. PPD file has been attached, Attachment #306441 [details]. 3. The exact make and model of the printer Make: HP Model: Deskjet D1468 4. the output of 'locale' $locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL= 5. the physical dimensions of the paper you are printing on (is it A4, US Letter, something else..?) A4 6. Version of cups $rpm -q cups cups-1.2.4-11.18.el5 7. fonts on my testing machine: $rpm -qa | grep fonts xorg-x11-fonts-base-7.1-2.1.el5 xorg-x11-fonts-truetype-7.1-2.1.el5 tetex-fonts-3.0-33.2.el5_1.2 ghostscript-fonts-5.50-13.1.1 dejavu-lgc-fonts-2.10-1 xorg-x11-fonts-ISO8859-1-75dpi-7.1-2.1.el5 xorg-x11-fonts-misc-7.1-2.1.el5 xorg-x11-fonts-75dpi-7.1-2.1.el5 bitstream-vera-fonts-1.10-7 bitmap-fonts-0.3-5.1.1 liberation-fonts-1.0-1.el5 xorg-x11-fonts-ISO8859-1-100dpi-7.1-2.1.el5 xorg-x11-fonts-100dpi-7.1-2.1.el5 urw-fonts-2.3-6.1.1 xorg-x11-fonts-Type1-7.1-2.1.el5 fonts-chinese-3.02-12.el5 $fc-match Serif DejaVuLGCSerif.ttf: "DejaVu LGC Serif" "Book" $fc-match Sans DejaVuLGCSans.ttf: "DejaVu LGC Sans" "Book" $fc-match Monospace DejaVuLGCSansMono.ttf: "DejaVu LGC Sans Mono" "Book"
The PPD is set to print US Letter pages by default, and your locale is not an A4 locale. You should set your system locale to the correct value using System->Administration->Language so that automatically-created queues get the correct page size. Additionally, you need to fix the page size of your existing queue using System->Administration->Printing (select the printer and go to the Printer Options tab).
*** Bug 447492 has been marked as a duplicate of this bug. ***