:~>I am encountering an odd problem with printing in Mandrake
:~>6.1: after a job is printed, it is not deleted from the
:~>spool so that it is printed again when the printer is next
:~>used. The new print job then is *not* printed.
:~>
:~>If it matters, the printer is a network printer (using lpd)
:~>rather than one attached directly to the computer.

Yes, this matters a lot. The jobs submitted over network end-up in the
queue as root.root, which causes all kinds of problems with lpd-children
which get invoked as user. ( I am not an expert on this, so maybe I have
a completely wrong diagnosis. )
Anyway: Printing is completely screwed in M 6.1... In order to solve the
problems with network-printing, I:

1) re-installing the printers (I wanted to be sure I use the newest
printing filters and that all the permissions are OK.) No idea what it was
before, but now it is:

dirs:

drwxr-xr-x 2 root lp 1024 Nov 18 03:32 HP-LJ4L 
drwxr-xr-x 2 root lp 1024 Nov 17 15:32 HP550C 
drwxr-xr-x 2 root lp 1024 Nov 4 16:58 lp
drwxr-xr-x 2 root lp 1024 Nov  6 22:46 lp0 

files:

[denis@marvin HP550C]$ ls -l total 16 
-rwxr-xr-x 1 root root 10532 Nov 9 04:24 filter 
-rw-r--r-- 1 root root 35 Nov 17 15:31 lock 
-rwxr-xr-x 1 root root 356 Nov 9 04:24 postscript.cfg
-rwxr-xr-x 1 root root 186 Nov 9 04:24 general.cfg 
-rw-rw-r-- 1 root root  31 Nov 17 15:31 status
-rwxr-xr-x 1 root root 148 Nov  9 04:24 textonly.cfg    


2) loading lp - modules explicitely
with "modprobe" in "rc.local" 
3) installing the newest lpr package from the RedHat 6.1 -updates

Maybe One of these 3 steps is enough - I do not know which, though... 

Unfortunately, this did not solve my problems with lp->fax gateway. I have
set-up a fax-server with mgetty+sendfax (works great), and wanted to have
a lp->fax gateway. Localy, I am able to faxs with:

lpr -P fax -C <NUMBER> file

But it does not work over network, because the filter does not get "-C"
field. The "C" field does not appear in the "cf*" file either, but the "J"
field does, so I have tried to re-write the filter in order to use the
"-J" instead if "-C", only to realise that the filter does not get this
information on its STDIN, and cannot read the "cf*" files because they are
owned by root and have 660 permissions. Does anybody know what can be done
here?   

cheers
        Denis
----------------------------------------------------- 
Mag. Denis Havlik <http://www.ap.univie.ac.at/users/havlik> 
University of Vienna    |||  e-mail: [EMAIL PROTECTED] 
Austria                (@ @)  tel: (++431) 4277/51179
-------------------oOO--(_)--OOo--------------------- 

Reply via email to