[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#537279: cups: "lp -n 3" gave 9 copies instead of 3



Package: cups
Version: 1.3.11-1
Severity: normal

The following command produced 9 copies instead of 3:

  pdftops -nocrop /tmp/testfile.pdf - | lp -d tll -n 3 -o Collate=True

Using "-n 2" instead of "-n 3" produced 4 copies.  I didn't want to
waste the paper, but I suspect that "-n 4" would produce 16 copies.

Perhaps the filter code to duplicate the pages is being run twice?

I'm using the 'unstable' package of poppler with one home-grown patch
so that -nocrop works properly (see <http://bugs.debian.org/536646>),
but the problem reported here shouldn't have anything to do with
-nocrop.

Here are the debugging lines from /var/log/cups/error_log:

  I [16/Jul/2009:12:31:12 -0400] [Job 845] Adding start banner page "none".
  D [16/Jul/2009:12:31:12 -0400] Discarding unused job-created event...
  I [16/Jul/2009:12:31:12 -0400] [Job 845] Adding end banner page "none".
  I [16/Jul/2009:12:31:12 -0400] [Job 845] File of type application/postscript queued by "sanjoy".
  D [16/Jul/2009:12:31:12 -0400] [Job 845] hold_until=0
  I [16/Jul/2009:12:31:12 -0400] [Job 845] Queued on "tll" by "sanjoy".
  D [16/Jul/2009:12:31:12 -0400] Discarding unused printer-state-changed event...
  D [16/Jul/2009:12:31:12 -0400] [Job 845] job-sheets=none,none
  D [16/Jul/2009:12:31:12 -0400] [Job 845] banner_page = 0
  D [16/Jul/2009:12:31:12 -0400] [Job 845] argv[0]="tll"
  D [16/Jul/2009:12:31:12 -0400] [Job 845] argv[1]="845"
  D [16/Jul/2009:12:31:12 -0400] [Job 845] argv[2]="sanjoy"
  D [16/Jul/2009:12:31:12 -0400] [Job 845] argv[3]="(stdin)"
  D [16/Jul/2009:12:31:12 -0400] [Job 845] argv[4]="2"
  D [16/Jul/2009:12:31:12 -0400] [Job 845] argv[5]="document-name=4a5f55d0b480b media=A4 sides=one-sided finishings=3 number-up=1 PageSize=Letter InputSlot=Tray2 Collate job-uuid=urn:uuid:6ce53558-b6af-3fec-68db-1ab5bc912eaa"
  D [16/Jul/2009:12:31:12 -0400] [Job 845] argv[6]="/var/spool/cups/d00845-001"
  D [16/Jul/2009:12:31:12 -0400] [Job 845] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
  D [16/Jul/2009:12:31:12 -0400] [Job 845] envp[1]="CUPS_DATADIR=/usr/share/cups"
  D [16/Jul/2009:12:31:12 -0400] [Job 845] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc-root"
  D [16/Jul/2009:12:31:12 -0400] [Job 845] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
  D [16/Jul/2009:12:31:12 -0400] [Job 845] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
  D [16/Jul/2009:12:31:12 -0400] [Job 845] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
  D [16/Jul/2009:12:31:12 -0400] [Job 845] envp[6]="CUPS_SERVERROOT=/etc/cups"
  D [16/Jul/2009:12:31:12 -0400] [Job 845] envp[7]="CUPS_STATEDIR=/var/run/cups"
  D [16/Jul/2009:12:31:12 -0400] [Job 845] envp[8]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
  D [16/Jul/2009:12:31:12 -0400] [Job 845] envp[9]="SERVER_ADMIN=root@approx"
  D [16/Jul/2009:12:31:12 -0400] [Job 845] envp[10]="SOFTWARE=CUPS/1.3.11"
  D [16/Jul/2009:12:31:12 -0400] [Job 845] envp[11]="TMPDIR=/var/spool/cups/tmp"
  D [16/Jul/2009:12:31:12 -0400] [Job 845] envp[12]="TZ=America/New_York"
  D [16/Jul/2009:12:31:12 -0400] [Job 845] envp[13]="USER=root"
  D [16/Jul/2009:12:31:12 -0400] [Job 845] envp[14]="CUPS_SERVER=/var/run/cups/cups.sock"
  D [16/Jul/2009:12:31:12 -0400] [Job 845] envp[15]="CUPS_ENCRYPTION=IfRequested"
  D [16/Jul/2009:12:31:12 -0400] [Job 845] envp[16]="CHARSET=utf-8"
  D [16/Jul/2009:12:31:12 -0400] [Job 845] envp[17]="LANG=en_US.UTF-8"
  D [16/Jul/2009:12:31:12 -0400] [Job 845] envp[18]="PPD=/etc/cups/ppd/tll.ppd"
  D [16/Jul/2009:12:31:12 -0400] [Job 845] envp[19]="RIP_MAX_CACHE=8m"
  D [16/Jul/2009:12:31:12 -0400] [Job 845] envp[20]="CONTENT_TYPE=application/postscript"
  D [16/Jul/2009:12:31:12 -0400] [Job 845] envp[21]="DEVICE_URI=http://tllp";
  D [16/Jul/2009:12:31:12 -0400] [Job 845] envp[22]="PRINTER=tll"
  D [16/Jul/2009:12:31:12 -0400] [Job 845] envp[23]="FINAL_CONTENT_TYPE=application/vnd.cups-postscript"
  I [16/Jul/2009:12:31:12 -0400] [Job 845] Started filter /usr/lib/cups/filter/pstopdf (PID 7174)
  I [16/Jul/2009:12:31:12 -0400] [Job 845] Started filter /usr/lib/cups/filter/pdftopdf (PID 7176)
  I [16/Jul/2009:12:31:12 -0400] [Job 845] Started filter /usr/lib/cups/filter/cpdftocps (PID 7177)
  I [16/Jul/2009:12:31:12 -0400] [Job 845] Started backend /usr/lib/cups/backend/http (PID 7181)
  D [16/Jul/2009:12:31:12 -0400] Discarding unused job-state-changed event...
  D [16/Jul/2009:12:31:12 -0400] cupsdProcessIPPRequest: 10 status_code=0 (successful-ok)
  D [16/Jul/2009:12:31:12 -0400] [Job 845] pstopdf 6 args: 845 sanjoy (stdin) 2 document-name=4a5f55d0b480b media=A4 sides=one-sided finishings=3 number-up=1 PageSize=Letter InputSlot=Tray2 Collate job-uuid=urn:uuid:6ce53558-b6af-3fec-68db-1ab5bc912eaa /var/spool/cups/d00845-001
  D [16/Jul/2009:12:31:12 -0400] [Job 845] PPD: /etc/cups/ppd/tll.ppd
  D [16/Jul/2009:12:31:12 -0400] cupsdCloseClient: 10
  D [16/Jul/2009:12:31:12 -0400] [Job 845] Resolution: 600
  D [16/Jul/2009:12:31:12 -0400] [Job 845] Page size: Letter
  D [16/Jul/2009:12:31:12 -0400] [Job 845] Width: 612, height: 792, absolute margins: 12.00, 12.12, 599.88, 780.00
  D [16/Jul/2009:12:31:12 -0400] [Job 845] Relative margins: 12.00, 12.12, 12.12, 12.00
  D [16/Jul/2009:12:31:12 -0400] [Job 845] PPD options: -r600 -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792
  D [16/Jul/2009:12:31:12 -0400] [Job 845] PostScript to be injected: 
  D [16/Jul/2009:12:31:12 -0400] [Job 845] Running cat | /usr/bin/ps2pdf13 -dAutoRotatePages=/None -dAutoFilterColorImages=false                -dNOPLATFONTS -dPARANOIDSAFER -sstdout=%stderr -dColorImageFilter=/FlateEncode                 -dPDFSETTINGS=/printer  -r600 -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 - -
  D [16/Jul/2009:12:31:12 -0400] [Job 845] GPL Ghostscript SVN PRE-RELEASE 8.64: Set UseCIEColor for UseDeviceIndependentColor to work properly.
  D [16/Jul/2009:12:31:13 -0400] PID 7176 (/usr/lib/cups/filter/pdftopdf) exited with no errors.
  D [16/Jul/2009:12:31:13 -0400] PID 7174 (/usr/lib/cups/filter/pstopdf) exited with no errors.
  D [16/Jul/2009:12:31:13 -0400] [Job 845] Device copies: 1; device collate: 
  D [16/Jul/2009:12:31:13 -0400] [Job 845] pdftops - copying to temp print file "/var/spool/cups/tmp/4a5f55d10d6a3"
  D [16/Jul/2009:12:31:13 -0400] [Job 845] Started filter pdftops (PID 7222)
  D [16/Jul/2009:12:31:13 -0400] [Job 845] Started filter pstops (PID 7223)
  D [16/Jul/2009:12:31:13 -0400] [Job 845] Page = 612x792; 12,12 to 600,780
  D [16/Jul/2009:12:31:13 -0400] [Job 845] slow_collate=1, slow_duplex=0, slow_order=0
  D [16/Jul/2009:12:31:13 -0400] [Job 845] Before copy_comments - %!PS-Adobe-3.0
  D [16/Jul/2009:12:31:13 -0400] [Job 845] %!PS-Adobe-3.0
  D [16/Jul/2009:12:31:13 -0400] [Job 845] %%LanguageLevel: 2
  D [16/Jul/2009:12:31:13 -0400] [Job 845] %%DocumentSuppliedResources: (atend)
  D [16/Jul/2009:12:31:13 -0400] [Job 845] %%DocumentMedia: plain 612 792 0 () ()
  D [16/Jul/2009:12:31:13 -0400] [Job 845] %%BoundingBox: 0 0 612 792
  D [16/Jul/2009:12:31:13 -0400] [Job 845] %%Pages: 2
  D [16/Jul/2009:12:31:13 -0400] [Job 845] %%EndComments
  D [16/Jul/2009:12:31:13 -0400] [Job 845] Before copy_prolog - %%BeginDefaults
  D [16/Jul/2009:12:31:13 -0400] [Job 845] Page = 612x792; 12,12 to 600,780
  D [16/Jul/2009:12:31:13 -0400] [Job 845] slow_collate=0, slow_duplex=0, slow_order=0
  D [16/Jul/2009:12:31:13 -0400] [Job 845] Before copy_setup - %%BeginSetup
  D [16/Jul/2009:12:31:13 -0400] [Job 845] Before copy_comments - %!PS-Adobe-3.0
  D [16/Jul/2009:12:31:13 -0400] [Job 845] %!PS-Adobe-3.0
  D [16/Jul/2009:12:31:13 -0400] [Job 845] %%LanguageLevel: 2
  D [16/Jul/2009:12:31:13 -0400] [Job 845] %%DocumentSuppliedResources: (atend)
  D [16/Jul/2009:12:31:13 -0400] [Job 845] %%DocumentMedia: plain 612 792 0 () ()
  D [16/Jul/2009:12:31:13 -0400] [Job 845] %%For: (sanjoy)
  D [16/Jul/2009:12:31:13 -0400] [Job 845] %%Title: ((stdin))
  D [16/Jul/2009:12:31:13 -0400] [Job 845] %RBINumCopies: 1
  D [16/Jul/2009:12:31:13 -0400] [Job 845] %%Pages: (atend)
  D [16/Jul/2009:12:31:13 -0400] [Job 845] %%BoundingBox: (atend)
  D [16/Jul/2009:12:31:13 -0400] [Job 845] %%EndComments
  D [16/Jul/2009:12:31:13 -0400] [Job 845] Before copy_prolog - %%BeginDefaults
  D [16/Jul/2009:12:31:13 -0400] [Job 845] Before copy_setup - %%BeginSetup
  D [16/Jul/2009:12:31:13 -0400] [Job 845] Before page loop - %%Page: 1 1
  D [16/Jul/2009:12:31:13 -0400] [Job 845] Copying page 1...
  D [16/Jul/2009:12:31:13 -0400] Discarding unused job-progress event...
  D [16/Jul/2009:12:31:13 -0400] [Job 845] pagew = 587.9, pagel = 767.9
  D [16/Jul/2009:12:31:13 -0400] [Job 845] bboxx = 0, bboxy = 0, bboxw = 612, bboxl = 792
  D [16/Jul/2009:12:31:13 -0400] [Job 845] PageLeft = 12.0, PageRight = 599.9
  D [16/Jul/2009:12:31:13 -0400] [Job 845] PageTop = 780.0, PageBottom = 12.1
  D [16/Jul/2009:12:31:13 -0400] [Job 845] PageWidth = 612.0, PageLength = 792.0
  D [16/Jul/2009:12:31:13 -0400] [Job 845] Copying page 2...
  D [16/Jul/2009:12:31:13 -0400] Discarding unused job-progress event...
  D [16/Jul/2009:12:31:13 -0400] [Job 845] Before page loop - %%Page: 1 1
  D [16/Jul/2009:12:31:13 -0400] [Job 845] Copying page 1...
  D [16/Jul/2009:12:31:13 -0400] [Job 845] pagew = 587.9, pagel = 767.9
  D [16/Jul/2009:12:31:13 -0400] [Job 845] bboxx = 0, bboxy = 0, bboxw = 612, bboxl = 792
  D [16/Jul/2009:12:31:13 -0400] [Job 845] PageLeft = 12.0, PageRight = 599.9
  D [16/Jul/2009:12:31:13 -0400] [Job 845] PageTop = 780.0, PageBottom = 12.1
  D [16/Jul/2009:12:31:13 -0400] [Job 845] PageWidth = 612.0, PageLength = 792.0
  D [16/Jul/2009:12:31:13 -0400] Discarding unused job-progress event...
  D [16/Jul/2009:12:31:13 -0400] Discarding unused job-progress event...
  D [16/Jul/2009:12:31:13 -0400] [Job 845] Wrote 4 pages...
  D [16/Jul/2009:12:31:13 -0400] Discarding unused job-progress event...
  D [16/Jul/2009:12:31:13 -0400] [Job 845] pagew = 587.9, pagel = 767.9
  D [16/Jul/2009:12:31:13 -0400] [Job 845] bboxx = 0, bboxy = 0, bboxw = 612, bboxl = 792
  D [16/Jul/2009:12:31:13 -0400] [Job 845] PID 7223 (pstops) exited with no errors.
  D [16/Jul/2009:12:31:13 -0400] [Job 845] PageLeft = 12.0, PageRight = 599.9
  D [16/Jul/2009:12:31:13 -0400] [Job 845] PageTop = 780.0, PageBottom = 12.1
  D [16/Jul/2009:12:31:13 -0400] [Job 845] PageWidth = 612.0, PageLength = 792.0
  D [16/Jul/2009:12:31:13 -0400] [Job 845] PID 7222 (pdftops) exited with no errors.
  D [16/Jul/2009:12:31:13 -0400] [Job 845] Copying page 2...
  D [16/Jul/2009:12:31:13 -0400] Discarding unused job-progress event...
  D [16/Jul/2009:12:31:13 -0400] [Job 845] pagew = 587.9, pagel = 767.9
  D [16/Jul/2009:12:31:13 -0400] [Job 845] bboxx = 0, bboxy = 0, bboxw = 612, bboxl = 792
  D [16/Jul/2009:12:31:13 -0400] [Job 845] PageLeft = 12.0, PageRight = 599.9
  D [16/Jul/2009:12:31:13 -0400] [Job 845] PageTop = 780.0, PageBottom = 12.1
  D [16/Jul/2009:12:31:13 -0400] [Job 845] PageWidth = 612.0, PageLength = 792.0
  D [16/Jul/2009:12:31:13 -0400] [Job 845] Copying page 3...
  D [16/Jul/2009:12:31:13 -0400] Discarding unused job-progress event...
  D [16/Jul/2009:12:31:13 -0400] [Job 845] pagew = 587.9, pagel = 767.9
  D [16/Jul/2009:12:31:13 -0400] [Job 845] bboxx = 0, bboxy = 0, bboxw = 612, bboxl = 792
  D [16/Jul/2009:12:31:13 -0400] [Job 845] PageLeft = 12.0, PageRight = 599.9
  D [16/Jul/2009:12:31:13 -0400] [Job 845] PageTop = 780.0, PageBottom = 12.1
  D [16/Jul/2009:12:31:13 -0400] [Job 845] PageWidth = 612.0, PageLength = 792.0
  D [16/Jul/2009:12:31:13 -0400] [Job 845] Copying page 4...
  D [16/Jul/2009:12:31:13 -0400] Discarding unused job-progress event...
  D [16/Jul/2009:12:31:13 -0400] [Job 845] pagew = 587.9, pagel = 767.9
  D [16/Jul/2009:12:31:13 -0400] [Job 845] bboxx = 0, bboxy = 0, bboxw = 612, bboxl = 792
  D [16/Jul/2009:12:31:13 -0400] [Job 845] PageLeft = 12.0, PageRight = 599.9
  D [16/Jul/2009:12:31:13 -0400] [Job 845] PageTop = 780.0, PageBottom = 12.1
  D [16/Jul/2009:12:31:13 -0400] [Job 845] PageWidth = 612.0, PageLength = 792.0
  D [16/Jul/2009:12:31:13 -0400] [Job 845] Wrote 4 pages...
  D [16/Jul/2009:12:31:13 -0400] PID 7177 (/usr/lib/cups/filter/cpdftocps) exited with no errors.
  D [16/Jul/2009:12:31:13 -0400] [Job 845] 1 files to send in job...
  D [16/Jul/2009:12:31:13 -0400] Discarding unused printer-state-changed event...
  D [16/Jul/2009:12:31:13 -0400] Discarding unused printer-state-changed event...
  D [16/Jul/2009:12:31:13 -0400] Discarding unused job-progress event...
  D [16/Jul/2009:12:31:13 -0400] [Job 845] Connected to 18.38.1.77:80 (IPv4)...
  D [16/Jul/2009:12:31:13 -0400] Discarding unused printer-state-changed event...
  D [16/Jul/2009:12:31:13 -0400] Discarding unused job-progress event...
  D [16/Jul/2009:12:31:13 -0400] [Job 845] Getting supported attributes...
  D [16/Jul/2009:12:31:13 -0400] [Job 845] document-format-supported (5 values)
  D [16/Jul/2009:12:31:13 -0400] [0] = "text/plain"
  D [16/Jul/2009:12:31:13 -0400] [1] = "text/plain; charset=US-ASCII"
  D [16/Jul/2009:12:31:13 -0400] [2] = "application/postscript"
  D [16/Jul/2009:12:31:13 -0400] [3] = "application/vnd.hp-PCL"
  D [16/Jul/2009:12:31:13 -0400] [4] = "application/octet-stream"
  D [16/Jul/2009:12:31:13 -0400] [Job 845] printer-uri = "http://tllp:80/";
  D [16/Jul/2009:12:31:13 -0400] [Job 845] requesting-user-name = "sanjoy"
  D [16/Jul/2009:12:31:13 -0400] [Job 845] job-name = "(stdin)"
  D [16/Jul/2009:12:31:13 -0400] Discarding unused printer-state-changed event...
  N [16/Jul/2009:12:31:13 -0400] [Job 845] Print file accepted - job ID 45.
  D [16/Jul/2009:12:31:13 -0400] Discarding unused printer-state-changed event...
  D [16/Jul/2009:12:31:13 -0400] Discarding unused job-progress event...
  D [16/Jul/2009:12:31:13 -0400] Discarding unused printer-state-changed event...
  D [16/Jul/2009:12:31:13 -0400] PID 7181 (/usr/lib/cups/backend/http) exited with no errors.
  D [16/Jul/2009:12:31:13 -0400] [Job 845] File 0 is complete.
  I [16/Jul/2009:12:31:13 -0400] [Job 845] Completed successfully.
  D [16/Jul/2009:12:31:13 -0400] Discarding unused printer-state-changed event...
  D [16/Jul/2009:12:31:13 -0400] Discarding unused job-completed event...
  D [16/Jul/2009:12:31:14 -0400] [Job 845] Unloading...
  D [16/Jul/2009:12:34:03 -0400] cupsdAcceptClient: 10 from localhost (Domain)
  D [16/Jul/2009:12:34:03 -0400] Report: clients=1
  D [16/Jul/2009:12:34:03 -0400] Report: jobs=500
  D [16/Jul/2009:12:34:03 -0400] Report: jobs-active=0
  D [16/Jul/2009:12:34:03 -0400] Report: printers=5
  D [16/Jul/2009:12:34:03 -0400] Report: printers-implicit=0
  D [16/Jul/2009:12:34:03 -0400] Report: stringpool-string-count=1874
  D [16/Jul/2009:12:34:03 -0400] Report: stringpool-alloc-bytes=9040
  D [16/Jul/2009:12:34:03 -0400] Report: stringpool-total-bytes=25768
  D [16/Jul/2009:12:34:03 -0400] cupsdReadClient: 10 POST / HTTP/1.1
  D [16/Jul/2009:12:34:03 -0400] cupsdAuthorize: No authentication data provided.
  D [16/Jul/2009:12:34:03 -0400] CUPS-Get-Printers
  D [16/Jul/2009:12:34:03 -0400] cupsdProcessIPPRequest: 10 status_code=0 (successful-ok)
  D [16/Jul/2009:12:34:03 -0400] cupsdReadClient: 10 POST / HTTP/1.1
  D [16/Jul/2009:12:34:03 -0400] cupsdAuthorize: No authentication data provided.
  D [16/Jul/2009:12:34:03 -0400] CUPS-Get-Classes
  D [16/Jul/2009:12:34:03 -0400] cupsdProcessIPPRequest: 10 status_code=0 (successful-ok)
  D [16/Jul/2009:12:34:03 -0400] cupsdCloseClient: 10
  D [16/Jul/2009:12:38:13 -0400] cupsdAcceptClient: 10 from localhost (Domain)
  D [16/Jul/2009:12:38:13 -0400] Report: clients=1
  D [16/Jul/2009:12:38:13 -0400] Report: jobs=500
  D [16/Jul/2009:12:38:13 -0400] Report: jobs-active=0
  D [16/Jul/2009:12:38:13 -0400] Report: printers=5
  D [16/Jul/2009:12:38:13 -0400] Report: printers-implicit=0
  D [16/Jul/2009:12:38:13 -0400] Report: stringpool-string-count=1874
  D [16/Jul/2009:12:38:13 -0400] Report: stringpool-alloc-bytes=9040
  D [16/Jul/2009:12:38:13 -0400] Report: stringpool-total-bytes=25768
  D [16/Jul/2009:12:38:13 -0400] cupsdReadClient: 10 POST / HTTP/1.1
  D [16/Jul/2009:12:38:13 -0400] cupsdAuthorize: No authentication data provided.
  D [16/Jul/2009:12:38:13 -0400] CUPS-Get-Printers
  D [16/Jul/2009:12:38:13 -0400] cupsdProcessIPPRequest: 10 status_code=0 (successful-ok)
  D [16/Jul/2009:12:38:13 -0400] cupsdReadClient: 10 POST / HTTP/1.1
  D [16/Jul/2009:12:38:13 -0400] cupsdAuthorize: No authentication data provided.
  D [16/Jul/2009:12:38:13 -0400] CUPS-Get-Classes
  D [16/Jul/2009:12:38:13 -0400] cupsdProcessIPPRequest: 10 status_code=0 (successful-ok)
  D [16/Jul/2009:12:38:13 -0400] cupsdReadClient: 10 POST / HTTP/1.1
  D [16/Jul/2009:12:38:13 -0400] cupsdAuthorize: No authentication data provided.
  D [16/Jul/2009:12:38:13 -0400] CUPS-Get-Default
  D [16/Jul/2009:12:38:13 -0400] cupsdProcessIPPRequest: 10 status_code=0 (successful-ok)
  D [16/Jul/2009:12:38:13 -0400] cupsdReadClient: 10 POST / HTTP/1.1
  D [16/Jul/2009:12:38:13 -0400] cupsdAuthorize: No authentication data provided.
  D [16/Jul/2009:12:38:13 -0400] Get-Printer-Attributes ipp://localhost/printers/psc
  D [16/Jul/2009:12:38:13 -0400] cupsdProcessIPPRequest: 10 status_code=0 (successful-ok)
  D [16/Jul/2009:12:38:13 -0400] cupsdReadClient: 10 POST / HTTP/1.1
  D [16/Jul/2009:12:38:13 -0400] cupsdAuthorize: No authentication data provided.
  D [16/Jul/2009:12:38:13 -0400] Get-Jobs ipp://localhost/printers/psc
  D [16/Jul/2009:12:38:13 -0400] cupsdProcessIPPRequest: 10 status_code=0 (successful-ok)
  D [16/Jul/2009:12:38:13 -0400] cupsdCloseClient: 10


The printer is a HP Color LaserJet 4650, and the PPD is almost the
same as the now-distributed
/usr/share/ppd/postscript/HP/hp_color_LaserJet_4650.ppd.gz file (I
think it was the same as an earlier version of that file).  Here's the
diff:

$ zcat /usr/share/ppd/postscript/HP/hp_color_LaserJet_4650.ppd.gz | diff -u - /etc/cups/ppd/tll.ppd
--- -	2009-07-16 12:36:32.594688476 -0400
+++ /etc/cups/ppd/tll.ppd	2006-07-05 15:47:19.000000000 -0400
@@ -37,7 +37,7 @@
 *FileVersion: "1.0.1 X"
 *HPBuildNumber: "002"
 *LanguageVersion: English
-*LanguageEncoding: ISOLatin1
+*LanguageEncoding: MacStandard
 *PCFileName: "HP4650.PPD"
 *APDialogExtension: "/Library/Printers/hp/PDEs/hpColorOptions.plugin"
 *APDialogExtension: "/Library/Printers/hp/PDEs/hpEdgeToEdge.plugin"
@@ -748,7 +748,7 @@
 *VariablePaperSize: False
 *OpenUI *PageSize: PickOne
 *OrderDependency: 30 AnySetup *PageSize
-*DefaultPageSize: Letter
+*DefaultPageSize: A4
 *PageSize Letter/Letter: "
 	<</PageSize [612 792] /ImagingBBox null /MediaClass null>> setpagedevice"
 *End
@@ -835,7 +835,7 @@
 *CloseUI: *PageSize
 *OpenUI *PageRegion:  PickOne
 *OrderDependency: 30 AnySetup *PageRegion
-*DefaultPageRegion: Letter
+*DefaultPageRegion: A4
 *PageRegion Letter/Letter: "
 	<</PageSize [612 792] /ImagingBBox null /MediaClass null>> setpagedevice"
 *End
@@ -893,7 +893,7 @@
 *CloseUI: *PageRegion
 
 *% The following entries provide information about specific paper keywords.
-*DefaultImageableArea: Letter
+*DefaultImageableArea: A4
 *ImageableArea Letter/Letter: 				"12.00 12.12 599.88 780.00"
 *ImageableArea LetterSmall/Letter (Small):	"30.00 31.00 582.00 761.00"
 *ImageableArea Legal/Legal: 					"12.00 12.12 599.88 996.00"
@@ -925,7 +925,7 @@
 *End
 
 *% These provide the physical dimensions of the paper (by keyword)
-*DefaultPaperDimension: Letter
+*DefaultPaperDimension: A4
 *PaperDimension Letter/Letter: 					"612 792"
 *PaperDimension LetterSmall/Letter (Small):		"612 792"
 *PaperDimension Legal/Legal: 					"612 1008"
@@ -997,8 +997,7 @@
 *% Media Input Source
 *OpenUI *InputSlot/Paper Source: PickOne
 *OrderDependency: 40 AnySetup *InputSlot
-*DefaultInputSlot: Auto
-*InputSlot Auto/Automatic: "<</ManualFeed false /MediaPosition 7>> setpagedevice"
+*DefaultInputSlot: Tray1
 *InputSlot Tray1/Tray 1: "
 	<</MediaPosition 3>> setpagedevice"
 *End
@@ -1753,19 +1752,19 @@
 *OpenUI *HPwmTextAngle/Watermark Angle:  PickOne
 *OrderDependency: 65 AnySetup *HPwmTextAngle
 *DefaultHPwmTextAngle: Deg45
-*HPwmTextAngle Deg90/90<B0>: "userdict /HPwmAngle 90 put"
-*HPwmTextAngle Deg75/75<B0>: "userdict /HPwmAngle 75 put"
-*HPwmTextAngle Deg60/60<B0>: "userdict /HPwmAngle 60 put"
-*HPwmTextAngle Deg45/45<B0>: "userdict /HPwmAngle 45 put"
-*HPwmTextAngle Deg30/30<B0>: "userdict /HPwmAngle 30 put"
-*HPwmTextAngle Deg15/15<B0>: "userdict /HPwmAngle 15 put"
-*HPwmTextAngle Deg0/0<B0>: "userdict /HPwmAngle 0 put"
-*HPwmTextAngle DegN15/<B0>15<B0>: "userdict /HPwmAngle -15 put"
-*HPwmTextAngle DegN30/<B0>30<B0>: "userdict /HPwmAngle -30 put"
-*HPwmTextAngle DegN45/<B0>45<B0>: "userdict /HPwmAngle -45 put"
-*HPwmTextAngle DegN60/<B0>60<B0>: "userdict /HPwmAngle -60 put"
-*HPwmTextAngle DegN75/<B0>75<B0>: "userdict /HPwmAngle -75 put"
-*HPwmTextAngle DegN90/<B0>90<B0>: "userdict /HPwmAngle -90 put"
+*HPwmTextAngle Deg90/90<A1>: "userdict /HPwmAngle 90 put"
+*HPwmTextAngle Deg75/75<A1>: "userdict /HPwmAngle 75 put"
+*HPwmTextAngle Deg60/60<A1>: "userdict /HPwmAngle 60 put"
+*HPwmTextAngle Deg45/45<A1>: "userdict /HPwmAngle 45 put"
+*HPwmTextAngle Deg30/30<A1>: "userdict /HPwmAngle 30 put"
+*HPwmTextAngle Deg15/15<A1>: "userdict /HPwmAngle 15 put"
+*HPwmTextAngle Deg0/0<A1>: "userdict /HPwmAngle 0 put"
+*HPwmTextAngle DegN15/�5<A1>: "userdict /HPwmAngle -15 put"
+*HPwmTextAngle DegN30/�0<A1>: "userdict /HPwmAngle -30 put"
+*HPwmTextAngle DegN45/�5<A1>: "userdict /HPwmAngle -45 put"
+*HPwmTextAngle DegN60/�0<A1>: "userdict /HPwmAngle -60 put"
+*HPwmTextAngle DegN75/�5<A1>: "userdict /HPwmAngle -75 put"
+*HPwmTextAngle DegN90/�0<A1>: "userdict /HPwmAngle -90 put"
 *CloseUI: *HPwmTextAngle
 
 *% =================================


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.30 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages cups depends on:
ii  adduser                3.110             add and remove users and groups
ii  bc                     1.06.94-3.1       The GNU bc arbitrary precision cal
ii  cups-client            1.3.11-1          Common UNIX Printing System(tm) - 
ii  cups-common            1.3.11-1          Common UNIX Printing System(tm) - 
ii  debconf [debconf-2.0]  1.5.27            Debian configuration management sy
ii  ghostscript            8.64~dfsg-13      The GPL Ghostscript PostScript/PDF
ii  libavahi-compat-libdns 0.6.25-1          Avahi Apple Bonjour compatibility 
ii  libc6                  2.9-20            GNU C Library: Shared libraries
ii  libcups2               1.3.11-1          Common UNIX Printing System(tm) - 
ii  libcupsimage2          1.3.11-1          Common UNIX Printing System(tm) - 
ii  libdbus-1-3            1.2.16-2          simple interprocess messaging syst
ii  libgcc1                1:4.4.0-11        GCC support library
ii  libgnutls26            2.6.6-1           the GNU TLS library - runtime libr
ii  libgssapi-krb5-2       1.7dfsg~beta3-1   MIT Kerberos runtime libraries - k
ii  libijs-0.35            0.35-7            IJS raster image transport protoco
ii  libkrb5-3              1.7dfsg~beta3-1   MIT Kerberos runtime libraries
ii  libldap-2.4-2          2.4.15-1.1        OpenLDAP libraries
ii  libpam0g               1.0.1-9           Pluggable Authentication Modules l
ii  libpaper1              1.1.23+nmu1       library for handling paper charact
ii  libpoppler4            0.10.6-1.1        PDF rendering library
ii  libslp1                1.2.1-7.6         OpenSLP libraries
ii  libstdc++6             4.4.0-11          The GNU Standard C++ Library v3
ii  lsb-base               3.2-22            Linux Standard Base 3.2 init scrip
ii  perl-modules           5.10.0-24         Core Perl modules
ii  poppler-utils [xpdf-ut 0.10.6-1.1        PDF utilitites (based on libpopple
ii  procps                 1:3.2.8-1         /proc file system utilities
ii  ssl-cert               1.0.23            simple debconf wrapper for OpenSSL
ii  ttf-freefont           20090104-3        Freefont Serif, Sans and Mono True
ii  zlib1g                 1:1.2.3.3.dfsg-14 compression library - runtime

Versions of packages cups recommends:
ii  avahi-utils             0.6.25-1         Avahi browsing, publishing and dis
ii  cups-driver-gutenprint  5.2.3-3          printer drivers for CUPS
ii  foomatic-filters        4.0-20090509-1.1 OpenPrinting printer support - fil
ii  ghostscript-cups        8.64~dfsg-13     The GPL Ghostscript PostScript/PDF
ii  smbclient               2:3.4.0-1        command-line SMB/CIFS clients for 

Versions of packages cups suggests:
ii  cups-bsd                  1.3.11-1       Common UNIX Printing System(tm) - 
ii  cups-pdf                  2.5.0-4        PDF printer for CUPS
ii  foomatic-db               20090616-1     OpenPrinting printer support - dat
ii  foomatic-db-engine        4.0-20090509-2 OpenPrinting printer support - pro
ii  hplip                     3.9.4b-1       HP Linux Printing and Imaging Syst
pn  xpdf-korean | xpdf-japane <none>         (no description available)

-- debconf information:
  cupsys/raw-print: true
  cupsys/backend: ipp, lpd, parallel, scsi, serial, socket, usb, snmp, dnssd




Reply to: