|
|
|
#1 |
|
Tim
Join Date: May 2001
Location: Ottawa
Posts: 11,873
|
Added two new options to PRINT.IMAGE to support allow the image to be scaled up or down to fill the page. Both options select the best page orientation based on the ascpect ratio of the image being printed (to minimize scaling artifacts). The first option, FITTOPAGE, scales the image uniformly (up or down) and maintains the original aspect ratio of the image. The image may not fill the entire page unless the aspect ratio of the images matches the page. The second option, STRETCHTOFIT, will scale the image up or down to fill entire printable page. The scaling is not uniform and the image may look "distorted" as a result. This is arguably the least useful of the two but I had requests for it so it's there. You can use only one of these options at any time. They must appear at the end of the list of other arguments or as the first and only argument. In the examples below you can use STRETCHTOFIT anywhere I've used FITTOPAGE. fscommand("PRINT.IMAGE", "FITTOPAGE"); fscommand("PRINT.IMAGE", "10,10,100,100,FITTOPAGE"); |
|
|
|