I'm getting really confused with trying to configure printing from my
7.3 box via smbclient to a printer attached to a win2k.
The main confusion I have is what the URL is supposed to look like at
the question on cups web admin interface. And how password is handled.
Printer = d145 deskjet named hp_printer
smbclient share name = //chub/hp_printer
w2k share name = hp_printer
On the `cups' Admin interface at
Q: Device for hp_printer
A: Windows Printer via Samba
Q: Device URL
(I've tried several things here.. currently:)
A: smb://chub/hp_printer
How is the password stuff handled? The samba docs seem to be talking
about using the users unix password. But the win box wants the
Administrator password.
I tried a URL like:
smbclient //chub/hp_printer -U Administrator.
Hoping to be prompted for passwd. (no soap)
With the above Cited settings in place; tailing
/var/log/cups/error_log/access_log:
lp tracy (a text file)
cups/access_log
[...]
127.0.0.1 - - [23/Jun/2003:20:02:13 -0700] "POST / HTTP/1.1" 200 140
127.0.0.1 - - [23/Jun/2003:20:02:13 -0700] "POST / HTTP/1.1" 200 140
127.0.0.1 - - [23/Jun/2003:20:02:13 -0700] "POST / HTTP/1.1" 200 80
127.0.0.1 - - [23/Jun/2003:20:02:13 -0700] "POST /printers/hp_printer HTTP/1.1" 200
300
127.0.0.1 - - [23/Jun/2003:20:02:55 -0700] "POST / HTTP/1.1" 200 140
127.0.0.1 - - [23/Jun/2003:20:02:55 -0700] "POST / HTTP/1.1" 200 140
127.0.0.1 - - [23/Jun/2003:20:02:55 -0700] "POST / HTTP/1.1" 200 80
127.0.0.1 - - [23/Jun/2003:20:02:55 -0700] "POST /jobs/ HTTP/1.1" 200 179
cups/error_log
[...]
D [23/Jun/2003:20:02:14 -0700] are supported and installed on your system.
D [23/Jun/2003:20:02:14 -0700] perl: warning: Falling back to the standard locale
("C").
D [23/Jun/2003:20:02:14 -0700] foomatic-gswrapper: gs '-dBATCH' '-dSAFER' '-dQUIET'
'-dNOPAUSE' '-sDEVICE=ijs' '-sIjsServer=hpijs' '-sDeviceManufacturer=HEWLETT-PACKARD'
'-sDeviceModel=DESKJET 990' '-dDEVICEWIDTHPOINTS=612' '-dDEVICEHEIGHTPOINTS=792'
'-sIjsParams=Quality=0,ColorMode=2,MediaType=0,PenSet=2' '-r300' '-dDuplex=0'
'-sOutputFile=/dev/fd/3' '/dev/fd/0' 3>&1 1>&2
E [23/Jun/2003:20:02:14 -0700] SMB tree connect failed: NT_STATUS_ACCESS_DENIED
E [23/Jun/2003:20:02:14 -0700] Unable to connect to SAMBA host, will retry in 60
seconds...: Success
Not suprising since no password was supplied but how is it passed.
And does this output mean its accepting my guessed at URL?
I can by pass cups and login to that share with smbclient:
smbclient //chub/hp_reader -U Administrator <RET> PASSWORD
And `put' a file that gets printed (but with the lines stair
stepped).
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list