LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 08: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, 09:05 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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, 09:13 PM   #3
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
Do you mean in the /etc/printcap file?
If so, I would just run the command: cat /etc/printcap
 
Old 10-09-2007, 11:09 PM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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-12-2007 11:03 PM
Linux and Canon Printers washann Linux - General 6 09-05-2006 07:59 AM
What printers work well with Linux? scooter4j Linux - Hardware 2 07-27-2004 12:23 PM
recommendation on photo printers and general purpose printers raminolta Linux - Hardware 3 01-21-2004 12:27 PM
Multiple printers with Linux freezinbutt Linux - Networking 5 03-21-2002 10:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:00 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
Open Source Consulting | Domain Registration