summaryrefslogtreecommitdiffstats
path: root/source/printing
Commit message (Collapse)AuthorAgeFilesLines
* * the printing code should now be back to the working state it wasGerald Carter2002-08-171-38/+19
| | | | | | | | | | before the swap from NT_PRINTER_PARAM to REGISTRY_VALUE. * XxxPrinterDataEx() functions have not been expanded to support keys other than SPOOL_PRINTERDATA_KEY yet * fixed apparent long standing bug regarding the dependentfiles list in the DRIVER_INFO struct
* Fairly large change to printing code.Gerald Carter2002-08-161-435/+311
| | | | | | | | | | | | | | | | | | | * 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
* one line merge from APP_HEADGerald Carter2002-08-081-1/+1
|
* delete printer driver fix from APP_HEADGerald Carter2002-08-081-14/+37
|
* printing change notification merge from APPLIANCE_HEADGerald Carter2002-08-082-19/+47
|
* Merge of print notify fixes from APPLIANCE_HEAD.Tim Potter2002-08-021-6/+5
|
* couple of minor formatting fixes to help me see better.Gerald Carter2002-07-291-4/+2
|
* Merge from APPLIANCE_HEAD.Tim Potter2002-07-221-1/+1
|
* Ensure we're root before opening a printer backend tdb.Jeremy Allison2002-07-221-0/+4
| | | | Jeremy.
* And a little more 'const'.Andrew Bartlett2002-07-201-1/+1
|
* another intermediate checkin on the way to enumerating formsGerald Carter2002-07-201-5/+9
| | | | | | via the registry. There is a seg fault here which shouldn't bother anyone until I can get it fixed. I just need a check point in case I need to roll back to this version later on.
* More fixes towards warnings on the IRIX compilerAndrew Bartlett2002-07-203-12/+7
| | | | | | | | | | | | (and yes, some of these are real bugs) In particular, the samr code was doing an &foo of various types, to a function that assumed uint32. If time_t isn't 32 bits long, that broke. They are assignment compatible however, so use that and an intermediate variable. Andrew Bartlett
* Gone back to explicit queue number passing as snum - removed encoding ofJeremy Allison2002-07-172-252/+121
| | | | | | queueid in job number. This means we must have an internal tdb to store mapping from 16 bit RAP jobid's to 32 bit RPC jobids. Jeremy.
* Lanman print jobs are *16* bits, not 32. arggggh. Map them....Jeremy Allison2002-07-171-0/+79
| | | | Jeremy.
* Put printing tdbs in a subdirectory to prevent name collisions.Jeremy Allison2002-07-161-1/+6
| | | | Jeremy.
* added copyrightGerald Carter2002-07-111-0/+1
|
* last check in for tonight.Gerald Carter2002-07-111-40/+128
| | | | | | | | | | * DeletePrinterDriverEx() now has the ability to delete driver files. I need to do some more testing tro veriofy that we are in fact not deleting a file out from under another driver, but it looks ok so far. * DeletePrinterDriver() noiw deletes all versions of the specified driver (cversion == 0, 1, 2, 3)
* all that is left to do is to actually perform theGerald Carter2002-07-111-15/+155
| | | | | file deletion now. I have the file list. One more commit should do it.
* intermediate work on DeletePrinterDriverEx(). This callGerald Carter2002-07-111-71/+146
| | | | | | will actually delete driver files ( not yet though I don't think). Just wanted to get it in since Jeremy and I are both working on nt_printing.c
* *Experimental* new large-scaling printer code. Splits printing.tdb intoJeremy Allison2002-07-114-155/+411
| | | | | | | a separate tdb per printer, but only keeps (currently one) tdb open at a time (although this is easily changed by changing a #define). Needs scalability testing with large numbers of printers now.... Jeremy.
* Fix for LPRng from James Henstridge james@daa.com.au.Jeremy Allison2002-07-081-0/+2
| | | | Jeremy.
* Address the string_sub problem by changing len = 0 to mean "no expand".Jeremy Allison2002-07-022-9/+9
| | | | | | Went through and checked all string_subs I could to ensure they're being used correctly. Jeremy.
* used findstatic.pl to make some variables static and remove some deadAndrew Tridgell2002-07-011-1/+1
| | | | code
* Shut down printing tdb correctly - this will be more important when I goJeremy Allison2002-06-281-3/+17
| | | | | to a tdb per-queue for scalability. Jeremy.
* Proper merge of all the working printing stuff from APPLIANCE_HEAD.Jeremy Allison2002-06-282-158/+435
| | | | | Now let's keep this in sync ! Jeremy.
* It's fairly obvious that no one has tried to upload a driverGerald Carter2002-06-271-2/+2
| | | | | | | | | | to a Samba print server running HEAD in a while. This has been broken since tridge's changes to make_connection() to not do the chdir() to the connect_path. Sorry it took me so long to get around to fixing it. The problem occured with our internal use of make_connection(). jerry
* replacing free() with SAFE_FREE() where possibleGerald Carter2002-06-241-8/+8
|
* backing out changes for nowGerald Carter2002-06-241-11/+11
|
* printing merge from SAMBA_2_2. Ther server code looks to be in sync now.Gerald Carter2002-06-244-29/+34
| | | | | | | | Mostly formatting and s/free/SAFE_FREE/g changes with the two exceptions being * John driver init changes * Tim's printer enumeration bug fix
* Format tidyup before I start working on scalability fixes (one file perJeremy Allison2002-06-211-74/+134
| | | | | print queue). Jeremy.
* Globally replace 'global_sam_sid' with get_global_sam_sid(), a selfAndrew Bartlett2002-06-071-2/+1
| | | | | | | | | initialising function. This patch thanks to the work of "Stefan (metze) Metzmacher" <metze@metzemix.de> This is partly to enable the transition to SIDs in the the passdb. Andrew Bartlett
* Ok, ok, I was too impatient...Jim McDonough2002-05-101-2/+2
|
* Fix build. Changed MSG_PRINTER_UPDATE to MSG_PRINTER_DRVUPGRADE.Jim McDonough2002-05-101-2/+2
| | | | Jeremy, please verify that this was ok...
* Merged in printing fixes... There were many missing !Jeremy Allison2002-05-091-0/+29
| | | | Jeremy
* Added Martin's lpq parse fixes from 2.2.Jeremy Allison2002-04-191-20/+12
| | | | Jeremy.
* When opening a tdb fails - don't expect to be able to do tdb_errstr ! (Doh!).Jeremy Allison2002-04-191-2/+2
| | | | Jeremy.
* Merge of print server permission handling fixes from HEAD.Tim Potter2002-04-151-0/+16
| | | | Unit tests rock!
* when background printing wasn't enabled printing was completely brokenAndrew Tridgell2002-04-131-1/+4
| | | | as the pid was 0
* removed unnecessary memsetGerald Carter2002-04-111-2/+1
|
* specversion merge from SAMBA_2_2Gerald Carter2002-04-111-0/+2
|
* Stomped on some header file version numbers that have crept back in.Tim Potter2002-03-221-1/+1
|
* Ensure we don't do lp_servicename()'s in tdb traverse as thisJeremy Allison2002-03-201-5/+7
| | | | | allocates lots of memory. Jeremy.
* Print queue entries *must* have queue names, not numbers - numbers areJeremy Allison2002-03-201-7/+30
| | | | | | not identical between different smbds (mr potter, come here and take your medicine.... :-). Jeremy.
* Remove the "stat open" code - make it inline. This should fix theJeremy Allison2002-03-201-1/+0
| | | | | | | | bugs with opening and renaming mp3 files, also the word rename problems that people have had for a while. Needs a make clean :-) make. Also added JohnR's printing fix. Jeremy.
* Merge JohnR's fix.Jeremy Allison2002-03-191-5/+10
| | | | Jeremy.
* Merge in JohnR's page count fixes.Jeremy Allison2002-03-191-4/+31
| | | | Jeremy.
* Fix ability to compile with CUPS support.John Terpstra2002-03-171-2/+2
|
* Added dos_errstr() function. Not all errors in list yet.Tim Potter2002-03-171-1/+1
|
* syncing up printing code with SAMBA_2_2 (already done some mergesGerald Carter2002-03-153-54/+96
| | | | | | | | | | | | | in the reverse). * add in new printer change notify code from SAMBA_2_2 * add in se_map_standard() from 2.2 in _spoolss_open_printer_ex() * sync up the _print_queue_struct in smb.h (why did someone change the user/file names in fs_user/fs_file (or vice-versa) ? ) * sync up some cli_spoolss_XXX functions
* getpid() -> sys_getpid()Tim Potter2002-03-141-1/+1
|