[cups.general] ImageableArea for scaling
Michael Sweet
msweet at apple.com
Tue May 29 20:17:16 PDT 2012
David,
The following command will set the default for the queue:
lpadmin -p printer -o fit-to-page-default=true -o fitplot-default=true
and if you have access to the client sources you can just add boolean attributes with those names to the print job request.
On May 29, 2012, at 7:43 PM, David Wong wrote:
> Hi Michael,
>
> My client submits their job through IPP not by issuing “lp”, so is there a way to set it within CUPS (1.4.2 Red Hat)? From CUPS web interface, I cannot find it in all printers, HP has similar option but it did not exist for Kyocera. The only way it worked for me was through system-config-printer; it can select “Scale to fit” under “Job Option”
>
> Thanks,
> David
>
> On Mon, May 28, 2012 at 12:05 PM, Michael Sweet <msweet at apple.com> wrote:
> David,
>
> On May 27, 2012, at 8:02 PM, David Wong wrote:
>> Hi,
>>
>> I need to print A4 documents to a Kyocera Letter size only printer. Part of the document was cropped. For HP LaserJet, I was able to redefine the ImageableArea in the PPD file to scale it. However, this did not work for Kyocera. I would like to know is it CUPS’s job to do the actual scaling or it is up to the printer to do the scaling?
>>
>
> Unless instructed, it is the printer's job. However, CUPS supports the "fit-to-page" option in recent versions (used to be called "fitplot") which will accomplish what you want:
>
> lp -d printer -o fitplot filename
>
> or:
>
> lp -d printer -o fit-to-page filename
>
> ________________________________________________________________________
> Michael Sweet, Senior Printing System Engineer, PWG Chair
>
>
> _______________________________________________
> cups mailing list
> cups at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups
>
>
> _______________________________________________
> cups mailing list
> cups at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups
________________________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cups.org/pipermail/cups/attachments/20120529/538db33f/attachment-0001.html>
More information about the cups
mailing list