[expert] strange remote printing problem

1999-11-08 Thread Denis Havlik

Hi

I admit that I do not understand much about the lpd. I hope someone
does... 

If i submitt a job to a printer localy with "lpr -Pfax -C123456, a file
with:

Hlucy.exp.univie.ac.at 
Proot Jfax.txt 
C123456 
Lroot
fdfA035lucy.exp.univie.ac.at 
UdfA035lucy.exp.univie.ac.at
Nfax.txt  

appears in the "spool" directory.

However, if i do the same over the network, "C" field is absent. I can
send the telephone number using the "J" field:

"lpr -Pfax -C123456 -J98765" produces a:

Pdenis 
J98765 
fdfA006marvin.exp.univie.ac.at
UdfA006marvin.exp.univie.ac.at
N/tmp/fax.txt

does anybody know what is going on here? Both computers have a "Mandrake
6.1" with lpr-0.43-1mdk installed. There is no input filter on remote
computer. 

HELP!

cu
Denis



[expert] strange remote printing problem, part 2

1999-11-08 Thread Denis Havlik

My printing problem has become even wierder...

If I submit a print-job to a remote machine, "cf*" and "df*" files 
appear in the spool directory with: 

-rw-rw 1 root root  rw-rw   

On the other hand, if I submitt a job to a local machine, it is submitted
as :

-rw-rw 1 bin  lp  149 Nov  9 02:50 cf*
-rw-rw 1 denislp   31 Nov  9 02:50 df*

Is this a feature or a bug? The script which I use as a "printer input
filter" for sending faxes does not work remotely, and I think that it has
something to do with this difference. 

Or, to put it the other way around: 
i could read all the data i need to send a fax from a "cf" file, but I
cannot read it because the "if" gets called as denis.lp, and it cannot
read the "cf" file. :-(( 

This is driving me completely nuts


help?

cu
Denis