summaryrefslogtreecommitdiff
path: root/source3/include/nt_printing.h
AgeCommit message (Collapse)AuthorFilesLines
2003-03-06add #define for the max device name length in a DEVICEMODEGerald Carter1-0/+2
(This used to be commit 21ec2b6ba3ddba6964f6ddb53f8494e4a8b48a83)
2003-02-25Progress on CR 601Gerald Carter1-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. (This used to be commit 33c7b7522504fb15989f32add8e9a087c8d9d0fa)
2002-12-05More printer data to publishJim McDonough1-0/+1
(This used to be commit 82f3a786bf01878629fe4c05b028ae8d58eb4394)
2002-12-04More attributes to publish. All DsSpooler attributes except REG_MULTI_SZ ↵Jim McDonough1-0/+3
ones should be published now. (This used to be commit 4fc602fd7da4b216748b005f62b14be0cfdddd63)
2002-12-03Add defines for standard DsSpooler/DsDriver values that get published.Jim McDonough1-0/+54
(This used to be commit 2b152addf49f0ede001b263174d2eaab2600e933)
2002-09-10change notify merge from APP_HEADGerald Carter1-2/+14
(This used to be commit b5227f0a645fdf2358fcb880f22e4662efdfe8e3)
2002-08-18* fix Get/SetPrinterDataEx() to work with printer key otherGerald Carter1-0/+1
than SPOOL_PRINTERDATA_KEY * created an internal set/get_printer_dataex() call for reuse in Set/GetPrinterData() (This used to be commit 4eb8ffba032971cf83a0fcec7ca3730b4ded0bf0)
2002-08-17fix seg fault in _spoolss_enumprinterkey after changes...Gerald Carter1-0/+1
add SPOOL_PNPDATA_KEY define (This used to be commit cdaa3f55e1fcc38b1d7a63d502a9fea3b92bf193)
2002-08-16Fairly large change to printing code.Gerald Carter1-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 (This used to be commit 7ba7c04c0e961618c82c2112b9627af114c6cc42)
2002-06-28Proper merge of all the working printing stuff from APPLIANCE_HEAD.Jeremy Allison1-1/+21
Now let's keep this in sync ! Jeremy. (This used to be commit 3603cd4947df2c10df604447dc542932cb9e5d5a)
2002-01-30Removed version number from file header.Tim Potter1-2/+1
Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
2002-01-07Sed error. The status value in the PRINTER_INFO_2 structure isn't a WERRORTim Potter1-1/+1
but a plain old uint32. (This used to be commit 690cc12bad2a037684a43b0dcb48be8eb03aa7bc)
2001-09-04the next stage in the NTSTATUS/WERROR change. smbd and nmbd now compile, but ↵Andrew Tridgell1-1/+1
the client code still needs some work (This used to be commit dcd6e735f709a9231860ceb9682db40ff26c9a66)
2001-08-27converted another bunch of stuff to NTSTATUSAndrew Tridgell1-1/+1
(This used to be commit 1d36250e338ae0ff9fbbf86019809205dd97d05e)
2000-11-14Merge from appliance head of JR's changes for driver versioning.Jeremy Allison1-6/+20
Jeremy. (This used to be commit cdbd2e99775642dc2e92004be9014bf38a92d80f)
2000-10-25John Reilly @ HP (who is a wonderful human being and *definately* needsJeremy Allison1-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. (This used to be commit fd17374e6d888813f4ed7142480cf93b8a16bfef)
2000-08-01Added print job substitutions for %{printername}, %{sharename} and %{portname}Jeremy Allison1-0/+5
from the NT printer tdb. Also added checks for time restrictions before allowing a job to print. Jeremy. (This used to be commit 8cfb55e81abebf0354e6d470ed68bbac1d6560ad)
2000-07-31Added John Reilly's enumports/addprinter/delprinter scripting code plus theJeremy Allison1-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. (This used to be commit 902ada63799cf27924c72e24e7593a8c9fb5eba9)
2000-07-22Fixed open handle code in printers - 3 functions were always being doneJeremy Allison1-0/+1
in order - moved them into open_printer_hnd(). Added saving of comment field. Jeremy. (This used to be commit a0ee774fe92e5d0bc84d1d6729e8c538c67e8aba)
2000-07-06Moved printer ACE mask values from nt_printing.h to rpc_spoolss.hTim Potter1-7/+0
(This used to be commit 9245af1ea18babae09a92af634428a63ec55438e)
2000-06-23Added parenthesis around definition of PRINTER_ACE_PRINT.Tim Potter1-1/+1
(This used to be commit 0dbc680e34922557a7b4ad62e898002218fa94b3)
2000-06-16Added some permission constants that are set for NT printer securityTim Potter1-0/+7
descriptors. These seem to be made up of the standard and generic access rights rather than object specific access rights. (This used to be commit 07099fd4464eca2b5f061ef25309f41b8ab5e00b)
2000-06-04fixed the pack/unpack of the devicemodeAndrew Tridgell1-2/+4
we were being bitten by uint16/uint32 mixups (This used to be commit 1d37f76953534f7bf9d8890dda30c7e00cbb024c)
2000-06-01More stuff I cvan't afford to lose. I'm realizing how dependent I amJeremy Allison1-1/+1
on this bloody CVS link.... Jeremy. (This used to be commit 864e7bde0e804edbb2425b9c4c7ff271553f8169)
2000-05-27security descs in spoolss. needs parse_sec.c nttrans.c broken.Luke Leighton1-1/+1
(This used to be commit f9f2a04fdb7b2af1cfe5bf26ec6f0d955ea948b9)
2000-05-24a fairly big change in spoolss.Andrew Tridgell1-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. (This used to be commit 06763d1ec2fafc42f8ee3f36f0aeacceb3a7109d)
2000-05-12added spool_io_printer_driver_info_level_6()Andrew Tridgell1-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 ... (This used to be commit 974813f0d4afb6c14ed27c48ab24b19932557f9f)
2000-03-10getprinter level 0: was to short, found most of the fields, undocumented,Jean-François Micouleau1-1/+25
undecoded, nothing in MSDN, but now it works :-) cleanup of error codes. fixed some dfs declarations function. J.F. (This used to be commit 87da4404aba29a2ebd999886e4c06958c96d3e05)
2000-03-09Big update moving the multi-pdu support from 2.0.x into HEAD for JFJeremy Allison1-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. (This used to be commit 833cd9fba92e4ad5297b235d108dd2be8c17079b)
2000-02-07First commit of the spoolss code to the HEAD branch.Jean-François Micouleau1-0/+237
still needs a lot of cleaning/debuging. J.F. (This used to be commit bd9d4cdde9193c120c6f4e8cf72f87cd67a9387e)
1999-12-132nd phase of head branch sync with SAMBA_2_0 - this delets all the files ↵Andrew Tridgell1-102/+0
that were in the head branch but weren't in SAMBA_2_0 (This used to be commit d7b208786590b5a28618590172b8d523627dda09)
1999-04-27Adding RPC spoolss code support and some new low-level printing functions.Jean-François Micouleau1-0/+102
Jean Francois (This used to be commit 9e8192cc674db7551569d23982877dd25c488b50)