Desktop printer property change

I’m trying to change the “PPD file” property of a desktop printer without using the “make new” command. I can get the printer’s current “PPD file” property easy enough but can’t seem to figure out how to change just that property. Any ideas are welcome…
Thanks
Joe

tell application "Finder"
	set DTPPD to selection as alias
end tell

tell application "Desktop Printer Manager"
	set PPD file of default printer to DTPPD
	get PPD file of default printer
end tell

Luck,

–tet

OK, thanks. That’s pretty much what I was trying. I thought it wasn’t working but it was. However, although it does change the PPD for the printer, the desktop printer icon remains incorrect and does not change along with the PPD. Any ideas about that?

Joe

Um, rebuild the desktop? I don’t know if you can script that, though.
–tet