• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Applescript and Desktop Printer Manager in MacOS 9.2.2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Books (was Re: Resurgence in AppleScript interest)
  • Next by Date: Re: creating temp files??
  • Previous by thread: Re: Books (was Re: Resurgence in AppleScript interest)
  • Next by thread: Sending postscript file to printer
  • Index(es):
    • Date
    • Thread