Question about lprng and samba

Question about lprng and samba

Post by j » Sat, 02 Feb 2002 03:58:50



I have a samba printer.  The printer is connected to Windows machine.
I have used lpd to print to it remotely.  I have installed lprng.  I
also use the lprngtool.  It create a printcap definition for me.
However, whenever printing to it, it hangs.  The job gets stuck in the
queue.  It just says 27 percent done, and it stays at 27 percent.  It
never changes and the jobs stay in the lpd directory.

I have a non-lprng queue that prints fine to samba.  It does things I
don't like, so I got lprng.  But the jobs never reach the Windows
machines using lprng.  Thanks for any direction.

Filter_status: 27 percent done at 14:44:50.738

This is as far as it gets.  All my passwords are usernames, machines,
and passwords are correct.

 
 
 

Question about lprng and samba

Post by j » Sat, 02 Feb 2002 23:04:16


Yes, your answer lies within the smbprint file in
/usr/libexec/filters.  There is a line:

# a brutal way to determine if smbclient takes the -A authfile option
#smbclientold=`smbclient -A . 2>&1 | grep 'invalid option'`

Either comment it out, or use another method.  Unless your samba is
old, the script will still run.


> I have a samba printer.  The printer is connected to Windows machine.
> I have used lpd to print to it remotely.  I have installed lprng.  I
> also use the lprngtool.  It create a printcap definition for me.
> However, whenever printing to it, it hangs.  The job gets stuck in the
> queue.  It just says 27 percent done, and it stays at 27 percent.  It
> never changes and the jobs stay in the lpd directory.

> I have a non-lprng queue that prints fine to samba.  It does things I
> don't like, so I got lprng.  But the jobs never reach the Windows
> machines using lprng.  Thanks for any direction.

> Filter_status: 27 percent done at 14:44:50.738

> This is as far as it gets.  All my passwords are usernames, machines,
> and passwords are correct.


 
 
 

1. HPDJ500C/LPRng/ifhp/apsfilter-LPRng

I've got a HP DeskJet 500C attached to my parallel port.  I've been able to
send files to it via "cat filename > /dev/lp0", so I know I've got kernel
modules, etc. working right.  I've installed LPRng, ifhp, and
apsfilter-LPRng, but I've been unsucessful getting it to print postscript
(or even plain text) with lpr.  I've gotten the files to spool correctly,
but I think I've got some problems with the filter setup.  In the process
of fiddling around with printcap, apsfilter.conf, etc. I've gotten it to
print out a bunch of PJL commands, but on another attempt, I got it to
filter the file through gs, but it didn't print.  (When checked the
filter's progress w/ ps, it seemed like gs was running, but not doing
anything.)  Can someone help me out?

------------------  Posted via CNET Linux Help  ------------------
                    http://www.searchlinux.com

2. HELP: NFS problem between IRIX 5.3 & SCO5

3. Linux/Samba Machine & User Accounts for Samba PDC in samba-2.2.1a Question?

4. Help! SLIP questions

5. duplex printing with LPRng/IFHP over Samba

6. Quantum EIDE Problems

7. lprng, kernel 2.4.20 and Samba

8. cut and paste probs

9. samba printer woes...now LPRng

10. samba + LPRng = text only printing

11. samba and lprng

12. Issues printing over Samba with LPRng-3.8.20 and ESP Ghostscript 7.05 on Slackware 9.0

13. LPRng & Samba, Linux print sr