Possible to set printer devmode using samba3-python?

Stefan Metzmacher metze at metzemix.de
Wed Nov 12 15:15:53 GMT 2003

Gerald (Jerry) Carter wrote:

> Hash: SHA1
> daniel.jarboe at custserv.com wrote:
> | My intention is to copy all printer-related settings from an NT
> | print-server to a samba server.  The NT server is already configured
> | appropriately with several printers, and if I can clone those settings,
> | it would be a big time-saver and less error prone.  Also, for new
> | printers to be installed, I'd like our print admin to have the
> | capability of installing/configuring/shareing the printer on a windows
> | pc like they've always done, then trigger a process on our samba server
> | to use smbclient to retrieve the drivers from their PC, rpcclient
> | adddriver the printer to samba, and then copy all the printer 
> settings /
> | devmode etc.  It's this copy all the printer settings / devmode etc
> | portion that is tripping me up.
> |
> | Our users require functionality available in vendor-provided print
> | drivers that don't take kindly to being remotely uploaded to a samba
> | server using print$, and I'm hoping that I can get them to work by
> | installing them locally and then duplicating all the driver files /
> | settings they use onto the samba server.

can you sned the scripts to the list so that everybody can see how it works?



Stefan (metze) Metzmacher <metze at metzemix.de>

More information about the samba-technical mailing list