Getting Printer Status from a Cocoa App -


How can I get a position on a printer from a cocoa app?

I have the number of queued jobs and current status of the printer (current, paused, error, etc.).

I understood this. Use cup api to get job description for printer.

Int nJobs = cupsGetJobs2 (http_, and Task, Zero, 0, Caps_WHichJOBS_ACTIVE);


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -