LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 01-29-2008, 07:33 AM   #1
kkpal
Member
 
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.


Regards
KKPal
 
Old 01-30-2008, 04:32 AM   #2
b0uncer
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.
 
  


Reply


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 08:04 AM
Installing Canon LBP USB Printer as network printer on a Fedora Core without XWindow boy3dfx2 Linux - Newbie 5 06-03-2006 02:23 PM
installing lexmark 73 as local printer Daniel49 Ubuntu 2 01-04-2006 08:32 PM
Printer sharing/ local network cotom Linux - Newbie 3 10-02-2005 09:58 AM
Local or Network Printer SamothB Linux - Networking 0 10-07-2003 04:34 PM


All times are GMT -5. The time now is 10:27 PM.

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