May be , something wrong while configurating your printer with printtool
certainly :

The domain name for example is like that  : "MYDOMAIN.COM" and not
"mydomain.com" .

Be careful on the name of the ressource under Win , a printer can be called 
"HP-Printer1" in the Network Neigh....  and the real name of the shared
ressource is "HP-Printer1-PCL" .
See the properties ...

See if you can log on the service via "smbclient \\\\SERVER\\service -U
my_login -W MYDOMAIN.COM" .

Now reconfigure the printer with "printtools" .

After that restart your lpd daemon with "printtools" ( or
/etc/rc.d/init.d/lpd restart ) and try printing a test page.
If you caught an error message like " lpr can't connect " ... go on you
console and launch "lpc" and type "down all" and after "up all".

If the printer is well configurated and have a network sock , try using the
Unix lp system instead of the SMB ,
it will be more quicker to print with than using SMB and a Micro$oft
machine.
As you want.

I hope that it will work . 
Bye !

BOUCARON Julien


-----Message d'origine-----
De: trujo [mailto:[EMAIL PROTECTED]]
Date: lundi 13 d�cembre 1999 17:52
�: [EMAIL PROTECTED]
Objet: [expert] I cant print with samba


Subject: I cant print with samba
Date: Mon, 13 Dec 1999 17:29:13 +0100
From: trujo <[EMAIL PROTECTED]>


I have problem with print usind samba

I can look that theare no acct file in spool directori,

my printcap is

#
# Please don't edit this file directly unless you know what you are doing!
# Be warned that the control-panel printtool requires a very strict format!
# Look at the printcap(5) man page for more info.
#
# This file can be edited with the printtool in the control-panel.


##PRINTTOOL3## SMB ljet4 600x600 a4 {} LaserJet4 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:


my directory structure is

/var/spool/lpd/lp
/var/spool/lpd/lpd.lock
/var/spool/lpd/lp
/var/spool/lpd/lp/filter
/var/spool/lpd/lp/general.cfg
/var/spool/lpd/lp/lock
/var/spool/lpd/lp/postscript.cfg
/var/spool/lpd/lp/status
/var/spool/lpd/lp/textonly.cfg  

I make it wthi printtools

I look at filter file and I can see that this filter use the acct file
to pas smbclient which file it mas print but there are not an acct file
and if I create it it is never used.

lpr version is 0.38 
printtools version is 3.40-3

(Just which one how came with Mandrake)
-------------------------------------------------------

Reply via email to