Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Printer's Paper Sizes



I unfortunately don't have an answer to this question, but would be curious to see the working code if you figure it out.

I have a somewhat related question. Is it possible to get access to the same paper size list for a printer that the page setup dialog uses? This list is sometimes hierarchical (for example, with HP Photosmart printers). I could possibly guess at the algorithm Apple is using to create and sort this list, but would much rather just get access to the one that's already being used. Anybody know if it's possible?

Dan Messing
Stunt Software


On May 12, 2005, at 7:02 PM, Alex Kettner wrote:

Hi,

I have a routine that gets the list of available printers. It also calls PMPrinterIsFavorite to see whether to add the printer to the list or not. Here is what I am noticing. If I create a few printers and then call my routine it builds the list fine. If I go into the Printer Setup Utility and deselect one of the printers (uncheck In Menu) and then run my routine it does not pick up the change (PMPrinterIsFavorite still returns true for all printers in the list). If I then go into the print dialog of my application and look at the list of printers it seems at that point the change in the Printer Setup Utility has been honored. If I then run my routine, sure enough only the selected printers show up in my list. Is there something I need to do at the start of the routine to pick up the change in the printer list (In Menu checkbox changes)?

Thank you,

Alex Kettner

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Printing mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/printing/email@hidden

This email sent to email@hidden

References: 
 >PMPrinterIsFavorite question (From: Alex Kettner <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.