Hello all,
I'm trying to setup LPRng 3.6.23 on Linux 2.2.14 as the central print
serving engine for a dozen of printers in our lan. Each of these printers is
connected to the network through a dedicated printserver box or through
their own network card. Endusers access the different Samba-2.0.7-mapped
printers from their Windows 9x/NT applications through the native
Win-drivers and from DOS through application-programmed native interfaces
like PCL or just plain text with some control codes, and no banners are
used; so these users just need the raw-access to the printers, without any
filters . Sysadmins on the other hand use printers from the linux-servers,
also from the linux lprng-server, and they do need some filtering, mainly
for text files; I use apsfilter 5.4.2 with a2ps for this purpose, and it
works fine. We are also interested in the accounting and logging facilities
of lprng.
I think all the system is close to be ready, but I still have some problems
which I couldn't solve neither with the manual and howto's nor through
searching the mailing-list archives. The problem is, that I continuously get
short tempXXXXX (usually their content is just: "JetDirect lpd: no jobs
queued on this port") files in my spool directory and some lpqXXXXX in /tmp,
even after printing from windows has finished (the printing itself works
fine); lpq is then continuosly checking the queues. Removing these files or
restarting the lpd doen't help (!?). I think I've messed some think up when
trying to work out mit /etc/printcap for remote printing, or something is
wrong about my HP printserver or even with apsfilter, but I don't know where
else wo look. I'm sure, this is a quite oftly asked problem and perhaps very
obvious, but I wasn't able to solve it. So here go my apologies, my thanks
for any hint, and the extract for a typical printcap entry for a Postscript
HP LJ5000 on a remote HP printserver box.
# ...snip...
bpz_lj5000|aps1-PS_1200dpi-a4-auto-default|Printer1 PS_1200dpi a4 auto
default
:force_localhost
:sh
bpz_lj5000|aps1-PS_1200dpi-a4-auto-default|Printer1 PS_1200dpi a4 auto
default
:server
:cm=BPZ HP LJ5000 PS (auto)
:lp=raw1@myprintserver
:sd=/var/spool/lpd/printer1-PS_1200dpi-a4-auto-default
:lf=/var/spool/lpd/printer1-PS_1200dpi-a4-auto-default/log
:af=/var/spool/lpd/printer1-PS_1200dpi-a4-auto-default/acct
:if=/usr/local/apsfilter/filter/aps1-PS_1200dpi-a4-auto-default
:lpd_bounce
:mx#0
:sh
#
bpz_lj5000_raw|aps2-PS_1200dpi-a4-raw|Printer1 PS_1200dpi a4 raw
:force_localhost
:sh
bpz_lj5000_raw|aps2-PS_1200dpi-a4-raw|Printer1 PS_1200dpi a4 raw
:server
:cm=BPZ HP LJ5000 PS (raw)
:lp=raw1@myprintserver
:sd=/var/spool/lpd/printer1-PS_1200dpi-a4-raw
:lf=/var/spool/lpd/printer1-PS_1200dpi-a4-raw/log
:af=/var/spool/lpd/printer1-PS_1200dpi-a4-raw/acct
:if=/usr/local/apsfilter/filter/aps2-PS_1200dpi-a4-raw
:mx#0
:sh
# ...snip...
---
Manuel Elgorriaga Kunze, IT Department
Swiss Library for the Blind and Visually Impaired
CH - 8047 Zurich, Switzerland
Phone: + 41 1 491 25 55, Fax: + 41 1 492 64 75
-----------------------------------------------------------------------------
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------