[Samba] Re: Canon multifunction printers / samba 3.0.2a / AIX 5.2ML2

Zylo shiningzylo at caramail.com
Mon Mar 29 17:50:07 GMT 2004


BTW I gorgot to mention that I use classical printing, not CUPS.

To be complete, here is my smb.conf :
[global]
 workgroup = mydomain
 netbios name = samba
 security = DOMAIN
 algorithmic rid base = 3000
 username map = /usr/local/samba/etc/mapusers.txt
 log level = 2
 debug hires timestamp = Yes
 debug pid = Yes
 debug uid = Yes
 os level = 0
 preferred master = No
 local master = No
 domain master = No
 wins server = x.x.x.15
 ldap ssl = no
 printer admin = y

[printers]
 path = /share/spool
 printable = Yes
 browseable = No

[print$]
 comment = Upload and download drivers
 path = /share/drivers
 admin users = y
 read only = No
 browseable = No


> I have problems setting up a canon multifunction ir7200. When I print the
> windows test page, I have something like "smiley" "arrow" "arow" "smiley"
> "arrow" name_of_the_samba_spool "smileys" driver.dll etc,etc,etc, on a
> single line.
>
> Did somebody used such a multifunction with Samba ? Below is a (long)
> description of what I did.
>
> I get the drivers files from  an NT server. Samba is in domain mode, the
pdc
> is a NT4 server.
>
> samba:/usr/local/samba/bin > ./rpcclient -Uadministrateur%passwd -c
> 'getdriv>
> added interface ip=x.x.x.173 bcast=x.x.x.255 nmask=255.255.255.0
> Got a positive name query response from x.x.x.15 ( x.x.x.15 )
> error connecting to x.x.x.15:445 (Un appel système a reçu un paramètre
> erroné.)
>
> [Windows NT x86]
> Printer Driver Info 3:
>         Version: [2]
>         Driver Name: [Canon iR7200 PCL6]
>         Architecture: [Windows NT x86]
>         Driver Path: [\\NTSERVER\print$\W32X86\2\CNPXLF.DLL]
>         Datafile: [\\NTSERVER\print$\W32X86\2\IR7200XF.XPD]
>         Configfile: [\\NTSERVER\print$\W32X86\2\CNPXLFUI.DLL]
>         Helpfile: [\\NTSERVER\print$\W32X86\2\CNPXLF.HLP]
>
>         Dependentfiles: [\\NTSERVER\print$\W32X86\2\IR7200XF.XPD]
>         Dependentfiles: [\\NTSERVER\print$\W32X86\2\CNPXLF.DLL]
>         Dependentfiles: [\\NTSERVER\print$\W32X86\2\CNPXLFUI.DLL]
>         Dependentfiles: [\\NTSERVER\print$\W32X86\2\CNPXLFUM.DLL]
>         Dependentfiles: [\\NTSERVER\print$\W32X86\2\CNPXL40c.DLL]
>         Dependentfiles: [\\NTSERVER\print$\W32X86\2\UCSKMP.DLL]
>         Dependentfiles: [\\NTSERVER\print$\W32X86\2\TNL32.DLL]
>         Dependentfiles: [\\NTSERVER\print$\W32X86\2\CNPXLF.HLP]
>         Dependentfiles: [\\NTSERVER\print$\W32X86\2\CNPXLF.CNT]
>         Dependentfiles: [\\NTSERVER\print$\W32X86\2\CNPPDCE.DLL]
>         Dependentfiles: [\\NTSERVER\print$\W32X86\2\CNNBAPIF.DLL]
>         Dependentfiles: [\\NTSERVER\print$\W32X86\2\CNNSCORE.DLL]
>         Dependentfiles: [\\NTSERVER\print$\W32X86\2\CNPXCMKM.DLL]
>         Dependentfiles: [\\NTSERVER\print$\W32X86\2\CMDFPXK.DAT]
>         Dependentfiles: [\\NTSERVER\print$\W32X86\2\CANLKN.PRF]
>         Dependentfiles: [\\NTSERVER\print$\W32X86\2\CNZN15N.ICC]
>         Dependentfiles: [\\NTSERVER\print$\W32X86\2\CNZN18N.ICC]
>         Dependentfiles: [\\NTSERVER\print$\W32X86\2\CNZN21N.ICC]
>         Dependentfiles: [\\NTSERVER\print$\W32X86\2\CNZE15N.ICC]
>         Dependentfiles: [\\NTSERVER\print$\W32X86\2\CNZE18N.ICC]
>         Dependentfiles: [\\NTSERVER\print$\W32X86\2\CNZE21N.ICC]
>         Dependentfiles: [\\NTSERVER\print$\W32X86\2\CNZP15N.ICC]
>         Dependentfiles: [\\NTSERVER\print$\W32X86\2\CNZP18N.ICC]
>         Dependentfiles: [\\NTSERVER\print$\W32X86\2\CNZP21N.ICC]
>         Dependentfiles: [\\NTSERVER\print$\W32X86\2\CNZ005N.ICC]
>         Dependentfiles: [\\NTSERVER\print$\W32X86\2\CNZ006N.ICC]
>         Dependentfiles: [\\NTSERVER\print$\W32X86\2\CNZ007N.ICC]
>         Dependentfiles: [\\NTSERVER\print$\W32X86\2\CANSRGBA.ICC]
>         Dependentfiles: [\\NTSERVER\print$\W32X86\2\AUCPLMNT.DLL]
>         Dependentfiles: [\\NTSERVER\print$\W32X86\2\NBAPI.DLL]
>         Dependentfiles: [\\NTSERVER\print$\W32X86\2\NBIPC.DLL]
>         Dependentfiles: [\\NTSERVER\print$\W32X86\2\AUSSDRV.DLL]
>         Dependentfiles: [\\NTSERVER\print$\W32X86\2\AUSSAPI.DAT]
>
>         Monitorname: [CPCA Language Monitor2]
>         Defaultdatatype: []
>
> smbclient //ntserver/print\$ -Uadministrateur%passwd -c 'cd W32X86/2;mget
> CNPXLF.DLL IR7200XF.XPD CNPXLFUI.DLL CNPXLF.HLP CNPX*DLL UCSKMP.DLL
> TNL32.DLL CNPXLF.HLP CNPXLF.CNT CNPPDCE.DLL  CNNBAPIF.DLL CNNSCORE.DLL
> CNPXCMKM.DLL CMDFPXK.DAT CANLKN.PRF CNZ*N.ICC CANSRGBA.ICC AUCPLMNT.DLL
> NBAPI.DLL NBIPC.DLL AUSSDRV.DLL AUSSAPI.DAT'
>
> rpcclient -Uadministrateur%passwd -c 'adddriver "Windows NT x86" "Canon
> iR7200
>
PCL6:CNPXLF.DLL:IR7200XF.XPD:CNPXLFUI.DLL:CNPXLF.HLP:NULL:RAW:IR7200XF.XPD,C
>
NPXLF.DLL,CNPXLFUI.DLL,CNPXLFUM.DLL,CNPXL40c.DLL,UCSKMP.DLL,TNL32.DLL,CNPXLF
>
.HLP,CNPXLF.CNT,CNPPDCE.DLL,CNNBAPIF.DLL,CNNSCORE.DLL,CNPXCMKM.DLL,CMDFPXK.D
>
AT,CANLKN.PRF,CNZN15N.ICC,CNZN18N.ICC,CNZN21N.ICC,CNZE15N.ICC,CNZE18N.ICC,CN
>
ZE21N.ICC,CNZP15N.ICC,CNZP18N.ICC,CNZP21N.ICC,CNZ005N.ICC,CNZ006N.ICC,CNZ007
>
N.ICC,CANSRGBA.ICC,AUCPLMNT.DLL,NBAPI.DLL,NBIPC.DLL,AUSSDRV.DLL,AUSSAPI.DAT"
> ' SAMBASERVER
>
> rpcclient -Uadministrateur%passwd -c 'setdriver lpK3 "Canon iR7200 PCL6"'
> SAMBASERVER
>
> And then with a getdriver I have :
>
> samba:/usr/local/samba/bin > teur%passwd -c 'getdriver "lpK3" 3'
SAMBASERVER
> <
> added interface ip=x.x.x.173 bcast=x.x.x.255 nmask=255.255.255.0
>
> [Windows NT x86]
> Printer Driver Info 3:
>         Version: [2]
>         Driver Name: [Canon iR7200 PCL6]
>         Architecture: [Windows NT x86]
>         Driver Path: [\\SAMBASERVER\print$\W32X86\2\CNPXLF.DLL]
>         Datafile: [\\SAMBASERVER\print$\W32X86\2\IR7200XF.XPD]
>         Configfile: [\\SAMBASERVER\print$\W32X86\2\CNPXLFUI.DLL]
>         Helpfile: [\\SAMBASERVER\print$\W32X86\2\CNPXLF.HLP]
>
>         Dependentfiles: [\\SAMBASERVER\print$\W32X86\2\AUSSAPI.DAT]
>         Dependentfiles: [\\SAMBASERVER\print$\W32X86\2\AUSSDRV.DLL]
>         Dependentfiles: [\\SAMBASERVER\print$\W32X86\2\NBIPC.DLL]
>         Dependentfiles: [\\SAMBASERVER\print$\W32X86\2\NBAPI.DLL]
>         Dependentfiles: [\\SAMBASERVER\print$\W32X86\2\AUCPLMNT.DLL]
>         Dependentfiles: [\\SAMBASERVER\print$\W32X86\2\CANSRGBA.ICC]
>         Dependentfiles: [\\SAMBASERVER\print$\W32X86\2\CNZ007N.ICC]
>         Dependentfiles: [\\SAMBASERVER\print$\W32X86\2\CNZ006N.ICC]
>         Dependentfiles: [\\SAMBASERVER\print$\W32X86\2\CNZ005N.ICC]
>         Dependentfiles: [\\SAMBASERVER\print$\W32X86\2\CNZP21N.ICC]
>         Dependentfiles: [\\SAMBASERVER\print$\W32X86\2\CNZP18N.ICC]
>         Dependentfiles: [\\SAMBASERVER\print$\W32X86\2\CNZP15N.ICC]
>         Dependentfiles: [\\SAMBASERVER\print$\W32X86\2\CNZE21N.ICC]
>         Dependentfiles: [\\SAMBASERVER\print$\W32X86\2\CNZE18N.ICC]
>         Dependentfiles: [\\SAMBASERVER\print$\W32X86\2\CNZE15N.ICC]
>         Dependentfiles: [\\SAMBASERVER\print$\W32X86\2\CNZN21N.ICC]
>         Dependentfiles: [\\SAMBASERVER\print$\W32X86\2\CNZN18N.ICC]
>         Dependentfiles: [\\SAMBASERVER\print$\W32X86\2\CNZN15N.ICC]
>         Dependentfiles: [\\SAMBASERVER\print$\W32X86\2\CANLKN.PRF]
>         Dependentfiles: [\\SAMBASERVER\print$\W32X86\2\CMDFPXK.DAT]
>         Dependentfiles: [\\SAMBASERVER\print$\W32X86\2\CNPXCMKM.DLL]
>         Dependentfiles: [\\SAMBASERVER\print$\W32X86\2\CNNSCORE.DLL]
>         Dependentfiles: [\\SAMBASERVER\print$\W32X86\2\CNNBAPIF.DLL]
>         Dependentfiles: [\\SAMBASERVER\print$\W32X86\2\CNPPDCE.DLL]
>         Dependentfiles: [\\SAMBASERVER\print$\W32X86\2\CNPXLF.CNT]
>         Dependentfiles: [\\SAMBASERVER\print$\W32X86\2\CNPXLF.HLP]
>         Dependentfiles: [\\SAMBASERVER\print$\W32X86\2\TNL32.DLL]
>         Dependentfiles: [\\SAMBASERVER\print$\W32X86\2\UCSKMP.DLL]
>         Dependentfiles: [\\SAMBASERVER\print$\W32X86\2\CNPXL40c.DLL]
>         Dependentfiles: [\\SAMBASERVER\print$\W32X86\2\CNPXLFUM.DLL]
>         Dependentfiles: [\\SAMBASERVER\print$\W32X86\2\CNPXLFUI.DLL]
>         Dependentfiles: [\\SAMBASERVER\print$\W32X86\2\CNPXLF.DLL]
>         Dependentfiles: [\\SAMBASERVER\print$\W32X86\2\IR7200XF.XPD]
>
>         Monitorname: []
>         Defaultdatatype: [RAW]
>
> I did the landscape/portrait tip.
> Printing under AIX seems to work. The same procedure works just fine with
a
> kyocera 1800.
>
> What is wrong ? Does the problem come from monitorname and defaultdatatype
?
> Had somebody successfull experience with similar multifunction printers ?
>
> I would *really* appreciate any help.
>
> Thanx in advance.
>
>
>
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>





More information about the samba mailing list