FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 06-26-2010, 11:00 AM
Andrei Popescu
 
Default OpenOffice.org tries to print to Letter instead of A4

Hello everybody,

I am stuck with this, hopefully someone else knows what's going on.

system: Debian testing (squeeze)
locale: ro_RO.UTF-8
openoffice.org: 1:3.2.1-3 (most recent in testing)
cups (local): 1.4.3-1 (most recent in testing)
cups (remote): 1.3.8-1+lenny8 (lenny-proposed-updates)
printer: HP LaserJet III Plus shared via cups from a local stable
machine
symptoms: whenever someone tries to print from an OpenOffice.org
application the paper size in
File -> Printer Configuration... Properties
is set to "US Letter". As a result the print will be stuck, it is set to
A4 (and there is not Letter paper available). Setting the paper size
manually to A4 works, but is not preserved if OpenOffice.org is closed.

Any other application I tried (abiword, gnumeric, evince, ...) correctly
defaults to A4.

The printer defaults to A4, local and remote /etc/papersize is set to
a4. The default paper size for new documents is A4 (as per Tools->
Options -> Language Settings -> Language: Romanian, set via the locale)
and this is correctly reflected by Format -> Page which correctly shows
A4. I even set:

PPD_PageSize=A4

in /etc/openoffice/psprint.conf

but OpenOffice.org still defaults to "US Letter" for the printer
settings. Where is this setting coming from?

Regards,
Andrei
--
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
 
Old 06-26-2010, 11:31 AM
Camaleón
 
Default OpenOffice.org tries to print to Letter instead of A4

On Sat, 26 Jun 2010 14:00:33 +0300, Andrei Popescu wrote:

(...)

> but OpenOffice.org still defaults to "US Letter" for the printer
> settings. Where is this setting coming from?

Did you check the default settings for the printer in CUPS?

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: pan.2010.06.26.11.31.47@gmail.com">http://lists.debian.org/pan.2010.06.26.11.31.47@gmail.com
 
Old 06-26-2010, 12:35 PM
Lisi
 
Default OpenOffice.org tries to print to Letter instead of A4

On Saturday 26 June 2010 12:00:33 Andrei Popescu wrote:
> Hello everybody,
>
> I am stuck with this, hopefully someone else knows what's going on.
>
> system: Debian testing (squeeze)
> locale: ro_RO.UTF-8
> openoffice.org: 1:3.2.1-3 (most recent in testing)
> cups (local): 1.4.3-1 (most recent in testing)
> cups (remote): 1.3.8-1+lenny8 (lenny-proposed-updates)
> printer: HP LaserJet III Plus shared via cups from a local stable
> machine
> symptoms: whenever someone tries to print from an OpenOffice.org
> application the paper size in
> File -> Printer Configuration... Properties
> is set to "US Letter". As a result the print will be stuck, it is set to
> A4 (and there is not Letter paper available). Setting the paper size
> manually to A4 works, but is not preserved if OpenOffice.org is closed.
>
> Any other application I tried (abiword, gnumeric, evince, ...) correctly
> defaults to A4.
>
> The printer defaults to A4, local and remote /etc/papersize is set to
> a4. The default paper size for new documents is A4 (as per Tools->
> Options -> Language Settings -> Language: Romanian, set via the locale)
> and this is correctly reflected by Format -> Page which correctly shows
> A4. I even set:
>
> PPD_PageSize=A4
>
> in /etc/openoffice/psprint.conf
>
> but OpenOffice.org still defaults to "US Letter" for the printer
> settings. Where is this setting coming from?

Sorry to ask the obvious, but have you got your default style set to A4 in the
Format -> Page -> Page -> Paper Format setting?

Lisi


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 201006261335.59817.lisi.reisz@gmail.com">http://lists.debian.org/201006261335.59817.lisi.reisz@gmail.com
 
Old 06-26-2010, 12:37 PM
Lisi
 
Default OpenOffice.org tries to print to Letter instead of A4

On Saturday 26 June 2010 12:00:33 Andrei Popescu wrote:
> Format -> Page which correctly shows
> A4. I even set:

