On Lu, 28 iun 10, 00:55:20, Rene Engelhard wrote: > tag 587301 + moreinfo
Trying to provide some :) > On Sun, Jun 27, 2010 at 11:31:57AM +0300, Andrei Popescu wrote: > > The default for the printer is A4, the page format is correctly set to > > A4 (due to the Language setting, which is taken from the locale), but > > all OpenOffice.org applications still want to print to "US Letter" > > (File->Print->Properties... or File->Printer Settings->Properties...). > > > > After some greping it seems the culprit is: > > > > ,----[ /usr/lib/openoffice/basis3.2/share/psprint/driver/SGENPRT.PS ] > > | *% ===== Paper ===== > > | > > | *OpenUI *PageSize: PickOne > > | *OrderDependency: 30 AnySetup *PageSize > > | *DefaultPageSize: Letter > > `---- > > grepping doesn't always help. That is a PPD file which is not used > when you use CUPS (which you should) and configured CUPS to use A4. > > > I changed that to A4 and now the default is ok (for me), at least until > > the next update... > > Until you fix your system, yes. > > > IMHO the default printer paper size should come from either the locale, > > libpaper or cups, [...] > > It does afaik. For some reason it doesn't, and all other applications I tried do not have this problem. All of them where GTK, but I can try with some QT apps as well, as soon as I have access to that machine (latest tomorrow). Could there be some timeouts involved? The cups "server" is on a low-end (PII-333) lan machine and GTK apps do take a while (20-30 secs?) to get the printer informations. What can I do to investigate why OpenOffice.org is not communicating with cups? > > but definitely not from a hardcoded value in some obscure > > non-configuration file. > > That is true, but then again that .PS (a .PPD) should not be used > when you configured your printer correctly in cups. A fall-back value makes sense to me, but shouldn't it rather be /etc/openoffice/psprint.conf (where I uncommented PPD_PageSize=A4)? Regards, Andrei -- http://nuvreauspam.ro/2010/05/4-neticheta-pe-mail/
signature.asc
Description: Digital signature