Print margins
Mark Schonewille
m.schonewille at economy-x-talk.com
Thu Mar 27 10:49:01 EDT 2014
Hi Terry,
For my envelopes and labels, I create a stack of exactly the same size
as my paper, set the printMargins to 0,0,0,0 and then I print the card.
For multiple pages, I use open printing (with dialog), refresh the data
on the card and print the card again, until all data has been printed.
When the last data has been printed, I close printing.
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553
Installer Maker for LiveCode:
http://qery.us/468
Buy my new book "Programming LiveCode for the Real Beginner"
http://qery.us/3fi
LiveCode on Facebook:
https://www.facebook.com/groups/runrev/
On 3/27/2014 13:42, Terry Vogelaar wrote:
> I want to make software to generate a printed newsletter.
>
> First I did the page layout in HTML so I could use revBrowserPrint to print it. But to my amazement it didn't fill the whole A4 sheet. The layout was scaled down to 16 cm wide (instead of 21).
> So I did the math and scaled up the entire layout by 132%. I tried again: still 16 cm wide.
>
> I thought it might be a revBrowserPrint problem, so I printed a stack instead. What was supposed to be the top left corner was printed on a distance of 25,4 mm from the top and from the left of the paper (1 inch).
>
> I finally understood the weird scaling. Apparently every print from LC needs a margin of an inch, because 21 cm minus 2 inches is around 16 cm. I hope I'm wrong on this; I hope this can be adjusted and I like to know how.
>
> In my opinion, this margin is so wide that it looks quite silly. I understand that printers cannot use the outermost edges, but that should be around 4 mm, or 1 cm at most. Not an inch!
>
> How can I teach LC some sanity here? I would be fine with a margin of 1 cm on each side.
>
> Kind regards,
> Terry
More information about the use-livecode
mailing list