Fabian Hoffmann
2014-Apr-01 16:54 UTC
[Samba] Error0x00000006 with Point'n'Print Client Drivers
Hello, I have a problem with the point'n'print driver installation. I followed the instructions on https://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/classicalprinting.html#id2626650 Now if I try to print on the Windows client I get an error 0x00000006. Here is my configuration. Printer: Kyocera FS-C2026MFP+ Server: Debian Squeeze, Samba version 3.5.6, CUPS cersion 1.4.4 Client: Windows 7 x64 So I configured the printer in cups, and confirmed it is working. I configured the smb.conf with "load printers = Yes" and with [printers] and [print$]. On the client I can add the printer and am asked to install the driver manually. I select the Kyocera FS-C2026MFP+ KX driver. Now I can print from the client. Now I want to add Point'n'Print. So I copy all the files named on the printed testpage to the [print$] dir on the server. Then I use the following to add the driver:> rpcclient localhost -c 'adddriver "Windows x64" "Kyocera FS-C2026MFP+ KX:KMUC61BI.DLL:KMF09310.MDX:KMUU61BI.DLL:KMGKEN41.CHM:KM Language Monitor:RAW:KMBASE2.XML,KMFS61BI.DLL,KMRF61BI.DLL,KMRC61BI.DLL,KM3D61BI.DLL,KM3M61BI.DLL,KMPE61BI.DLL,KMWM61BI.DLL,KMPF61BI.DLL,KMPO61BI.DLL,KMSP61BI.DLL,KMCO61BI.DLL,KMPC61BI.DLL,KMPLSW02.DLL,KMPLSWIP.DLL,KMPLID01.DLL,KMIEDIT.DLL,KCMV3D.INI,CONFIDENTIAL.MIE,NOCOPY.MIE,KMPRPVW.EXE,KMPOPUPMGR.EXE,PMCLIENT2.DLL,KMXL61BI.DLL,KM5E61BI.DLL,KM5C61BI.DLL,KMPS61BI.DLL,KMPD61BI.DLL,KMAGFA1.FDF,KMPRE2.FDF,KM324010.DAT,kmautoc07.INI,kmquery07.XML,KACT2.EXE'Then I connect the driver and the printer:> rpcclient localhost -c 'setdriver Printername "Kyocera FS-C2026MFP+ KX"'On the client I can now remove the printer and add it again, downloading the driver from the server. Everything looks good, until I try to print the test page. I get an errror 0x00000006. When printing from editor I get an error "The handle is invalid". I did the whole process twice. The filenames now listed in the driver properties are the same (even same order) as the ones on the first testpage with manual driver installation. I appreciate any help! Cheers, Fabian
Marc Muehlfeld
2014-Apr-01 18:11 UTC
[Samba] Error0x00000006 with Point'n'Print Client Drivers
Hello Fabian, Am 01.04.2014 18:54, schrieb Fabian Hoffmann:> Server: Debian Squeeze, Samba version 3.5.6, CUPS cersion 1.4.4I had very very very much problems with printing and could not use 3.4.0 up to 3.5.something until all my issues were fixed. I don't remember which ones it was in detail, but I had to stay at 3.3.x until one of the later 3.5 releases fixed everything. So just out of my experiences, and of course as a general answer to that old version, I can say: Please upgrade to a more recent version (4.1.x or at least 4.0.x). 3.5 isn't maintained any more since 2.5 years. If you are still having problems with a maintained version, let us know here on the list, and identifying the issue is much easier then. Btw. here is a printer HowTo, that is validated with recent versions: https://wiki.samba.org/index.php/Samba_as_a_print_server Regards, Marc
Fabian Hoffmann
2014-Apr-01 21:32 UTC
[Samba] Error0x00000006 with Point'n'Print Client Drivers
Hi, so I tried this again with samba version 4.1.6. Same result. Am 01.04.2014 18:54, schrieb Fabian Hoffmann:> Hello, > > I have a problem with the point'n'print driver installation. I followed > the instructions on > https://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/classicalprinting.html#id2626650 > Now if I try to print on the Windows client I get an error 0x00000006. > > Here is my configuration. > Printer: Kyocera FS-C2026MFP+ > Server: Debian Squeeze, Samba version 3.5.6, CUPS cersion 1.4.4 > Client: Windows 7 x64 > > So I configured the printer in cups, and confirmed it is working. I > configured the smb.conf with "load printers = Yes" and with [printers] > and [print$]. > > On the client I can add the printer and am asked to install the driver > manually. I select the Kyocera FS-C2026MFP+ KX driver. Now I can print > from the client. > > Now I want to add Point'n'Print. So I copy all the files named on the > printed testpage to the [print$] dir on the server. Then I use the > following to add the driver: > >> rpcclient localhost -c 'adddriver "Windows x64" "Kyocera FS-C2026MFP+ KX:KMUC61BI.DLL:KMF09310.MDX:KMUU61BI.DLL:KMGKEN41.CHM:KM Language Monitor:RAW:KMBASE2.XML,KMFS61BI.DLL,KMRF61BI.DLL,KMRC61BI.DLL,KM3D61BI.DLL,KM3M61BI.DLL,KMPE61BI.DLL,KMWM61BI.DLL,KMPF61BI.DLL,KMPO61BI.DLL,KMSP61BI.DLL,KMCO61BI.DLL,KMPC61BI.DLL,KMPLSW02.DLL,KMPLSWIP.DLL,KMPLID01.DLL,KMIEDIT.DLL,KCMV3D.INI,CONFIDENTIAL.MIE,NOCOPY.MIE,KMPRPVW.EXE,KMPOPUPMGR.EXE,PMCLIENT2.DLL,KMXL61BI.DLL,KM5E61BI.DLL,KM5C61BI.DLL,KMPS61BI.DLL,KMPD61BI.DLL,KMAGFA1.FDF,KMPRE2.FDF,KM324010.DAT,kmautoc07.INI,kmquery07.XML,KACT2.EXE' > > Then I connect the driver and the printer: > >> rpcclient localhost -c 'setdriver Printername "Kyocera FS-C2026MFP+ KX"' > > On the client I can now remove the printer and add it again, downloading > the driver from the server. > > Everything looks good, until I try to print the test page. I get an > errror 0x00000006. > When printing from editor I get an error "The handle is invalid". > > I did the whole process twice. The filenames now listed in the driver > properties are the same (even same order) as the ones on the first > testpage with manual driver installation. > > I appreciate any help! > > Cheers, > Fabian
RĂ¼diger Hahn
2014-May-17 15:45 UTC
[Samba] Error0x00000006 with Point'n'Print Client Drivers
Fabian Hoffmann <fabian.hoffmann <at> student.kit.edu> writes:> > Hello, > > I have a problem with the point'n'print driver installation. I followed > the instructions on > https://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/classicalprinting.html#id2626650> Now if I try to print on the Windows client I get an error 0x00000006. > > Here is my configuration. > Printer: Kyocera FS-C2026MFP+ > Server: Debian Squeeze, Samba version 3.5.6, CUPS cersion 1.4.4 > Client: Windows 7 x64 > > So I configured the printer in cups, and confirmed it is working. I > configured the smb.conf with "load printers = Yes" and with [printers] > and [print$]. > > On the client I can add the printer and am asked to install the driver > manually. I select the Kyocera FS-C2026MFP+ KX driver. Now I can print > from the client. > > Now I want to add Point'n'Print. So I copy all the files named on the > printed testpage to the [print$] dir on the server. Then I use the > following to add the driver: > > > rpcclient localhost -c 'adddriver "Windows x64" "Kyocera FS-C2026MFP+ > KX:KMUC61BI.DLL:KMF09310.MDX:KMUU61BI.DLL:KMGKEN41.CHM:KM LanguageMonitor:RAW:KMBASE2.XML,KMFS61BI.DLL,KMRF61BI.DLL,KMRC61BI.DLL,KM3D61BI.DLL, KM3M61BI.DLL,KMPE61BI.DLL,KMWM61BI.DLL,KMPF61BI.DLL,KMPO61BI.DLL,KMSP61BI.DL L,KMCO61BI.DLL,KMPC61BI.DLL,KMPLSW02.DLL,KMPLSWIP.DLL,KMPLID01.DLL,KMIEDIT.D LL,KCMV3D.INI,CONFIDENTIAL.MIE,NOCOPY.MIE,KMPRPVW.EXE,KMPOPUPMGR.EXE,PMCLIEN T2.DLL,KMXL61BI.DLL,KM5E61BI.DLL,KM5C61BI.DLL,KMPS61BI.DLL,KMPD61BI.DLL,KMAG FA1.FDF,KMPRE2.FDF,KM324010.DAT,kmautoc07.INI,kmquery07.XML,KACT2.EXE'> > Then I connect the driver and the printer: > > > rpcclient localhost -c 'setdriver Printername "Kyocera FS-C2026MFP+ KX"' > > On the client I can now remove the printer and add it again, downloading > the driver from the server. > > Everything looks good, until I try to print the test page. I get an > errror 0x00000006. > When printing from editor I get an error "The handle is invalid". > > I did the whole process twice. The filenames now listed in the driver > properties are the same (even same order) as the ones on the first > testpage with manual driver installation. > > I appreciate any help! > > Cheers, > FabianHello Fabian, did you eventually solve this problem? I am trying to install three differen t kyocera printers in a company and I'm having exactly the same problem with all of them. Also, I cannot install the printer drivers in the way as it is described here: https://wiki.samba.org/index.php/Samba_as_a_print_server If I try to add a kyocera driver as described in this description, I do always get the following error message: "The folder you specified doesn't contain a compatible software driver for your device. if the folder contains a driver, make sure it is designed to work with Windows for x64-based systems". Seems to be one of those windows messages that lead to a complete wrong direction. I could successfully install drivers from other manufacturers - "Zebra" especially. Any help is very appreciated R?diger