CUPS 1.4.6, HP PhotoSmart C7280, lpr, option media ignored

Martin Jacobs martin.jacobs at nexgo.de
Fri Jul 15 13:27:43 PDT 2011


> Hi,
>
> HP PhotoSmart C7280 has two input paper trays, one for "normal" sized paper sheets and one for 4"x6" photo paper sheets
> (quality Glossy). Using Web CUPS' web front end, I did create a printer queue for printing photos.
> [...]
>
> 2) Print that image:
>
> lpr -P rembrandt-photo -o media=Photo4x6 label.png
>
> From error.log:
> argv[5]="finishings=3 media=Photo4x6 number-up=1 job-uuid=urn:uuid:b62c5963-dc30-31b7-7ba7
> -65cabdce2060 job-originating-host-name=localhost time-at-creation=1308930545 time-at-processing=1308930545 AP_D_InputSlot= PageSize=Photo4x6"

Same with CUPS 1.4.7

>
>
> lpr -P rembrandt-photo -o media=Photo4x6,PhotoTray label.png
>
> From error.log:
> argv[5]="finishings=3 media=Photo4x6,PhotoTray number-up=1 job-uuid=urn:uuid:0e33c9c7-c3e7
> -3ee1-6176-732a5ad03a62 job-originating-host-name=localhost time-at-creation=1308930665 time-at-processing=1308930665 AP_D_InputSlot
> = PageSize=Photo4x6"
>

Same with CUPS 1.4.7

>
> lpr -P rembrandt-photo -o media=Photo4x6,PhotoTray,Glossy label.png
>
> From error.log:
> argv[5]="finishings=3 media=Photo4x6,PhotoTray,Glossy number-up=1 job-uuid=urn:uuid:766fc9
> c2-0a8d-3afa-7cbe-c92d179a6039 job-originating-host-name=localhost time-at-creation=1308930892 time-at-processing=1308930892 AP_D_In
> putSlot= PageSize=Photo4x6"
>

Same with CUPS 1.4.7

>
> lpr -P rembrandt-photo -o media=Glossy label.png
>
> finishings=3 media=Glossy number-up=1 job-uuid=urn:uuid:74fe9693-e00a-3f09-5fdf-b
> a254aca629a job-originating-host-name=localhost time-at-creation=1308931098 time-at-processing=1308931098 AP_D_InputSlot="
>

Same with CUPS 1.4.7

>
> These print processes are using filters imagetoraster and hpcups and as backend hp. Binary imagetoraster belongs to CUPS 1.4.6 and
> hpcups and hp to package hplip 3.11.3a.
>
>
> My impression: parsing option media into ints parts seems to fail. Only media size seems to be translated into PageSize.
>
>
> Question: Is this a bug of lpr? Or documentation?
>
> Any idea?
>
> Thanks in advance.

Martin




More information about the cups mailing list