problem with creating desktop printers
problem with creating desktop printers
- Subject: problem with creating desktop printers
- From: "Manuel Deschambault" <email@hidden>
- Date: Tue, 08 Oct 2002 21:14:26 -0400
I work for a schoolboard and we use assimilator from stairways to maintain
our macs, and the ability to create printers from scratch after each
assimilation is a big bonus. i use the following script:
tell application "Pilotage Services dimpression"
make new desktop printer with properties {name:"Brother HL-1870N",
container:alias "Disque dur:Desktop Folder:", is default:true, PPD
file:alias "Disque dur:Dossier Systhme:Extensions:Descriptions
dimprimantes:Brother HL-1850_1870N series", queue size:0, queue
status:idle, queue stopped:false, shows manual feed alert:true,
address:{class:address specification, AppleTalk machine:"Brother
HL-1870N", AppleTalk zone:"*", AppleTalk type:"LaserWriter",
protocol:AppleTalk}, driver name:"LaserWriter 8"}
end tell
This works fine as long as the printer responds, but if the printer is
frozen, or has a paper jam, I get the 'apple event time out' message. But
what is worse is that the finder ceases to respond to any apple event,
cant move and item to trash, select menus, etc... I've used try and on
error, and that does allow me to continue my scripts, but to no avail
since finder no longer will process Apple events. I've tried, with
timeout, ignore applications responses, nothing works. I have to
force-quit the finder to get it to process apple events again.
So basically, I have no way to stop the finder from dropping apple events
if my printer doesn't respond (which is frequent in our school
environment).
Any suggestions?
Thanks for the help, please also send reply to
email@hidden
Manuel
_______________________________________________
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.