Setting up a card to be A4 sized for printing?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Setting up a card to be A4 sized for printing?
I want to make stack that let's me print out an invoice for my clients. But I'm not sure how to setup the dimensions of the stack in order to print at A4 size...
How do I determine what dimensions I'll need for my stack or card? Or, at least the area in question that will need to be printed?
Thanks in advance,
~Garrett
How do I determine what dimensions I'll need for my stack or card? Or, at least the area in question that will need to be printed?
Thanks in advance,
~Garrett
-
- VIP Livecode Opensource Backer
- Posts: 977
- Joined: Sat Apr 08, 2006 7:47 am
- Contact:
Hi Garrett,
If you're using Revolution 2.9 or higher, this is pretty easy to determine.
Also, when printing under Windows, it's best to use the 'formatForPrinting' stack property - otherwise the printout may not quite look as you anticipated. This is due to the difference in Windows between on-screen fonts and printer fonts, so Revolution had to compromise.
Hope this helped,
Jan Schenkel.
If you're using Revolution 2.9 or higher, this is pretty easy to determine.
Code: Select all
on mouseUp
answer page setup
if the result is "Cancel" then exiut mouseUp
answer the printPaperSize
end mouseUp
Hope this helped,
Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com
www.quartam.com
I'm still lost.
I want to design the form as a card. How do I find out how wide my card should be, and how high it should be to be the size of the paper? That's my crux.. Well, actually, my crux is that I'm clueless on this at the moment
Like how many pixels wide and high.
Yes, Rev 2.9 btw.
Thanks,
~Garrett
I want to design the form as a card. How do I find out how wide my card should be, and how high it should be to be the size of the paper? That's my crux.. Well, actually, my crux is that I'm clueless on this at the moment

Like how many pixels wide and high.
Yes, Rev 2.9 btw.
Thanks,
~Garrett