Printing puzzle

Thomas McGrath III mcgrath3 at mac.com
Wed Jun 19 08:56:23 EDT 2013


Jac, all this explanation needs is a code example and it could replace the docs on printing. Nice.

Tom

-- Tom McGrath III
http://lazyriver.on-rev.com
mcgrath3 at mac.com

On Jun 19, 2013, at 12:01 AM, J. Landman Gay <jacque at hyperactivesw.com> wrote:
> I'm not sure I follow all that, but I'll toss out a couple of things. The printPaperSize won't change unless the user changes the paper feed setting in the print setup (or a script changes it) -- it's the physical size of the paper. If they change from letterhead to envelope, the printPaperSize will change, otherwise it won't.
> 
> Every printer has a hard, physical limitation on how far from the edges it will print. If you get a half-inch unprintable margin at 100% scale, it will still be the same at any other scale. The print head won't travel any closer to the edge than half an inch.
> 
> The printRectangle represents the largest available printing area for the paper that's currently loaded, and takes the unprintable area into account. The scale of the printout doesn't change that available area, though it will be filled with more or fewer pixels depending on the print scale.
> 
> I'm not sure if you're trying to print outside the available print region (you can't), or if you're trying to scale your card to fit it.
> 
> -- 
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
> 




More information about the use-livecode mailing list