Re: Help with desktop printing
Re: Help with desktop printing
- Subject: Re: Help with desktop printing
- From: g3pb <email@hidden>
- Date: Thu, 15 Feb 2001 13:18:08 -0900
this may help you, from the as guidebook
try
tell application "Desktop Printer Manager"
set the DTP_name to "Color LW 12/600 PS I Love You"
set the DTP_zone to "IL3 1st"
set my_printer to make new desktop printer at desktop with
properties {name:the DTP_name, is default:true, shows manual feed
alert:false, address:{class:address specification, AppleTalk machine:the
DTP_name, AppleTalk zone:the DTP_zone, AppleTalk type:"LaserWriter",
protocol:AppleTalk}, driver name:"LaserWriter 8"}
end tell
on error the error_message
display dialog the error_message buttons {"OK"} default button 1
end try
-- hcir
mailto:email@hidden
Made with a Mac!
>
I was wondering if one of you more experienced scripters could give
>
me a hand with scripting the desktop printing manager. I can set it
>
up to make a new printer, but I always get the error that I am
>
missing a parameter for the make command. How do you specify the
>
record (driver and address) that the properties property requires for
>
the make command to actually make a new desktop printer?
>
>
If I have not been clear enough, I will try and explain better.