• 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
Re: No-frills print to label printer help please
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: No-frills print to label printer help please


  • Subject: Re: No-frills print to label printer help please
  • From: Rick Mann <email@hidden>
  • Date: Mon, 26 May 2008 10:24:12 -0700


On May 26, 2008, at 07:35:50, Boaz Stuller wrote:

I haven't tested that, but that should scale up your view to approximately the page size. OTOH, if you know the label size in advance you can just multiply the inches by 72 to get the size your view needs to be able to fill the label and just create it at least that size. For a 2.34 x 4 label, that would be a label 169 x 288, but as long as you preserved the aspect ratio, you could make it any amount bigger and still be fine if you use NSFitPagination.


So, I tried scaling my displayed view just by setting the CTM, and that ended up clipping to the view bounds.

Then I tried creating a new view with the page size values (approximately 2288 x 166). For some reason, this *still* prints smaller on the page. The printer is actually 300 DPI, and it's as if I have to scale to 2.31" X 4" (* 300) to get it to do exactly what I want, but now we're working in device coordinates, which seems to go against the docs and common sense.

This is getting to be very frustrating :-(

Thanks for your suggestions.

--
Rick

_______________________________________________

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: No-frills print to label printer help please
      • From: "Boaz Stuller" <email@hidden>
References: 
 >No-frills print to label printer help please (From: Rick Mann <email@hidden>)
 >Re: No-frills print to label printer help please (From: "Boaz Stuller" <email@hidden>)
 >Re: No-frills print to label printer help please (From: Rick Mann <email@hidden>)
 >Re: No-frills print to label printer help please (From: "Boaz Stuller" <email@hidden>)

  • Prev by Date: Re: How hard is it to learn Cocoa - Survey ?
  • Next by Date: NSFileManager's errors in 10.5, where are they documented?
  • Previous by thread: Re: No-frills print to label printer help please
  • Next by thread: Re: No-frills print to label printer help please
  • Index(es):
    • Date
    • Thread