Printing troubles.

Brian Ginter brian.ginter at southern-air.com
Mon Sep 20 13:12:47 GMT 1999


On 20 Sep 99, at 23:03, Mike Brodbelt wrote:

> Hi,
> 
> I've recently set up LPRng on my system in preparation for moving my
> organisation to a Samba/Linux based printing solution. I have a test
> printer properly set up, and issuing lpr commands from the command line
> works fine. I also have Samba set up with domain security and all the
> file sharing is also working OK.
> 
> Whenever I try to print a test page to my Samba shared printer, I get
> the following error message from NT:-
> 
> Test page failed to print. Would you like to view the print trouble
> shooter for assistance? The filename, directory name, or volume label
> syntax is incorrect.
> 
> Needless to say, the NT troubleshooter is it's normal laughable self,
> and I'm unable to figure out what's going on at the moment. Any help
> would be much appreciated.
> 
> LPRng 3.6.10
> Samba 2.0.3
> 
> printcap entry for the printer in question:-
> 
> HPLJ4000N-RM23:\
>   :cm=LaserJet 4000N in Room 23:\
>   :sd=/var/spool/lpd/lp0:\
>   :lp=192.168.1.100%9100
>   :sh:sf:\
>   :lf=log:af=acct:\
>   :if=/usr/libexec/filters/ifhp:\
>   :mx=0
> 
> smb.conf entry for same:-
> 
> [HPLJ4000N-RM23]
>         path = /tmp
>         print ok = Yes
> 
> Mike.
> 
> P.S. Please can you cc me any responses by email, as I'm only on the
> digested version of this list.

I too had a similar experience.  What solved the problem for me 
was using shorter names for the printers. Instead of
HPLJ4000N-RM23 try lj4000n and see if that helps.

BRG


More information about the samba mailing list