Scripting and printing
Scripting and printing
- Subject: Scripting and printing
- From: Paul Thompson <email@hidden>
- Date: Tue, 29 Nov 2005 15:09:00 -0500
Greetings everyone,
I am trying to write a script that will prompt users for a name
and password, and then take those two pieces of information and drop
them into a file in the username and password places. The file
resides in /private/etc/cups/ It is the printers.conf file, and is
the one that is written to by the Printer Setup Utility. This is
what that file looks like:
# Printer configuration file for CUPS v1.1.23
# Written by cupsd on Wed Oct 26 16:33:57 2005
<DefaultPrinter ArtandDes1>
Info ArtandDes1
Location Ucc
DeviceURI smb://username:password@Ucc/Server-Print/ArtandDes1
State Idle
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>
<Printer CompLab1>
Info CompLab1
Location Ucc
DeviceURI smb://username:password@Ucc/Server-Print/CompLab1
State Idle
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>
<Printer CompLab2>
Info CompLab2
Location Ucc
DeviceURI smb://username:password@Ucc/Server-Print/CompLab2
State Idle
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>
Does anyone have a script that they would be willing to share? I
have a rough idea how how it's suppose to be, but I'm in way over my
head here, and I need some help.
Thank you,
Paul
_______________________________________________
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