source: branches/samba-3.0/examples/printing/readme.prtpub@ 164

Last change on this file since 164 was 1, checked in by Paul Smedley, 18 years ago

Initial code import

File size: 540 bytes
Line 
1prtpub.c contains a program which, when compiled with Visual C, can
2download a driver for a printer, query the capabilities of the driver,
3then write back the DsDriver keys necessary to publish all the fields
4of a printer in the directory. After writing back the fields, it issues
5a SetPrinter with info level 7, telling the server to publish the
6printer.
7
8It also writes the fields to stdout.
9
10In order to be distributed, it should be compiled using DLLs for C runtime.
11
12The program takes the UNC name of a printer as the only argument.
Note: See TracBrowser for help on using the repository browser.