TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:15051] Reliable Linux/Samba print servers?



>printers.  RedHat 6.1/lpd/Samba is not up to the task; it gets stuck
>frequently on DOS-based print jobs, and I have to fix it by cleaning out the
>print queue and restarting lpd.  Unfortunately, fixing the DOS-based
>software is not an option.
>
>What Linux distribution/print spooler combination is working for you?
        I use lpr 0.48; with modified print filters.
        are the print jobs just hanging in the queue?
        if you stop the print queue, open the file in question in the print
queue directory (with a text editor); then save it and try to print it, does
it print fine?
        if so, the problem is somehow related to the form-feed character at
the end of the file.
        there's a line of sed code that changes CR->CR/LF; find it, and
replace it with this line of awk:
        awk '{print $0"\r"}' 

you may try printing with a filter that consists of nothing but:
#!/bin/bash          
awk '{print $0"\r"}' 
exit 0               

and see if that fixes your problem. :)

Carl Soderstrom
System Administrator    307 Brighton Ave. 
Minnesota DHIA	        Buffalo, MN	
carls@agritech.com      (612) 682-1091