1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
samba-mirror/examples/printing
2002-12-16 17:26:02 +00:00
..
prtpub.c Add win32 utility to query driver capabilities to publish 2002-12-16 17:26:01 +00:00
readme.prtpub Add win32 utility to query driver capabilities to publish 2002-12-16 17:26:01 +00:00
smbprint sync'ing up for 3.0alpha20 release 2002-09-25 15:05:17 +00:00
smbprint-new.sh Add the new smbprint shell script, smbprint-new.sh that is supposed to fix some problems under *BSD and etc ... 2002-02-04 02:24:29 +00:00
smbprint.sysv Initial version imported to CVS 1996-05-04 07:50:46 +00:00

prtpub.c contains a program which, when compiled with Visual C, can 
download a driver for a printer, query the capabilities of the driver,
then write back the DsDriver keys necessary to publish all the fields
of a printer in the directory.  After writing back the fields, it issues
a SetPrinter with info level 7, telling the server to publish the
printer.

It also writes the fields to stdout.

In order to be distributed, it should be compiled using DLLs for C runtime.

The program takes the UNC name of a printer as the only argument.