Hi Cyrille!

The trick is : you need the registry settings of the driver on the
remote samba machine.

This can be done by this way:

1st Create a printer with this driver on your local machine
2nd Create a printer with this driver on your samba server.

3rd: (needs some M$ programming) Copy the registry settings:

use EnumPrinterDataEx calls followed by GetPrinterDataEx (Using a handle
to your new local printer) and SetPrinterDataEx on the remote samba
server (Using a handle to your new *remote* printer).

4th Add registry value "_p_f_a_n_t_0_m_" to your samba server.

After that, you can use every samba printer using this driver even with
Access.

If wanted, I could try to write a little reg-copy programm next week.

Bye,

Martin

Cyrille Bollu wrote:
> We are more thinking about removing Acces XP :-)
>
> "Joe Cipale" a écrit sur 07/12/2005 17:07:31 :
>
>
>>Cyrille,
>>
>>Personally.. I would say scrap Samba printing as a printing solution
>>between linux/unix and XP and install a dedicated print server. HP,
>>Linksys and D-Link all make very good, reliable solutions that are
>>very easy to setup and configure.
>>
>>This will save you a great deal of time, energy and headaches. Just
>>my opinion, mind you.
>>
>>Joe Cipale
>>
>>Cyrille Bollu wrote:
>>
>>
>>>Hi all,
>>>
>>>I'm having an issue with printing on a samba shared printer from

>
> Access XP
>
>>>2002.
>>>
>>>This issue has already been reported twice on this list but never
>>>answered.
>>>
>>>We are experiencing a strange problem using Microsoft Access XP 2002

>
> to
>
>>>create a report when the default printer is set to a network Samba
>>>Printer.
>>>
>>>We have already tried setting 'default devmode = yes' on the printer
>>>within smb.conf, but without luck.
>>>
>>>We have found that we can set the default printer on the workstation

>
> to a
>
>>>locally stored printer definition and then start the Access Report
>>>Designer, and print to the Samba printer by changing the printer at

>
> the
>
>>>time of print, but this is a rather long way around.
>>>
>>>Does anybody went further in the resolution of this problem?
>>>
>>>Greets,
>>>
>>>Cyrille
>>>--
>>>To unsubscribe from this list go to the following URL and read the
>>>instructions: https://lists.samba.org/mailman/listinfo/samba

>>



--
Martin Zielinski mz@seh.de
Software Development
SEH Computertechnik GmbH www.seh.de
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba