Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

problem printing to windows printer?

0 views
Skip to first unread message

Dustin Puryear

unread,
Nov 30, 1999, 3:00:00 AM11/30/99
to
I am attempting to print to a public printer at \\jdupuy using lpr. To
make sure the printer was receptive to my advances I used:

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

Giulio Orsero

unread,
Nov 30, 1999, 3:00:00 AM11/30/99
to
dpur...@usa.net (Dustin Puryear) ha scritto:

>"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:

--
giu...@pobox.com

0 new messages