I took the easy way out of this situation by using rlpr instead
of samba.  Simply install the rlpr package and run "Printing
over TCP/IP Services" on the NT machine.

To be able to just use the lpr command instead of rlpr
[EMAIL PROTECTED] all the time, change your
/etc/printcap file to read as follows:


# Entry for remote printing usng rlpr 
lp:lp=:rp=printername:rm=hostname.domain.com



This will allow you to do lpr lpq lprm without having to type
the priner details all the time.  Obviously you need to change
the printername and hostname.domain.com strings to what they are
on your system.

Hope this helps...
John.

P.s. I would like to get samba working with NT, but after
spending a few days trying I gave up.  If anyone knows how to
get this working I and many other people would be interested.

[EMAIL PROTECTED] wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> 
> hi all
> 
> I'm trying to print in a remote NT printer
> 
> I can access other shares (disk) on that server with the same user, see
> the output of the "qinfo" command but not the queue:
> 
> smb: \> queue
> ERRDOS - ERRbadfunc (Invalid function.) obtaining print queue
> 
> also I can't use the print command:
> 
> Domain=[ALUFIS] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0]
> security=user
> ERRDOS - ERRnoaccess (Access denied.) opening printer for stdin
> 
> the config seems ok, I've tried, several configs users, password
> methods, etc... but I'm completly lost...
> 
> The only thing I find very extrange is the following I see with -d 5
> 
> Domain=[ALUFIS] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0]
> Server gave us a UID of 4099. We gave 1000 <--- LOOK this (what is this for?)
> security=user
> Connected with cnum=2055 max_xmit=4356
> dos_clean_name [stdin]
> ERRDOS - ERRnoaccess (Access denied.) opening printer for stdin
> cli_send_logout
> 
> It's also used when I use (successfully) the qinfo command, so I'm not
> sure this is related to the problem
> 
> any help to figure out what is hapening will be greatly appreciated
> 
> Thanks in advance,
> 
>                         Uilsses
-- 
John Stevenson, Objective Alliance: www.oa.nl
"Its grip'd, its sorted.."

Reply via email to