Hi Michael,<div><br></div><div>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”</div>
<div><br></div><div>Thanks,</div><div>David<br><br><div class="gmail_quote">On Mon, May 28, 2012 at 12:05 PM, Michael Sweet <span dir="ltr"><<a href="mailto:msweet@apple.com" target="_blank">msweet@apple.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">David,<div><div class="im"><br><div><div>On May 27, 2012, at 8:02 PM, David Wong wrote:</div>
<blockquote type="cite">Hi,<div><br></div><div><p class="MsoNormal">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?</p></div></blockquote></div></div><div>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:</div>
<div><br></div><div><span style="white-space:pre-wrap"> </span>lp -d printer -o fitplot filename</div><div><br></div><div>or:</div><div><br></div><div><span style="white-space:pre-wrap">    </span>lp -d printer -o fit-to-page filename</div>
<div><br></div><div>
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Geneva;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Monaco;word-spacing:0px"><div style="word-wrap:break-word">
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Monaco;word-spacing:0px"><div style="word-wrap:break-word">
<div>________________________________________________________________________</div><div>Michael Sweet, Senior Printing System Engineer, PWG Chair</div></div></span></div></span></span>
</div>
<br></div></div><br>_______________________________________________<br>
cups mailing list<br>
<a href="mailto:cups@easysw.com">cups@easysw.com</a><br>
<a href="http://lists.easysw.com/mailman/listinfo/cups" target="_blank">http://lists.easysw.com/mailman/listinfo/cups</a><br>
<br></blockquote></div><br></div>