sex, 21 jul 2000, Gerd Labahn wrote:
> Hi Daniel,
> here a few hinds what can go wrong with LPRng:
> Check your permissions to the spool directories. Every Printcap entry
thanks for the tips Dietmar.. i really had some dir permitions problems here.
> From: Daniel Mealha Cabrita <[EMAIL PROTECTED]>
> Organization: Conectiva S.A.
> To: [EMAIL PROTECTED]
> Subject: LPRng: making it lprng-friendly
> Date: Thu, 20 Jul 2000 14:28:45 -0300
> Reply-to: [EMAIL PROTECTED]
>
>
> hi all..
>
>
>
> a time ago i developed a Linuxconf module for printer management, which
> supports the classic lpr system.
>
> now i want to make it compatible with LPRng so i downloaded and installed
> the packages from the sources.
>
> unfortunately i'm having problems making it work here.. when i try to print
> a test page i get a window informing 'subprocess diagnostic for stdout/stderr'
the current problem i'm experiencing is that i can only print when i ommit
the filter definition from printcap file (the 'if=' field).
with the filter defined (which is the rhs-printfilters system) i don't get
any error.. according the logs the file was printed, much like if the output
went to /dev/null instead /dev/lp0..
i'm using the following printcap:
# /etc/printcap
#
# This file was generated by Linuxconf's Printer module
# You may edit this file directly, but only standard printcap entries
# will be preserved.
##PRINTTOOL3## LOCAL epson 60x60 a4 {} Epson24 Default {}
lp:\
:if=/var/spool/lpd/lp/filter:\
:lp=/dev/lp0:\
:sd=/var/spool/lpd/lp:\
:sh:
<eof>
ideas? i've been told that LPRng is compatible with the old printcap style, so
it seems unlikely to be a problem in that file, anyway.. :/
.dan
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------