Re: Creating printers
Re: Creating printers
- Subject: Re: Creating printers
- From: "Reese, Stevan" <email@hidden>
- Date: Wed, 19 Jan 2005 07:38:55 -0800
do shell script "/usr/sbin/lpadmin -p AppleTalk_Printer_Name -E -v pap://*/
AppleTalk_Printer_Name/LaserWriter -P
/Library/Printers/PPDs/Contents/Resources/PPD\\ file\\ name "
or
do shell script "/usr/sbin/lpadmin -p Printer_Name -E -v lpd://192.168.1.128
-P /Library/Printers/PPDs/Contents/Resources/en.lproj/PPD\\ File\\ Name.gz"
See also http://localhost:631/
more specifically http://localhost:631/sam.html#MANAGING_PRINTERS
If you use the same printer in Classic you would have to add something to
build the printer for Classic.
stevan
On 1/19/05 6:20 AM, "Steve Roy" <email@hidden> wrote:
> Good morning,
>
> I need to find a way to create a printer so that it will appear in
> Printer Setup Utility. Is there a way to do this via script, either
> with a shell script or an AppleScript?
>
> The obvious thing I did was look at the Printer Setup Utility
> dictionary, but it seems to be lacking the ability to create a new
> printer. I can do 'make new printer at beginning with properties...'
> and this returns no error but it doesn't appear in Printer Setup
> Utility, and there is no property to hook up the printer with an actual
> print driver.
>
> So how does CUPS do it?
>
> Steve
_______________________________________________
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