LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   how to write a program for installing printer (local/network) (https://www.linuxquestions.org/questions/programming-9/how-to-write-a-program-for-installing-printer-local-network-617104/)

kkpal 01-29-2008 06:33 AM

how to write a program for installing printer (local/network)
 
hi all

Can anyone help me to write a program for installing printer on linux using bash script.


Regards
KKPal

b0uncer 01-30-2008 03:32 AM

It's probably as easy as adding a new section to /etc/cups/printers.conf, but the tricky part is to get the right DeviceURI for the printer - where the printer is connected at. So to start off, try to find out how to "ask" the DeviceURI. And have a look at the printers.conf file.


All times are GMT -5. The time now is 03:44 PM.