On Wed, 2003-08-20 at 07:56, Benjamin J. Weiss wrote:

> Question:  We tried last year to use samba as a print server for a bunch of
> Win2K client machines on a domain.  We could get Samba to authenticate to
> the WinNT domain, no prob, but we couldn't get the print server to see any
> of the special features of the printers.  For instance, we have a couple of
> HP laser printers with duplexers.  We were able to get the linux box to be
> the print server, but couldn't see the duplexer on the printer.
> 
> Were you able to get this kind of functionality?  And if so, how?

Samba and Linux, and Win(whatever) do not see such features.   Such
features are only 'seen' by the printer.  What you are asking is, how
can one control the use of such features?  There are two philosophical
positions: 1) such features should be under the control of the client,
so each client can choose to use, or not use, the feature, or 2) such
features are for the good of the community and all users must make use
of the feature.  

In the first case, the control of the feature is via the printer control
panel on each client.   Use of the feature then becomes a training
issue.  In the second case, control of the feature moves to the server
or to the printer!  If the server the location one wants to set the
control, then the server needs to be set to prepend the appropriate
control codes to the print stream to enable/disable the feature.  How
this is done is dependent on which printing system is on the server.  In
the worst case scenario, one must write a print filter and associate it
with the queue.  Not all that difficult.  But IMO in the case mentioned,
if one wants to enforce use of the duplexer the best fix is to set the 
printer to duplex all jobs.  No way for anyone to subvert the intent
(if the server prepends control codes to my stream, I can have control
codes embedded in my stream to counter what the server does).

And yes, I have done duplexer control of an HP4050TN printer through a
SAMBA shared Linux print queue.  Do not look at Samba for this, look
at your printing system (lpd, cups, etc) docs for how to do print
filters.

- rick 


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to