Printing onto custom paper (filling in forms)
Printing onto custom paper (filling in forms)
- Subject: Printing onto custom paper (filling in forms)
- From: Ben <email@hidden>
- Date: Thu, 28 Aug 2014 14:20:46 +0100
I'm trying to make a tool for myself to fill in some repetitive forms. They've got a custom paper size with a series of boxes to be filled in.
Given that I know the dimensions of the paper and the locations and dimensions of the boxes to fill in, I should be able to draw a view that prints onto these sheets. However, I'm getting lost in the printing system trying to figure out what steps I need to take to get this working.
I don't understand how to go from the physical paper size (say 80mm wide, 150mm tall) to the paper size Cocoa wants in points. Is there a method that gives a scaling factor from points to any physical unit?
I'll also need to precisely position drawn strings in the view to print, so will presumably need to translate points to physical dimensions when drawing too.
Can anyone point me to something that might explain how to proceed here?
Thanks,
Ben
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden