Gerald (Jerry) Carter wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ryan Suarez wrote:
| Greetings Admins,
|
| The howto details setting the device mode using a windows client:
|
http://us4.samba.org/samba/docs/man/Samba-HOWTO-Collection/printing.html#id2552900



| | | Is there a way to script this process? We support 260+ printers and | it's a pain in the ass. (My wrist is hurting!)

There is actually. You can store default initialization
data for each printer driver and then a printer will
get this information assigned when it is bound to the
driver.

What you do is to set a printer bound to the driver in
quetion to be like you want it and the send a SetPrinterData()
call to set the registry value named "_p_f_a_n_t_0_m_"
(type REG_BINARY) to some arbitrary value.  The value doesn't
really matter.  This tells smbd to save a snapshot of that
printer's data as the default initialization data for that
driver.

Then when you bind a new printer to the same driver, it will
be assigned that get that initialization data.

Hope this helps.

Jerry, can you cut & paste what you just said into Samba-HOWTO-Collection? :o)


Igor

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to