Hi folks,

My tests...

put "595,842" into thePaperSize
put "20" into theMargin

-- get the page area:
set the printMargins to theMargin,theMargin,theMargin,theMargin
put theMargin,theMargin, item 1 of thePaperSize - theMargin, item 2 of
thePaperSize - theMargin into destinationRect
-- print into that rectangle:
open printing to pdf "/Users/joss/Desktop/card_test.pdf"
print this card into destinationRect
close printing

With "20" into the margin is the best aproximation, some graphics inside are
a little small, so I print for a card game, and I need that the card have
the exact size. If I down the margin I get the real size but the bottom is
cutted.

Any idea?

Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Open-printing-to-PDF-bug-tp2550663p2550844.html
Sent from the Revolution - User mailing list archive at Nabble.com.
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to