LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-14-2003, 09:28 AM   #1
sammy
LQ Newbie
 
Registered: Feb 2003
Posts: 3

Rep: Reputation: 0
Unhappy Where does printconf read from?


Hi guys,

For red hat linux 7.1 version and up, where does printconf read from to generate /etc/printcap? I know it is useless to manually edit /etc/printcap, but is there a file I can edit and after lpd restart my modification is carried on into the new /etc/printcap?

Thanks.
 
Old 02-14-2003, 09:35 AM   #2
Wolven
Member
 
Registered: Jan 2003
Posts: 195

Rep: Reputation: 30
Do you meant printtool? Or were you just wanting to break out vi and edit it yourself? :_)
 
Old 02-14-2003, 09:37 AM   #3
sammy
LQ Newbie
 
Registered: Feb 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Edit it using vi.

I'm trying not to use printconf-tui or printconf-gui.
 
Old 02-14-2003, 10:26 AM   #4
Wolven
Member
 
Registered: Jan 2003
Posts: 195

Rep: Reputation: 30
Heh. In that case, vi! vi vi vi! hee hee.


Seriously, though. Itty bitty command line tutorial here:

http://howto.lycos.com/lycos/step/1,...+20357,00.html


Huge-freaking information:
http://www.lprng.com/LPRng-HOWTO-Mul...rialconfig.htm


I hope this is what you were looking for.
 
Old 02-14-2003, 10:37 AM   #5
sammy
LQ Newbie
 
Registered: Feb 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks buddy. But I know how to vi /etc/printcap quite well. What I am looking for is: What file shall I vi?

Simply vi /etc/printcap doesn't work because after lpd restart your printcap will be overwritten. lpd reads from another source to generate /etc/printcap, but where is the other source?

Keep digging. Looking forward to your reply.
 
Old 02-15-2003, 09:59 AM   #6
Wolven
Member
 
Registered: Jan 2003
Posts: 195

Rep: Reputation: 30
Hehe... sorry. That should be
/etc/printcap.local


Got my information from here:

http://www.redhat.com/docs/manuals/l...printconf.html


Where the following was stated:

Quote:



If you want to add a printer without using printconf, edit the /etc/printcap.local file. The entries in /etc/printcap.local are not displayed in printconf but are read by the printer daemon. If you upgrade your system from a previous version of Red Hat Linux, your existing configuration file is converted to the new format used by printconf. Each time a new configuration file is generated by printconf, the old file is saved as /etc/printcap.old.

Last edited by Wolven; 02-15-2003 at 10:00 AM.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
hostname breaks printconf-gui ciscohead Linux - Networking 3 11-20-2005 09:33 AM
problem when starting printer / printconf-gui carda Linux - General 0 11-04-2004 04:35 PM
printconf, printconf-gui will not work RH9 brakerm19 Linux - General 0 08-04-2003 02:49 PM
printconf > Cannot get drivers to be recognized KDE4me Linux - Newbie 5 06-26-2003 11:42 AM
Problems with seting up Windows network printer with printconf-gui ChaosX2 Linux - General 2 07-04-2002 02:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:42 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