~vcs-imports/samba/main

« back to all changes in this revision

Viewing changes to examples/printing/readme.prtpub

  • Committer: jerry
  • Date: 2006-07-14 21:48:39 UTC
  • Revision ID: vcs-imports@canonical.com-20060714214839-586d8c489a8fcead
gutting trunk to move to svn:externals

Show diffs side-by-side

added added

removed removed

Lines of Context:
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.
7
 
 
8
 
It also writes the fields to stdout.
9
 
 
10
 
In order to be distributed, it should be compiled using DLLs for C runtime.
11
 
 
12
 
The program takes the UNC name of a printer as the only argument.