Information on Printer driver uploading/downloading and printing

Christopher R. Hertel crh at
Tue Jun 3 15:16:09 GMT 2003

I don't actually know a lot about the printing subsystems in CIFS.  I do
know that there are three different subsystems.  The original native-SMB
system doesn't pass printer drives so that's not an issue for you.  I'm
not sure if the RAP-based printing system hands drivers back and forth.  
Most likely, though, you're dealing with the MSRPC-based system.  That has
been an area of active research and development for quite some time now.  
It is ugly stuff.

There was a tutorial on the subject given at last years CIFS conference:
Also you can look at (and listen to) the presentation given at the 
Samba/XP conference last year:
...look for "The Printing subsystem in Samba".

Both were excellent presentations.  I think, however, that the material
will only help you to realize how completely awful the MSRPC-based
printing subsystem really is.  You may find it much easier to work around 
your "various other reasons" and upgrade than to try and back-port the 
MSRPC printing support.

Chris -)-----

On Tue, Jun 03, 2003 at 11:08:57AM +0530, Pradeepa Venkatswamy wrote:
> Hi,
> We are using samba 2.2.1a.Due to various other reasons we couldn't able
> to upgrade to higher version of samba.
> Samba 2.2.1a has problem in printer driver uploading,downloading and
> printing.Basically it works fine for one set of printer drivers and
> doesn't work for other set of printer drivers.
> We have analysed the DEBUG log and the ethereal capturing.Samba is not
> failing anywhere and windows is not sending the expected messages in
> case of non-working drivers.
> I am finding it really difficult to analyse this failure.
> Can anyone give detail information on how printer driver
> uploading\downloading works?Especially on spoolss pipe.(I know Microsoft
> doesn't give any specification),but can I get any information from samba
> members??
> Regards,
> V.Pradeepa.
> ------------------------------------------------------------------------
> ------------
> Wipro Technologies
> No.26,Hosur Main Road
> Bommanahalli
> Bangalore - 560 068.INDIA
> Tel :+91-80-5732293 Ex.5236
> Fax :+ 91-80-5732696
> ------------------------------------------------------------------------
> ------------
> **************************Disclaimer************************************
> Information contained in this E-MAIL being proprietary to Wipro Limited is 
> 'privileged' and 'confidential' and intended for use only by the individual
>  or entity to which it is addressed. You are notified that any use, copying 
> or dissemination of the information contained in the E-MAIL in any manner 
> whatsoever is strictly prohibited.
> ***************************************************************************

"Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
Samba Team --     -)-----   Christopher R. Hertel
jCIFS Team --   -)-----   ubiqx development, uninq.
ubiqx Team --     -)-----   crh at
OnLineBook --    -)-----   crh at

More information about the samba-technical mailing list