CVS update: samba/source/printing

jreilly at samba.org jreilly at samba.org
Thu Dec 6 14:44:27 EST 2001


Date:	Wed Dec  5 19:44:26 2001
Author:	jreilly

Update of /data/cvs/samba/source/printing
In directory va:/tmp/cvs-serv25742/printing

Modified Files:
      Tag: APPLIANCE_HEAD
	nt_printing.c 
Log Message:
Fixes for printing (P&P), several DEBUG cleanups

printing/nt_printing.c
  unpack_devicemode()              clean up some DEBUG()'s
  get_a_printer_2_default()        change printer attributes, see below
  get_a_printer_2()                change printer attributes, see below
  mod_a_printer()                  some work (currently #if 0'ed out) to try to sort out some
                                   issues with set_printer_data() related to c_setprinter &
                                   change_id... JRA & I thought we got it last Feb, but that
                                   was a hack for 2k... its still not quite right

rpc_server/srv_spoolss_nt.c
  check_printer_ok()               Although 2k/Nt set the LOCAL attr, they also switch it to
                                   NETWORK when they P&P to a windows client. Now we set it to
                                   NETWORK, and then just serve it to the clients when they
                                   connect. We are always a SHARED printer :-)   In the past we
                                   set RAW_ONLY, this is incorrect; neither 2k nor NT do. We
                                   are protected against client attempts to do EMF printing,
                                   by refusing (elsewhere in the code), and forcing the clients
                                   to back down to RAW.  If you change these bits, you *will*
                                   break printer drivers rendering; they make decisions based
                                   on these settings
rpc_parse/parse_misc.c
  spoolss_io_r_setprinter()        change low info content string "data" to meaningful "handle"
                                   which make debug log post processors easier to write

JohnR


Revisions:
nt_printing.c		1.83.2.57 => 1.83.2.58
	http://www.samba.org/cgi-bin/cvsweb/samba/source/printing/nt_printing.c?r1=1.83.2.57&r2=1.83.2.58




More information about the samba-cvs mailing list