Page 1 of 1

Setting up a card to be A4 sized for printing?

Posted: Mon Sep 29, 2008 10:31 pm
by Garrett
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

Posted: Tue Sep 30, 2008 6:27 am
by Janschenkel
Hi Garrett,

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
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.

Posted: Tue Sep 30, 2008 7:14 am
by Garrett
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

Posted: Tue Sep 30, 2008 8:23 am
by Klaus
Hi Garret,

595*842 pixels = DIN A4
72 pixels = 1 inch = 2.54 cm


Best

Klaus

Posted: Tue Sep 30, 2008 9:34 am
by Garrett
That's what I was looking for.... Thank you thank you thank you thank you! :-)

You all are great.. Sorry if I'm a bit dim sometimes. My mind isn't what it used to be.

Thanks again so much folks,
~Garrett

Posted: Tue Sep 30, 2008 9:53 pm
by Garrett
Jan, apologies to you... I now see you did give me the answer! What you gave me allows me to see the pixel sizes of whatever form is selected.

Thank you! :-)
~Garrett