Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Nov 2000 21:37:50 +0200
From:      Juha Ylitalo <juha.o.ylitalo@nokia.com>
To:        freebsd-questions@freebsd.org
Subject:   Yet another printing problem...
Message-ID:  <20001103213750.F321@shoes.st-paul>

next in thread | raw e-mail | index | archive | help

--E39vaYmALEf/7YXx
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

System: FreeBSD 4.1.1 release
Target: remote printer (Canon GP 555V)

Summary: I get printing jobs nicely into queue, but I can seem to get
daemon to push queue into printer. Here is quick example:
essrv103nok149116# lpc restart essatb4b2
essatb4b2:
	no daemon to abort
essatb4b2:
	daemon started
essrv103nok149116# lpq -Pessatb4b2     =20
essrv103nok149116.ntc.nokia.com: Warning: no daemon present
Rank   Owner      Job  Files                                 Total Size
1st    jylitalo   0    foo.ps                                71160 bytes

no entries
essrv103nok149116#=20

foo.ps was created with "mpage -ba4 .profile > foo.ps"

I am going to post some additional information into this post so that
you would get at least some kind of idea about how things are
currently setup. All input/ideas are appreciated.... Here is the
promised additional information:

lpd is enabled and running:

essrv103nok149116# ps aux | grep lpd
root       705  0.0  0.5  1040  616  p1  S+    9:17PM   0:00.00 grep lpd
root       172  0.0  0.5   920  640  ??  Is    7:41PM   0:00.01 /usr/sbin/l=
pd
essrv103nok149116#=20

Queue should be correctly defined in printcap and spool dirs
exist. Printcap entry was verified by printing=20
"rlpr -P print@essatb4b2 foo.ps" in Linux machine.

Here is printcap and spooldirs:
essrv103nok149116# tail /etc/printcap
lp|essatb4b1:\
	:rp=3Dprint:rm=3Dessatb4b1:\
	:sd=3D/var/spool/output/essatb4b1:lf=3D/var/log/lpd-errs:
essatb4b2:\
	:rp=3Dprint:rm=3Dessatb4b2:\
	:sd=3D/var/spool/output/essatb4b2:lf=3D/var/log/lpd-errs:
essrv103nok149116# ls -la /var/spool/output/essatb4b2/
total 74
drwxrwxr-x  2 root      daemon    512 Nov  3 19:40 .
drwxr-xr-x  5 root      daemon    512 Nov  3 16:28 ..
-rw-r----x  1 root      daemon      4 Nov  3 19:40 .seq
-rw-rw----  1 daemon    daemon    180 Nov  3 19:40 cfA000essrv103nok149116.=
ntc.nokia.com
-rw-rw----  1 jylitalo  daemon  71160 Nov  3 19:40 dfA000essrv103nok149116.=
ntc.nokia.com
-rw-rw-r--  1 root      daemon     42 Nov  3 21:15 lock
-rw-rw-r--  1 root      daemon     21 Nov  3 21:15 status
essrv103nok149116#=20

What comes to log files, /var/log/lpd-errs and /var/log/messages don't
show up anything interesting that would explain things.

And as last bit of information:
essrv103nok149116# ls -l /usr/sbin/lp*
-r-xr-sr-x  1 root  daemon  26784 Nov  3 18:09 /usr/sbin/lpc
-r-xr-xr-x  1 root  wheel   54136 Nov  3 18:09 /usr/sbin/lpd
-r-xr-xr-x  1 root  wheel    3576 Nov  3 18:09 /usr/sbin/lptcontrol
-r-xr-xr-x  1 root  wheel    3416 Nov  3 18:09 /usr/sbin/lptest
essrv103nok149116#=20

--
Juha Ylitalo     juha.o.ylitalo@nokia.com                <work e-mail>
"Some tools are used, because its policy, others because they are good."

--E39vaYmALEf/7YXx
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE6AxQOs9o7tOc1jEMRAkPdAKCvOLpv9zwlusynDhxEdAd1PgNIWgCcCmEE
KM/hHkBwQ0N4EcCJ3j/rinw=
=5jOT
-----END PGP SIGNATURE-----

--E39vaYmALEf/7YXx--


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?20001103213750.F321>