• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Printing onto custom paper (filling in forms)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Printing onto custom paper (filling in forms)
      • From: Keary Suska <email@hidden>
  • Prev by Date: Re: CALayer disappears on view resize...
  • Next by Date: Re: Printing onto custom paper (filling in forms)
  • Previous by thread: Re: CALayer disappears on view resize...
  • Next by thread: Re: Printing onto custom paper (filling in forms)
  • Index(es):
    • Date
    • Thread