Visit Jeremy's Blog.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 01-29-2008, 06:33 AM   #1
Registered: Oct 2007
Posts: 101

Rep: Reputation: 15
Thumbs up 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.

Old 01-30-2008, 03:32 AM   #2
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Local Network WinXP - Linux: share printer and files Lead Expression Linux - Networking 1 01-06-2007 07:04 AM
Installing Canon LBP USB Printer as network printer on a Fedora Core without XWindow boy3dfx2 Linux - Newbie 5 06-03-2006 01:23 PM
installing lexmark 73 as local printer Daniel49 Ubuntu 2 01-04-2006 07:32 PM
Printer sharing/ local network cotom Linux - Newbie 3 10-02-2005 08:58 AM
Local or Network Printer SamothB Linux - Networking 0 10-07-2003 03:34 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:57 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration