Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,000 hints and counting!


Click here to return to the 'CUPS-PDF - A free virtual PDF printer' hint
The following comments are owned by whomever posted them. This site is not responsible for what they say.
CUPS-PDF - A free virtual PDF printer
Authored by: NovaScotian on Tue, Aug 28 2007 at 5:38PM PDT
I use CUPS-PDF, and have this little script in my Scripts menu to move through my printers:
tell application "Printer Setup Utility"
	activate
	repeat
		set myPrinters to every printer
		set C to count myPrinters
		set DefaultPrinter to current printer
		repeat with k from 1 to C
			if item k of myPrinters is DefaultPrinter then
				set current printer to item ((k mod C) + 1) of myPrinters
				exit repeat
			end if
		end repeat
		if button returned of (display dialog (name of current printer) as text default button 1 buttons {"OK"} with title "Press Enter when Printer is Correct" giving up after 1.5) is "OK" then exit repeat
	end repeat
	quit
end tell


[ Reply to This | # ]