[plug] trouble configuring printers under Redhat 7.2
Paul Dean
paul at thecave.cantech.net.au
Wed May 22 10:52:14 WST 2002
Hya David,
The printer is being shared from another Linux box?
If so you will need to put a /etc/hosts.lpd file with the ip address or
name of the machine that wants to access the printer.
If not is the printer connected to a hub with an ip?
Check the printer config, gw, netmask etc.
Hope this helps...
On Wed, 22 May 2002, Buddrige, David wrote:
> Hi all,
>
> I am having some difficulty getting a network printer to work. I am using
> Redhat Linux 7.2. I have been using printtool to try and configure the
> printer. However when I try to start the lpd daemon, I get the following
> results:
>
> [root at mit243linux init.d]# ./lpd start
> Starting lpd: Traceback (innermost last):
> File "/usr/sbin/printconf-backend", line 7, in ?
> import printconf_backend
> File "/usr/share/printconf/util/printconf_backend.py", line 208, in ?
> pass
> File "/usr/share/printconf/util/printconf_backend.py", line 708, in
> rebuild_queues
> for dir in map(lambda x: "%s/%s" % (lpd_spool_dir, x),
> os.listdir(lpd_spool_dir)):
> OSError: [Errno 2] No such file or directory
> No Printers Defined [ OK ]
>
>
>
> Below is the contents of my /etc/printcap - this was generated using
> printtool.
>
>
>
> [root at mit243linux init.d]# cat /etc/printcap
> # /etc/printcap
> #
> # DO NOT EDIT! MANUAL CHANGES WILL BE LOST!
> # This file is autogenerated by printconf-backend during lpd init.
> #
> # Hand edited changes can be put in /etc/printcap.local, and will be
> included.
>
> ############################################################################
> ###
> ## Everything below here is included verbatim from /etc/printcap.local
> ##
> ############################################################################
> ###
> # printcap.local
> #
> # This file is included by printconf's generated printcap,
> # and can be used to specify custom hand edited printers.
>
> # /etc/printcap
> #
> # DO NOT EDIT! MANUAL CHANGES WILL BE LOST!
> # This file is autogenerated by printconf-backend during lpd init.
> #
> # Hand edited changes can be put in /etc/printcap.local, and will be
> included.
>
> lp:\
> :sh:\
> :ml=0:\
> :mx=0:\
> :sd=/var/spool/lpd/lp:\
> :af=/var/spool/lpd/lp/lp.acct:\
> :rm=10.0.2.15:\
> :lpd_bounce=true:\
> :if=/usr/share/printconf/util/mf_wrapper:
>
> ############################################################################
> ###
> ## Everything below here is included verbatim from /etc/printcap.local
> ##
> ############################################################################
> ###
> # printcap.local
> #
> # This file is included by printconf's generated printcap,
> # and can be used to specify custom hand edited printers.
>
>
> Can anyone see what might be wrong here?
>
> thanks heaps
>
> David Buddrige.
>
> This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
>
--
Paul...
/***** Experience is that marvelous thing that enables you to
recognize a mistake when you make it again.
-- Franklin P. Jones *****/
/*****All programmers are playwrights and all computers are lousy actors.
-- Unknown*****/
/* How smart are Computers? They seem to need instructions all the time...
-- Me */
More information about the plug
mailing list