• 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 issues
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Printing issues


  • Subject: Printing issues
  • From: Andrew Kinnie <email@hidden>
  • Date: Wed, 20 Apr 2005 14:45:53 -0400

I am having issues with the Cocoa printing system. I am writing a POS app, and am trying to work with a receipt printer.

First, despite changing the printer programmatically in the NSPrintInfo object I got from the [NSPrintInfo sharedPrintInfo] method, when I print (without showing the print panel), the print job goes to the default printer. I was under the impression that the sharedPrintInfo object was created for each app, and that setting the printer would tell the app to use that printer for print jobs. This isn't a big deal, but obviously requiring the user to have a print panel pop up every time they print, just so they can select the receipt printer is annoying if the mac is ever used for anything else.

Second, I also hand coded the paper size, because I can't figure out how to determine the available paper sizes for a particular printer. Is there a way to do this?

Andrew

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Printing issues
      • From: Frank Fenn <email@hidden>
  • Prev by Date: Need more help with mouse input....
  • Next by Date: Binding to a non-compliant property
  • Previous by thread: Re: Need more help with mouse input....
  • Next by thread: Re: Printing issues
  • Index(es):
    • Date
    • Thread