Mapping Screen to Printer

J. Landman Gay jacque at hyperactivesw.com
Wed Mar 9 13:01:01 EST 2005


On 3/9/05 8:07 AM, Len Morgan wrote:

> I'd want to create a card that could be used as an ID Badge with a 
> picture on it and the usual stuff like name, position, etc.  When I'm 
> creating this card, how can I relate the size in the Object Inspector 
> (which is in pixels) to the 2 1/8" x 3 3/8" dimensions of the physical 
> card?
> 
> I guess to make the question even more general, how can I map from pixel 
> dimensions to printer dimensions since I don't know (in advance) what 
> the resolution of the printer is (or what it might be set to by the user).

Just do all your margin and placement calculations at 72 pixels per 
inch, and Rev and the printer driver do the conversions for you.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com


More information about the use-livecode mailing list