开发者

Printing Issue : Setting Paper feed

How to get the paper feed, to set it and to obtain 开发者_开发知识库the list of available paper feed on a printer ? I need to specify the paper tray number from which the paper has to be printed without  putting up the print dialog box in cocoa?

Any thoughts?


Though it is an old thread. There aren't may answers about this problem on the internet. I succeeded in making it work by setting the InputSlot key on the [printInfo printSettings] dictionary.

[[myPrintInfo printSettings] setObject:@"Tray5" forKey:@"InputSlot"]

It might or might not work for you as I don't know how printer dependent this setting is.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