smbclient \\\\ejs\\monster -N
print somedoc.txt
It worked. I have since tried to use printtool to setup my printer
like so:
##PRINTTOOL3## SMB TEXT NAxNA letter {} TextPrinter Default {}
lp:\
:sd=/var/spool/lpd/lp:\
:mx#0:\
:sh:\
:if=/var/spool/lpd/lp/filter:\
:af=/var/spool/lpd/lp/acct:\
:lp=/dev/null:
##PRINTTOOL3## SMB TEXT NAxNA letter {} TextPrinter Default {}
lp0:\
:sd=/var/spool/lpd/lp0:\
:mx#0:\
:sh:\
:if=/usr/bin/smbprint:\
:of=/usr/bin/smbprint:\
:af=/var/spool/lpd/lp0/acct:\
:lp=/dev/null:
I setup lp as a SMB printer with printtool and left it alone. I setup
lp0 as a SMB printer also, but then manually changed "filter" to
"smbprint". Neither works. Any clues on this? Here are the .config
files in the respective spool directories:
[lp]
share='\\ejs\monster'
hostip=
user=''
password=''
workgroup=''
[lp0]
share='\\ejs\monster'
hostip=
user=''
password=''
workgroup=''
The resources are available to anyone - no passwords necessary. BTW, I
tested this on another printer/computer and it failed as well. Any
help is appreciated!
---
Dustin Puryear (dpur...@usa.net)
Unix and NT Administrator
Baton Rouge Linux User Group - http://www.brlug.net
>"smbprint". Neither works. Any clues on this? Here are the .config
>files in the respective spool directories:
>
>[lp]
>share='\\ejs\monster'
>hostip=
>user=''
>password=''
>workgroup=''
Maybe you (you distribution) modified the smbprint filter?
The format of the .config files should be
# The /usr/var/spool/lpd/PRINTNAME/.config file should contain:
# server=PC_SERVER
# service=PR_SHARENAME
# password="password"
This is a printcap entry that prints raw files
epson:\
:sd=/var/spool/lpd/epson:\
:mx#0:\
:if=/usr/bin/smbprint:\
:lp=/dev/null:\
:sh: