LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-09-2007, 09:54 PM   #1
christianunix
Member
 
Registered: Oct 2007
Posts: 40

Rep: Reputation: 15
Linux printers under /etc


hey how do I find the printers under /etc directory? there are multiple printers. should I use the grep command? thanks
 
Old 10-09-2007, 10:05 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
I've never seen printers in /etc. Do you know that your system puts them there?

You can use grep anytime that you know even part of a file or directory name. eg if you know that a file has "pri" in the name, then---in the appropriate directory---do "ls -R | grep pri". This will find all directories and file containing "pri".
 
Old 10-09-2007, 10:13 PM   #3
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 59
Do you mean in the /etc/printcap file?
If so, I would just run the command: cat /etc/printcap
 
Old 10-10-2007, 12:09 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
OK--learn something new every day. I found the ppd files in /etc/cups. I don't know where the print queues are stored---unless that is in the ppd 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
Making use of non-linux printers on linux by way of Windows proxy jgombos Linux - Hardware 0 03-13-2007 12:03 AM
Linux and Canon Printers washann Linux - General 6 09-05-2006 08:59 AM
What printers work well with Linux? scooter4j Linux - Hardware 2 07-27-2004 01:23 PM
recommendation on photo printers and general purpose printers raminolta Linux - Hardware 3 01-21-2004 01:27 PM
Multiple printers with Linux freezinbutt Linux - Networking 5 03-21-2002 11:36 PM


All times are GMT -5. The time now is 06:53 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration