Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Feb 2001 16:35:40 -0500
From:      Bob Johnson <bob@eng.ufl.edu>
To:        tcpo@yahoo.com
Cc:        questions@freebsd.org
Subject:   Re: problem about remote printing
Message-ID:  <3A9C1DAC.BEBF35AF@eng.ufl.edu>

next in thread | raw e-mail | index | archive | help
> Date: Mon, 26 Feb 2001 23:17:23 -0800 (PST)
> From: Tak-Chi PO <tcpo@yahoo.com>
> Subject: problem about remote printing
> 
> I have a HP4050 at 192.168.1.54.  Here is my
> /etc/printcap:
> 
> remote|lp:\
>         :sh:\
>         :rm=192.168.1.54:\
>         :sd=/var/spool/output/lp54:\
>         :lf=/var/log/lpd-errs
> 

It probably has nothing at all to do with your problem, but you 
might want to add an "rp=..." line (e.g. rp=text) to this to 
tell the printer what mode to use.  Or it may be completely 
unnecessary for your printer.

You will probably want add "mx#0" as well, because the default 
maximum file size of 1 megabyte is likely to be too small for 
large print jobs.  mx#0 makes that unlimited (actually, limited 
by the available space in /var/spool).


> after i tried to print sth, i run "lpc status all", I
> se:
> 
> remote:
>       queuing is enabled
>       printing is enabled
>       4 entries in spool area
>       waiting for 192.168.1.54 to come up
> 
> It is "waiting to come up" forever and nothing's get
> printed.  What's possibly wrong here?

What does "ps ax | grep lpd" tell you?

When I've had similar problems, it was usually because I 
didn't have lpd running on my local system.  lpd must be 
running on your local system in order to send print jobs 
to remote systems.  I don't remember what you would see 
for lpc status if that was the problem, though.  I find 
lpc to be an unreliable method of diagnosing or fixing 
printer problems, but maybe that's because I don't really 
understand it.

If that is the problem, you can enable lpd to start 
automatically in rc.conf.

- Bob

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A9C1DAC.BEBF35AF>