summaryrefslogtreecommitdiffstats
path: root/source/include/nt_printing.h
Commit message (Collapse)AuthorAgeFilesLines
* add #define for the max device name length in a DEVICEMODEGerald Carter2003-03-061-0/+2
|
* Progress on CR 601Gerald Carter2003-02-251-0/+45
| | | | | | | | | cache the printer_info_2 with the open printer handle. cache is invalidated on a mod_a_printer() call **on that smbd**. Yes, this means that the window for admins to step on each other from different clients just got larger, but since handles a generally short lived this is probably ok.
* More printer data to publishJim McDonough2002-12-051-0/+1
|
* More attributes to publish. All DsSpooler attributes except REG_MULTI_SZ ↵Jim McDonough2002-12-041-0/+3
| | | | ones should be published now.
* Add defines for standard DsSpooler/DsDriver values that get published.Jim McDonough2002-12-031-0/+54
|
* change notify merge from APP_HEADGerald Carter2002-09-101-2/+14
|
* * fix Get/SetPrinterDataEx() to work with printer key otherGerald Carter2002-08-181-0/+1
| | | | | | | than SPOOL_PRINTERDATA_KEY * created an internal set/get_printer_dataex() call for reuse in Set/GetPrinterData()
* fix seg fault in _spoolss_enumprinterkey after changes...Gerald Carter2002-08-171-0/+1
| | | | add SPOOL_PNPDATA_KEY define
* Fairly large change to printing code.Gerald Carter2002-08-161-10/+21
| | | | | | | | | | | | | | | | | | | * removed support for PHANTOM_DEVMODE printer data * s/NT_PRINTER_PARAM/REGISTRY_VALUE/g - This was a good bit of work. Everything seems stable, but is not complete. * support for printer data keys other than PrinterDriverData in the store and fetch routines. Still needs to be plugged into the XxxPrinterDataEx() calls. Tested against NT4.0 & 2k. Like I said, it's not done, but doesn't crash so it shouldn't upset anyone (unless you're trying to build a Samba printer server off of HEAD). More work to come. Should settle by Monday. jerry
* Proper merge of all the working printing stuff from APPLIANCE_HEAD.Jeremy Allison2002-06-281-1/+21
| | | | | Now let's keep this in sync ! Jeremy.
* Removed version number from file header.Tim Potter2002-01-301-2/+1
| | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header.
* Sed error. The status value in the PRINTER_INFO_2 structure isn't a WERRORTim Potter2002-01-071-1/+1
| | | | but a plain old uint32.
* the next stage in the NTSTATUS/WERROR change. smbd and nmbd now compile, but ↵Andrew Tridgell2001-09-041-1/+1
| | | | the client code still needs some work
* converted another bunch of stuff to NTSTATUSAndrew Tridgell2001-08-271-1/+1
|
* Merge from appliance head of JR's changes for driver versioning.Jeremy Allison2000-11-141-6/+20
| | | | Jeremy.
* John Reilly @ HP (who is a wonderful human being and *definately* needsJeremy Allison2000-10-251-0/+28
| | | | | | | | CVS commit access :-) has written a simple routine that peeks inside the MS PE printer driver file format and can tell if a driver is W2K or NT4.x. So we can now correctly return the driver version number. Hurrah ! JF - this is the code you always wanted ..... :-) :-). Jeremy.
* Added print job substitutions for %{printername}, %{sharename} and %{portname}Jeremy Allison2000-08-011-0/+5
| | | | | | from the NT printer tdb. Also added checks for time restrictions before allowing a job to print. Jeremy.
* Added John Reilly's enumports/addprinter/delprinter scripting code plus theJeremy Allison2000-07-311-1/+1
| | | | | | | | | | fix for the Win9x printer drivers. Changed command names to add "command" string on the end for some consistancy with the other scripting commands. Added '%P' option to tdbpack/unpack to store long comment string. Made port name be "Samba Printer Port" if no enum port script given. Fixed prs_uint32_pre code to cope with null args. Jeremy.
* Fixed open handle code in printers - 3 functions were always being doneJeremy Allison2000-07-221-0/+1
| | | | | | in order - moved them into open_printer_hnd(). Added saving of comment field. Jeremy.
* Moved printer ACE mask values from nt_printing.h to rpc_spoolss.hTim Potter2000-07-061-7/+0
|
* Added parenthesis around definition of PRINTER_ACE_PRINT.Tim Potter2000-06-231-1/+1
|
* Added some permission constants that are set for NT printer securityTim Potter2000-06-161-0/+7
| | | | | descriptors. These seem to be made up of the standard and generic access rights rather than object specific access rights.
* fixed the pack/unpack of the devicemodeAndrew Tridgell2000-06-041-2/+4
| | | | we were being bitten by uint16/uint32 mixups
* More stuff I cvan't afford to lose. I'm realizing how dependent I amJeremy Allison2000-06-011-1/+1
| | | | | on this bloody CVS link.... Jeremy.
* security descs in spoolss. needs parse_sec.c nttrans.c broken.Luke Leighton2000-05-271-1/+1
|
* a fairly big change in spoolss.Andrew Tridgell2000-05-241-6/+5
| | | | | | | got rid of the forms, drivers and printers files in the nt drivers directory and instead use a single tdb note that this is _not_ all finished.
* added spool_io_printer_driver_info_level_6()Andrew Tridgell2000-05-121-0/+21
| | | | | | thsi function and the associated header structure were autogenerated using a little awk based code geerator I wroe ths evening. I'll commit that next ...
* getprinter level 0: was to short, found most of the fields, undocumented,Jean-François Micouleau2000-03-101-1/+25
| | | | | | | | | undecoded, nothing in MSDN, but now it works :-) cleanup of error codes. fixed some dfs declarations function. J.F.
* Big update moving the multi-pdu support from 2.0.x into HEAD for JFJeremy Allison2000-03-091-0/+4
| | | | | | | | | | | | and the printer functions. Also tidied up some header includes and got the order right so you can now do a : make proto make clean make Jeremy.
* First commit of the spoolss code to the HEAD branch.Jean-François Micouleau2000-02-071-0/+237
| | | | | | still needs a lot of cleaning/debuging. J.F.
* 2nd phase of head branch sync with SAMBA_2_0 - this delets all the files ↵Andrew Tridgell1999-12-131-102/+0
| | | | that were in the head branch but weren't in SAMBA_2_0
* Adding RPC spoolss code support and some new low-level printing functions.Jean-François Micouleau1999-04-271-0/+102
Jean Francois