to set your printer like default in my case . using the name you can extract from this line device-uri=hp:/usb/Officejet_4500_G510g-m?serial=CN113F81FP05CQ
lpoptions -d “Officejet_4500_G510g-m”
you can use sudo before lpoptions if you can't set it like normal user.
We have many printers and people need to set their default printer.
Also we have large multifunction printers that need account codes and a lot of
other options.
To make it manageable people set up instances with sets of options for various
projects.
Using kde 3.5 could do it all in Control Center with a nice user interface.
I can't seem to find any way to get the job done in kde 4.4.