"Mikkel L. Ellertson" <[EMAIL PROTECTED]> writes:

> > All this and not one word shows up in syslog.  Makes it hard to debug.
> >
> > The lpr -D (debug) flag might be usefull here but the description of
> > its use in `man lpr' is so worhtless I can't figure out how to use it.
> >
> You may want to read the Printing-Usage-HOWTO.

Do you see something wrong in the config?  Should I see some kind of
output in /var/log/messages?

Not sure why you point me to the HOWTO which I've read several times
before and now skimmed to see something about debug.  The word doesn't
even appear anywhere in the entire HOWTO.

The other Printing HOWTO contains two hits and neither are remotely
helpfull for this.  The vast bulk of that other HOWTO is circumvented
with redhats `printtool'.

grep debug .helpfiles/HOWTO/Printing-Usage*
(Nothing)
The -D flag isn't even mentioned there.

The section on rh-printtool is non-usefull boilerplate.

Two tiny discussions of remote printing deal with antique non-usefull
baloney. 

It does show lpr syntax exactly as I'm using it.

$ lpr [ options ] [ filename ... ]

I did lpr -V filename
and 
lpr -V -Plp filename
stopped and started lpd several times.

Also had already tried the direct to device method mentioned there:

cat file > /dev/lp

None of that leaves a dent in /var/log/messages and none of it prints
anything.


Trying the syntax shown in the HOWTO:

   The /etc/printcap entry goes like this:
lp|remote-smbprinter:\
    :sh:\
    :lp=/dev/null:\
    :sd=/var/spool/lpd/lp:\
    :if=/usr/local/sbin/smbprint:

I changed the printcap generated by print tool to look more like the
one in the HOWTO:
#
# This file can be edited with the printtool in the control-panel.
#       lp:\
#       :if=/var/spool/lpd/lp/filter:\
##PRINTTOOL3## SMB uniprint NAxNA letter {} U_EpsonStylusColor stc800p {}
lp|remote-smbprinter:\
        :sd=/var/spool/lpd/lp:\
        :mx#0:\
        :sh:\
        :if=/usr/bin/smbprint:
        :af=/var/spool/lpd/lp/acct:\
        :lp=/dev/null:

Still nothing happens... no printing, no syslog messages



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to