s3:net_idmap_delete do not lock two records at the same time
[Samba/gebeck_regimport.git] / examples / printing / readme.prtpub
blob319ce605c3b89be64eac8504eb542527b430331d
1 prtpub.c contains a program which, when compiled with Visual C, can 
2 download a driver for a printer, query the capabilities of the driver,
3 then write back the DsDriver keys necessary to publish all the fields
4 of a printer in the directory.  After writing back the fields, it issues
5 a SetPrinter with info level 7, telling the server to publish the
6 printer.
8 It also writes the fields to stdout.
10 In order to be distributed, it should be compiled using DLLs for C runtime.
12 The program takes the UNC name of a printer as the only argument.