Good day everyone,
Apple’s own printer proxy application, which bundle id is “com.apple.print.PrinterProxy”, has the AppleScript abilities.
This app is found in Printers folder of local user’s Library.
Does any one know how to get its dictionary statements work in applescript?
There is a suite called “Printer Proxy Suite” with 3 custom classes in it and their properties. And thats it.
Here they are:
printer n : A printer
elements
contains jobs.
properties
name (text, r/o) : the name that identifies this printer on the network
status description (text, r/o) : a description of the activity, if any, currently being performed by this printer
printer paused (boolean, r/o) : whether this printer is paused and whether to resume / pause the printer
job n : A print job
elements
contained by printers.
properties
priority (text, r/o) : the order of precedence of this job in the print queue
name (text, r/o) : the name that identifies this job in the print queue
user name (text, r/o) : the user who submitted this job into the print queue
submit time (text, r/o) : the time when this job was submitted
printing application (text, r/o) : the application where this job was printed from
status (text, r/o) : a description of the activity, if any, currently being performed on this job
application n [see also Standard Suite]
properties
represented printer (printer) : the printer represented by this printer proxy
Thanks in advance!
To be more precise.
I tried all the possible AppleScript expressions I know, wrapped into this:
tell application id "com.apple.print.PrinterProxy"
-- property request
end tell
Nothing seem to work. I always get the “error number -1728 from *** of «class prnt»”
P.S. What I’m trying to do is to have some feedback from Lisanet’s PDFwriter installed on my mac.