[Samba] Large Papersizes
mz at seh.de
Fri Aug 23 02:30:00 GMT 2002
Hello list, Gerald,
After applying your patch, I get "Access Denied" errors when trying to
add a form in the "server properties" dialog.
This is because (on my system) Printer->access_granted is 0.
I made things work by adding a different access check, if the
printer_type is PRINTSERVER (user.uid == 0...)
I don't really understand the whole security concept, so
this might not be, what you want.
As far as I can see, your patch only touches the addform function.
I think you have to modfy the deleteform and setform funktion the same way
to make all these things work.
Geral Carter wrote:
>On Thu, 27 Jun 2002, Klaus Steinberger wrote:
>> i use Serverside printerdrivers, and since 2.2.5 it seems to work well,
>> but on problem remains:
>> I installed a driver for the HP 750 Designjet with cupsaddsmb. This
>> drivers works well, but only up to A2. The Printer Properties don't let
>> me choose larger paper sizes than A2 (I need definitly A1 and A0 ).
>> I tried to create new forms trough server properties, but it does not
>> work. Is it already supported to create custom forms?
>> Also please provide those large forms also as default in next version.
>I've posted a patch to
>that should allow you to add customized form via the server properties
>dialog now. Please test against 2.2.5 (or grab the lates SAMBA_2_2 cvs
>code) and let me know.
Martin Zielinski mz at seh.de
More information about the samba-technical