Re: [Samba] (Trying) to understand Print properties saving

2013-01-02 Thread L . P . H . van Belle
>1. If I browse \\server\(server and fax) and I configure properties,
>   where are the changes saved?   
 ( on debian /var/lib/samba ) 

>2. When an end user configures the printer where does ther properties
>   should go (I have roaming profiles)? In the profile? in a registry?
In the user profile and registry. 

>If the domain/local Administrator changes the properties in the
>   printer on the client  via settings | printers how does 
>that change relate to  settings in 1 and 2?
You change the settings on the server with a user who has 
SePrintOperatorPrivileges 
( see http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/rights.html ) 
in most caes Administrator. when changes are made, they are for all users. 
users can override the settings with there own settings of the printer. 

>4. In a working setup, is there a way to force the paper format *after*
>   a user has already logged in and changed the properties?
best is to remove the printer ( with loginscript ) 
set the correct settings en reinstall the printers ( through loginscript ) 


( this is a example to set SE Rights. )
net -S PDC -U root rpc rights grant "DOMAIN\Domain Admins" 
SePrintOperatorPrivilege SeAddUsersPrivilege SeDiskOperatorPrivilege


also.

check the rights of the printer spooller folder. 
i changed my folder to /home/samba/spool 

Good luck..

Louis


>-Oorspronkelijk bericht-
>Van: san...@e-den.it [mailto:samba-boun...@lists.samba.org] 
>Namens 'Alessandro Dentella'
>Verzonden: woensdag 2 januari 2013 18:11
>Aan: samba@lists.samba.org
>Onderwerp: Re: [Samba] (Trying) to understand Print properties saving
>
>On Wed, Jan 02, 2013 at 11:08:40AM +, Moray Henderson wrote:
>> > From: Alessandro Dentella [mailto:san...@e-den.it]
>> > Sent: 01 January 2013 17:01
>> > 
>> > Hi,
>> > 
>> > some weeks ago I wrote to this list about a problem I have 
>saving print
>> > properties (samba 3.4.7 - ubuntu-lucid + XP-pro)
>> > 
>> > I never managed to solve it, I also tried with samba 3.6+ (Ubuntu
>> > precise) but had aother problems I wrote about in this list ending
>> > opening a bug [1].
>> > 
>> > Now I had to go back to my 3.4.7 installation. I'd like at least to
>> > bettere understand how print properties work so that I can 
>cope better
>> > with the situation.
>> > 
>> > In my setup the drivers are distributed by the server, client do
>> > realize they need the driver and server correctly serves them, the
>> > problem is that the page format is alwayes set to 'letter' 
>rather than
>> > 'A4'. I have roaming profiles.
>> > 
>> > I really need to fix this even thought some workaround.
>> 
>> I can't answer the other questions, but I do have some 
>instructions for
>> setting the default paper size (note these instructions were 
>written for
>> XP):
>> 
>> After you click "Finish" and the driver is copied, select 
>"Properties" on
>> the printer.  Say "No" when it asks if you want to install 
>the driver.  Go
>> to the "Advanced" tab and select the driver from the 
>dropdown list.  Click
>> "OK" and the name of the printer will change to show the 
>driver you just
>> installed.  Right-click the printer again. On the General 
>Tab set it back to
>> its original name.  Select "Properties" again and go back into the
>> "Advanced" tab.  Now there is a new option "Printing 
>Defaults".  Click
>> "Advanced on the Printing Defaults page.  NOW you can choose 
>the default
>> options for your users - like A4 paper size.  Nasty, isn't it?
>
>Thanks for the reply but I already did all this as explained 
>in my first
>post to this list [1]. As explained there I think it's related 
>to this bug
>[2], but when moved to precise I met others problems that made 
>be open this
>bug [3]...
>
>I'm not just asking to solve my problem but to explain the 
>machinary so that
>I can figure out a possible further debug step.
>
>
>
>
>I really don't know where to ask for these info if not on the 
>samba ml...
>So I represent the questions, hoping somene who knows the 
>answer and didn't
>read the others mail can follo on this one...
>
>
>
>Can someone tell me which are the components that store the print
>properties? If this is already explained somewhere, please give me the
>URL, I wasn't able to find it.
>
>1. If I browse \\server\(server and fax) and I configure properties,
>   where are the changes saved?
>
>2. When 

Re: [Samba] (Trying) to understand Print properties saving

2013-01-02 Thread 'Alessandro Dentella'
On Wed, Jan 02, 2013 at 11:08:40AM +, Moray Henderson wrote:
> > From: Alessandro Dentella [mailto:san...@e-den.it]
> > Sent: 01 January 2013 17:01
> > 
> > Hi,
> > 
> > some weeks ago I wrote to this list about a problem I have saving print
> > properties (samba 3.4.7 - ubuntu-lucid + XP-pro)
> > 
> > I never managed to solve it, I also tried with samba 3.6+ (Ubuntu
> > precise) but had aother problems I wrote about in this list ending
> > opening a bug [1].
> > 
> > Now I had to go back to my 3.4.7 installation. I'd like at least to
> > bettere understand how print properties work so that I can cope better
> > with the situation.
> > 
> > In my setup the drivers are distributed by the server, client do
> > realize they need the driver and server correctly serves them, the
> > problem is that the page format is alwayes set to 'letter' rather than
> > 'A4'. I have roaming profiles.
> > 
> > I really need to fix this even thought some workaround.
> 
> I can't answer the other questions, but I do have some instructions for
> setting the default paper size (note these instructions were written for
> XP):
> 
> After you click "Finish" and the driver is copied, select "Properties" on
> the printer.  Say "No" when it asks if you want to install the driver.  Go
> to the "Advanced" tab and select the driver from the dropdown list.  Click
> "OK" and the name of the printer will change to show the driver you just
> installed.  Right-click the printer again. On the General Tab set it back to
> its original name.  Select "Properties" again and go back into the
> "Advanced" tab.  Now there is a new option "Printing Defaults".  Click
> "Advanced on the Printing Defaults page.  NOW you can choose the default
> options for your users - like A4 paper size.  Nasty, isn't it?

Thanks for the reply but I already did all this as explained in my first
post to this list [1]. As explained there I think it's related to this bug
[2], but when moved to precise I met others problems that made be open this
bug [3]...

I'm not just asking to solve my problem but to explain the machinary so that
I can figure out a possible further debug step.




I really don't know where to ask for these info if not on the samba ml...
So I represent the questions, hoping somene who knows the answer and didn't
read the others mail can follo on this one...



Can someone tell me which are the components that store the print
properties? If this is already explained somewhere, please give me the
URL, I wasn't able to find it.

1. If I browse \\server\(server and fax) and I configure properties,
   where are the changes saved?

2. When an end user configures the printer where does ther properties
   should go (I have roaming profiles)? In the profile? in a registry?

3. If the domain/local Administrator changes the properties in the
   printer on the client  via settings | printers how does that change relate
   to  settings in 1 and 2?

4. In a working setup, is there a way to force the paper format *after*
   a user has already logged in and changed the properties?



[1] https://lists.samba.org/archive/samba/2012-December/170314.html
[2] https://bugzilla.samba.org/show_bug.cgi?id=6727
[3] https://bugzilla.samba.org/show_bug.cgi?id=9468


-- 
Sandro Dentella  *:-)
http://www.reteisi.org Soluzioni libere per le scuole
http://sqlkit.argolinux.orgSQLkit home page - PyGTK/python/sqlalchemy



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] (Trying) to understand Print properties saving

2013-01-02 Thread Moray Henderson
> From: Alessandro Dentella [mailto:san...@e-den.it]
> Sent: 01 January 2013 17:01
> 
> Hi,
> 
> some weeks ago I wrote to this list about a problem I have saving print
> properties (samba 3.4.7 - ubuntu-lucid + XP-pro)
> 
> I never managed to solve it, I also tried with samba 3.6+ (Ubuntu
> precise) but had aother problems I wrote about in this list ending
> opening a bug [1].
> 
> Now I had to go back to my 3.4.7 installation. I'd like at least to
> bettere understand how print properties work so that I can cope better
> with the situation.
> 
> In my setup the drivers are distributed by the server, client do
> realize they need the driver and server correctly serves them, the
> problem is that the page format is alwayes set to 'letter' rather than
> 'A4'. I have roaming profiles.
> 
> I really need to fix this even thought some workaround.

I can't answer the other questions, but I do have some instructions for
setting the default paper size (note these instructions were written for
XP):

After you click "Finish" and the driver is copied, select "Properties" on
the printer.  Say "No" when it asks if you want to install the driver.  Go
to the "Advanced" tab and select the driver from the dropdown list.  Click
"OK" and the name of the printer will change to show the driver you just
installed.  Right-click the printer again. On the General Tab set it back to
its original name.  Select "Properties" again and go back into the
"Advanced" tab.  Now there is a new option "Printing Defaults".  Click
"Advanced on the Printing Defaults page.  NOW you can choose the default
options for your users - like A4 paper size.  Nasty, isn't it?


> Can someone tell me which are the components that store the print
> properties? If this is already explained somewhere, please give me the
> URL, I wasn't able to find it.
> 
> 1. If I browse \\server\(server and fax) and I configure properties,
> where
>are the changes saved?
> 
> 2. When an end user configures the printer where does ther properties
> should
>go (I have roaming profiles)? In the profile? in a registry?
> 
> 3. If the domain/local Administrator changes the properties in the
> printer
>on the client  via settings | printers how does that change relate
> to
>settings in 1 and 2?
> 
> 4. In a working setup, is there a way to force the paper format *after*
> a
>user has already logged in and changed the properties?
> 
> 
> thanks in advance for any explanation
> thanks
> 
> sandro
> *:-)
> 
> 
> 
> [1] https://bugzilla.samba.org/show_bug.cgi?id=9468
> 
> --
> Sandro Dentella  *:-)
> http://www.reteisi.org Soluzioni libere per le scuole
> http://sqlkit.argolinux.orgSQLkit home page -
> PyGTK/python/sqlalchemy


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] (Trying) to understand Print properties saving

2013-01-01 Thread Mark DM
I have a similar issue with Ubuntu 12.04 based system , not sure of
Samba version but it keeps changing default paper to Postscript custom
which seems almost square. I change it in windows and apply and it
always reverts to postscript custom again

On Tue, Jan 1, 2013 at 5:01 PM, Alessandro Dentella  wrote:
>
> Hi,
>
> some weeks ago I wrote to this list about a problem I have saving print
> properties (samba 3.4.7 - ubuntu-lucid + XP-pro)
>
> I never managed to solve it, I also tried with samba 3.6+ (Ubuntu precise)
> but had aother problems I wrote about in this list ending opening a bug
> [1].
>
> Now I had to go back to my 3.4.7 installation. I'd like at least to bettere
> understand how print properties work so that I can cope better with the
> situation.
>
> In my setup the drivers are distributed by the server, client do realize
> they need the driver and server correctly serves them, the problem is that
> the page format is alwayes set to 'letter' rather than 'A4'. I have roaming
> profiles.
>
> I really need to fix this even thought some workaround.
>
> Can someone tell me which are the components that store the print
> properties? If this is already explained somewhere, please give me the URL,
> I wasn't able to find it.
>
> 1. If I browse \\server\(server and fax) and I configure properties, where
>are the changes saved?
>
> 2. When an end user configures the printer where does ther properties should
>go (I have roaming profiles)? In the profile? in a registry?
>
> 3. If the domain/local Administrator changes the properties in the printer
>on the client  via settings | printers how does that change relate to
>settings in 1 and 2?
>
> 4. In a working setup, is there a way to force the paper format *after* a
>user has already logged in and changed the properties?
>
>
> thanks in advance for any explanation
> thanks
>
> sandro
> *:-)
>
>
>
> [1] https://bugzilla.samba.org/show_bug.cgi?id=9468
>
> --
> Sandro Dentella  *:-)
> http://www.reteisi.org Soluzioni libere per le scuole
> http://sqlkit.argolinux.orgSQLkit home page - PyGTK/python/sqlalchemy
>
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] (Trying) to understand Print properties saving

2013-01-01 Thread Alessandro Dentella

Hi, 

some weeks ago I wrote to this list about a problem I have saving print
properties (samba 3.4.7 - ubuntu-lucid + XP-pro)

I never managed to solve it, I also tried with samba 3.6+ (Ubuntu precise)
but had aother problems I wrote about in this list ending opening a bug
[1].

Now I had to go back to my 3.4.7 installation. I'd like at least to bettere
understand how print properties work so that I can cope better with the
situation. 

In my setup the drivers are distributed by the server, client do realize
they need the driver and server correctly serves them, the problem is that
the page format is alwayes set to 'letter' rather than 'A4'. I have roaming
profiles. 

I really need to fix this even thought some workaround.

Can someone tell me which are the components that store the print
properties? If this is already explained somewhere, please give me the URL,
I wasn't able to find it.

1. If I browse \\server\(server and fax) and I configure properties, where
   are the changes saved?

2. When an end user configures the printer where does ther properties should
   go (I have roaming profiles)? In the profile? in a registry?

3. If the domain/local Administrator changes the properties in the printer
   on the client  via settings | printers how does that change relate to
   settings in 1 and 2?

4. In a working setup, is there a way to force the paper format *after* a
   user has already logged in and changed the properties?


thanks in advance for any explanation
thanks

sandro
*:-)



[1] https://bugzilla.samba.org/show_bug.cgi?id=9468

-- 
Sandro Dentella  *:-)
http://www.reteisi.org Soluzioni libere per le scuole
http://sqlkit.argolinux.orgSQLkit home page - PyGTK/python/sqlalchemy



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba