Applescript and Desktop Printer Manager in MacOS 9.2.2
Applescript and Desktop Printer Manager in MacOS 9.2.2
- Subject: Applescript and Desktop Printer Manager in MacOS 9.2.2
- From: "Friedwagner Klaus" <email@hidden>
- Date: Thu, 12 Jun 2003 09:47:04 +0200
- Thread-topic: Applescript and Desktop Printer Manager in MacOS 9.2.2
After making a new printer with Applescript as described later I have an
additional problem.
When I open the Printer with the Print Manager I cant see the address.
Has anyone ever seen this problem? Is there a workaround?
Thanks for help to Shane Stanley
Here is the code to make a new desktop-printer:
tell application "Desktop Printer Manager"
try
make new desktop
printer ,
at alias "HD:Desktop Folder:Drucker:" with properties
{name:"DTP_Name", ,
PPD file:generic, ,
address:{class:address specification, ID:"servername", queue
name:"queuename", protocol:IP}, ,
driver name:"LaserWriter 8"}
on error errText number errNum
if errNum = 128 then
log {errNum, errText}
else
display dialog "Fehler :" & errNum & return & errText
end if
end try
tell desktop printer "DTP_Name"
set PPD file to alias
"HD:Systemordner:Systemerweiterungen:Druckerbeschreibungen:Acrobat Distiller"
end tell
end tell
Klaus friedwagner
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.