Creating a PS printer with Desktop Printer Manager
Creating a PS printer with Desktop Printer Manager
- Subject: Creating a PS printer with Desktop Printer Manager
- From: Ferenc Farkas MÁTYÁS <email@hidden>
- Date: Mon, 20 Sep 2004 17:36:55 +0200
Hi all,
When I create a desktop printer with Desktop Printer Utility that meets
my requirements, the properties are the following:
Hi all,
When I create a desktop printer with Desktop Printer Utility that meets
my requirements, the properties are the following:
--> {
name:"Postscript",
container:alias "video 60 GB:Desktop Folder:",
is default:true,
PPD file:alias "video 60 GB:System Folder:Extensions:Printer
Descriptions:BP57_23.PPD",
queue size:0,
queue status:idle,
queue stopped:false,
shows manual feed alert:false,
address:{
class:address specification,
destination folder:alias "video 60 GB:Desktop Folder:PS:In:",
protocol:translator
},
driver name:"AdobePS"
}
the code for generating the desktop printer:
tell application "Desktop Printer Manager"
set printers to get name of every desktop printer as string
if printers does not contain "Postscript" then
make new desktop printer with properties {name:"Postscript",
container:alias "video 60 GB:Desktop Folder:", is default:true, queue
size:0, queue status:idle, queue stopped:false, PPD file : alias "video
60 GB:System Folder:Extensions:Printer Descriptions:BP57_23.PPD", shows
manual feed alert:false, address:{class:address specification,
destination folder:alias "video 60 GB:Desktop Folder:PS:In:",
protocol:translator}, driver name:"AdobePS"}
tell desktop printer "Postscript"
set PPD file of desktop printer "Postscript" to alias "video 60
GB:System Folder:Extensions:Printer Descriptions:BP57_23.PPD"
end tell
end if
end tell
I've found the following trick with the PPD file property, but
unfortunately I do not have a connection to the printer, hence it's
only a translator:
http://www.codecomments.com/archive262-2004-4-174280.html
the error message, with and without the PDF File.... sentence in the
make new de.... line:
script writer TFP” finished
--> Desktop Printer Manager got an error: Cannot find a PostScript™
Printer Description file that matches the printer. The printer has been
set up as a generic printer. Any special features will be unavailable
until the printer is set up with the printing software that came with
it.
BTW the desktop printer gets created with the generic PPD slected.
Is it possible to create a PS printer with Desktop Printer Manager?
Thanks in advance!
--
Regards,
Ferenc Farkas MÁTYÁS
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden