OS/2, eCS & ArcaOS - Technical > Applications
Samba -- Can't make it work!
Alex Taylor:
I suggest you try printing a file directly from the command line with smbspool and see if that works:
smbspool smb://os2:password@WORK01/192.168.0.30/lp 1 os2 test 1 test file.txt
where 'password' is the password for user 'os2', and 'file.txt' is a file you want printed (I'm assuming your printer can handle ASCII text files natively).
If this doesn't work then there's presumably a problem either resolving the printer/server URI, or in the authentication. If it does work then the SMB port is misconfigured or corrupted somehow.
ivan:
Hi Alex. That works IF the print server (nas) is awake. It does not wake up the print server.
We might be getting somewhere with this, thanks.
More testing later to see if a print to file raw file prints.
eirik:
Hi Ivan,
you asked ".... that sounds interesting but does it work with a password protected print server? I ask because the print server we use is built into the NAS we use to store the data from the test equipment and client information and so had to have password protection"
I do not know - the printers I use are not PW protected. But once you have the IP-address to your printer, you can try. If it does not work on a PW protected print server, I suppose Alex' suggestion on smbspool is quite promising. Please keep us posted on your progress (and good luck :-)
Navigation
[0] Message Index
[*] Previous page
Go to full version