Sorry :-( I obviously read too fast.

Lisi


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 201006261337.10599.lisi.reisz@gmail.com">http://lists.debian.org/201006261337.10599.lisi.reisz@gmail.com
 
Old 06-26-2010, 06:18 PM
Andrei Popescu
 
Default OpenOffice.org tries to print to Letter instead of A4

On Sb, 26 iun 10, 11:31:48, Camaleón wrote:
> On Sat, 26 Jun 2010 14:00:33 +0300, Andrei Popescu wrote:
>
> (...)
>
> > but OpenOffice.org still defaults to "US Letter" for the printer
> > settings. Where is this setting coming from?
>
> Did you check the default settings for the printer in CUPS?

Yes (not very obvious from my message), that was the very first thing to
check. Also any other applications I tried correctly pick-up A4 as the
paper size. This is only an issue with OpenOffice.org

Regards,
Andrei
--
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
 
Old 06-26-2010, 06:30 PM
Camaleón
 
Default OpenOffice.org tries to print to Letter instead of A4

On Sat, 26 Jun 2010 21:18:23 +0300, Andrei Popescu wrote:

> On Sb, 26 iun 10, 11:31:48, Camaleón wrote:

>> Did you check the default settings for the printer in CUPS?
>
> Yes (not very obvious from my message), that was the very first thing to
> check. Also any other applications I tried correctly pick-up A4 as the
> paper size. This is only an issue with OpenOffice.org

Then check the "spadmin" settings for the printer. Maybe OOo still gets
it defaults from there...

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: pan.2010.06.26.18.30.46@gmail.com">http://lists.debian.org/pan.2010.06.26.18.30.46@gmail.com
 
Old 06-26-2010, 09:20 PM
Lisi
 
Default OpenOffice.org tries to print to Letter instead of A4

On Saturday 26 June 2010 19:18:23 Andrei Popescu wrote:
> On Sb, 26 iun 10, 11:31:48, Camaleón wrote:
> > On Sat, 26 Jun 2010 14:00:33 +0300, Andrei Popescu wrote:
> >
> > (...)
> >
> > > but OpenOffice.org still defaults to "US Letter" for the printer
> > > settings. Where is this setting coming from?
> >
> > Did you check the default settings for the printer in CUPS?
>
> Yes (not very obvious from my message), that was the very first thing to
> check. Also any other applications I tried correctly pick-up A4 as the
> paper size. This is only an issue with OpenOffice.org
>
> Regards,
> Andrei

Perhaps someone on the OpenOffice.org mailing list might be able to help??

Lisi


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 201006262220.46121.lisi.reisz@gmail.com">http://lists.debian.org/201006262220.46121.lisi.reisz@gmail.com
 
Old 06-26-2010, 09:54 PM
Aniruddha
 
Default OpenOffice.org tries to print to Letter instead of A4

Have you tried # dpkg-reconfigure libpaper1 ?


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: AANLkTimQn1dVkAa1gph_k_es2c2toEt_S4kyukoT4gKH@mail .gmail.com">http://lists.debian.org/AANLkTimQn1dVkAa1gph_k_es2c2toEt_S4kyukoT4gKH@mail .gmail.com
 
Old 06-27-2010, 07:52 AM
Andrei Popescu
 
Default OpenOffice.org tries to print to Letter instead of A4

On Sb, 26 iun 10, 18:30:46, Camaleón wrote:
> On Sat, 26 Jun 2010 21:18:23 +0300, Andrei Popescu wrote:
>
> > On Sb, 26 iun 10, 11:31:48, Camaleón wrote:
>
> >> Did you check the default settings for the printer in CUPS?
> >
> > Yes (not very obvious from my message), that was the very first thing to
> > check. Also any other applications I tried correctly pick-up A4 as the
> > paper size. This is only an issue with OpenOffice.org
>
> Then check the "spadmin" settings for the printer. Maybe OOo still gets
> it defaults from there...

Well, spadmin also shows "US Letter" and changes are not persistent.

Regards,
Andrei
--
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
 
Old 06-27-2010, 08:21 AM
Andrei Popescu
 
Default OpenOffice.org tries to print to Letter instead of A4

On Sb, 26 iun 10, 14:00:33, Andrei Popescu wrote:
> Hello everybody,
>
> I am stuck with this, hopefully someone else knows what's going on.
...
> but OpenOffice.org still defaults to "US Letter" for the printer
> settings. Where is this setting coming from?

Apparently it comes from:

,----[ /usr/lib/openoffice/basis3.2/share/psprint/driver/SGENPRT.PS ]
| *% ===== Paper =====
|
| *OpenUI *PageSize: PickOne
| *OrderDependency: 30 AnySetup *PageSize
| *DefaultPageSize: Letter
`----

I changed that to A4 and now the default is ok (for me), at least until
the next update... I'll file a bug.

Regards,
Andrei
--
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
 

Thread Tools




All times are GMT. The time now is 04:27 PM.

VBulletin, Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org