Possible to set printer devmode using samba3-python?
Gerald (Jerry) Carter
jerry at samba.org
Wed Nov 12 15:08:08 GMT 2003
-----BEGIN PGP SIGNED MESSAGE-----
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.
Yup. Works well. Talk to Tim Potter about the python code. :-)
( Hey tpot! )
cheers, jerry
- --
~ ----------------------------------------------------------------------
~ Hewlett-Packard ------------------------- http://www.hp.com
~ SAMBA Team ---------------------- http://www.samba.org
~ GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc
~ "If we're adding to the noise, turn off this song" --Switchfoot (2003)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/skzYIR7qMdg1EfYRAq4SAJwLKaof+d7JGHBA0Gry5kbX0/SH4wCgzBHU
tE7u3SNdiureh974pOUCW8o=
=q4Sv
-----END PGP SIGNATURE-----
More information about the samba-technical
mailing list