Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
setting default page size in acroread
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
at240
l33t
l33t


Joined: 12 Aug 2005
Posts: 603
Location: UK

PostPosted: Mon May 08, 2006 2:04 pm    Post subject: setting default page size in acroread Reply with quote

Acrobat Reader insists on having US Letter as the default page size when I print documents. It is a real pain changing it to A4 each time. How do I make it A4 by default? I must have missed something really obvious. :?

Just to anticipate one line of response: CUPS is configured correctly to use A4 by default---this is a problem with acroread itself, I think.

Thanks in advance.
Back to top
View user's profile Send private message
SoylentGreen
l33t
l33t


Joined: 19 Aug 2005
Posts: 904
Location: The Hostel

PostPosted: Mon May 08, 2006 2:15 pm    Post subject: Reply with quote

are you sure you emerged acroread with the "nls" USEflag?
in my case, it fetches the german version here, and defaults to A4 8O
Code:

app-text/acroread-7.0.5-r2  USE="cups nls nsplugin -ldap"

+ + nls      : Adds Native Language Support (using gettext - GNU locale utilities)
Back to top
View user's profile Send private message
at240
l33t
l33t


Joined: 12 Aug 2005
Posts: 603
Location: UK

PostPosted: Mon May 08, 2006 2:46 pm    Post subject: Reply with quote

yes, nls was/is enabled.

The thought had occurred to me that it might be some kind of locales issue. I've not tweaked the default installation at all in this respect---could this be the source of the problem?
Back to top
View user's profile Send private message
SoylentGreen
l33t
l33t


Joined: 19 Aug 2005
Posts: 904
Location: The Hostel

PostPosted: Mon May 08, 2006 2:50 pm    Post subject: Reply with quote

at240 wrote:
yes, nls was/is enabled.

The thought had occurred to me that it might be some kind of locales issue. I've not tweaked the default installation at all in this respect---could this be the source of the problem?

fer sure ;)

my /etc/make.conf includes:
LINGUAS="de"

i guess yours should be LINGUAS="uk"

i guess you never worried about this, because you are a native english speaker anyway. but IMHO the linguas parametre does much more apart from umlauts. it also takes care about 24hour format, papersizes, currency, etc..
this will be helpfull for plenty other settings as well, not just acroread.

duh! i just realize LINGUAS is not in make.conf.example. i think it should 8O
simply add
Code:

LINGUAS="uk"

that to your make.conf, and see what gives. i guess you have to re-compile a few packages, prolly those ones using the "nls" USEflags. :roll:
Back to top
View user's profile Send private message
at240
l33t
l33t


Joined: 12 Aug 2005
Posts: 603
Location: UK

PostPosted: Mon May 08, 2006 3:55 pm    Post subject: Reply with quote

Thanks for the replies, by the way. :)

Setting LINGUAS didn't do anything (is uk a valid value? I thought it was languages not locations)---didn't trigger anything to be recompiled, and emerging the acroread binary again didn't change anything. I've also set LC_ALL and LANG to en_GB values---still no joy.

I've noticed too that the printer properties window doesn't retain any of its information, not just the page size but also DPI and so on.

:? Any more ideas? :)
Back to top
View user's profile Send private message
SoylentGreen
l33t
l33t


Joined: 19 Aug 2005
Posts: 904
Location: The Hostel

PostPosted: Mon May 08, 2006 4:04 pm    Post subject: Reply with quote

at240 wrote:

Setting LINGUAS didn't do anything (is uk a valid value?

well, i am not sure about this, because i do not live there. it should be in the documentations somewhere, or - i bet - someone else from the UK will clarify.

but - it must be an issue, because otherwise it wouldnt download the german acroread on my system? 8O

perhaps, for the time beeing, you check the adobe site. is there a special UK version, likewise to the german one?
Back to top
View user's profile Send private message
at240
l33t
l33t


Joined: 12 Aug 2005
Posts: 603
Location: UK

PostPosted: Wed May 10, 2006 10:59 am    Post subject: Reply with quote

Still no joy with this.

Anyone got any ideas?
Back to top
View user's profile Send private message
at240
l33t
l33t


Joined: 12 Aug 2005
Posts: 603
Location: UK

PostPosted: Thu May 11, 2006 6:29 pm    Post subject: Reply with quote

final bump before I give up :cry:

even with the en_GB locale set and working, I'm seeing no change...
Back to top
View user's profile Send private message
think4urs11
Bodhisattva
Bodhisattva


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Thu May 11, 2006 6:39 pm    Post subject: Reply with quote

what output gives
Code:
 $ locale

_________________
Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself
Back to top
View user's profile Send private message
at240
l33t
l33t


Joined: 12 Aug 2005
Posts: 603
Location: UK

PostPosted: Thu May 11, 2006 7:18 pm    Post subject: Reply with quote

Thanks for the reply. locale produces
Code:
LANG=en_GB
LC_CTYPE="en_GB"
LC_NUMERIC="en_GB"
LC_TIME="en_GB"
LC_COLLATE="en_GB"
LC_MONETARY="en_GB"
LC_MESSAGES="en_GB"
LC_PAPER="en_GB"
LC_NAME="en_GB"
LC_ADDRESS="en_GB"
LC_TELEPHONE="en_GB"
LC_MEASUREMENT="en_GB"
LC_IDENTIFICATION="en_GB"
LC_ALL=en_GB
Back to top
View user's profile Send private message
SoylentGreen
l33t
l33t


Joined: 19 Aug 2005
Posts: 904
Location: The Hostel

PostPosted: Thu May 11, 2006 10:01 pm    Post subject: Reply with quote

a quick question inbetween comes to mind..

if you are using KDE, you might try koffice. this works perfect for me.
or KPDF..
Back to top
View user's profile Send private message
at240
l33t
l33t


Joined: 12 Aug 2005
Posts: 603
Location: UK

PostPosted: Thu May 11, 2006 10:31 pm    Post subject: Reply with quote

Alas, this is a KDE- and GNOME-free machine. :)
Back to top
View user's profile Send private message
doctor5
n00b
n00b


Joined: 22 Sep 2005
Posts: 14
Location: Uppsala, Sweden

PostPosted: Wed May 31, 2006 9:13 am    Post subject: Reply with quote

Hello,

Did you ever solve this problem? I fought with it for a long time, and ended up setting linguas="sv", re-emerging acroread, but it didn't help. I could see that it downloaded the swedish acrobat reader, but it wasn't till I deleted the .adobe directory that it was OK. I really wanted the menus in english, but I'd rather have the swedish menus than have to reset the page size each time...

Jonathan
Back to top
View user's profile Send private message
at240
l33t
l33t


Joined: 12 Aug 2005
Posts: 603
Location: UK

PostPosted: Wed May 31, 2006 9:47 am    Post subject: Reply with quote

Hello, thanks for the reply. :)

No, I didn't solve it. I just couldn't find any way of doing it. But just after this, I tried out KDE, liked it, and so switched to kpdf, which is OK but not quite as smooth as acroread.

Annoying.
Back to top
View user's profile Send private message
njuk-njuk
n00b
n00b


Joined: 24 Aug 2003
Posts: 65
Location: New York, NY

PostPosted: Sat Aug 19, 2006 9:07 pm    Post subject: Reply with quote

i was struggling with this but in an opposite fashion: i wanted US Letter by default but acroread was using A4. i tried mucking with locale settings, mainly focusing on LC_ALL and LANG set to "en_US" but acroread still defaulted to A4. prior to the change, LC_ALL etc were set to "POSIX". seeing the post by doctor5 clued me into something; namely, the acroread resource files.

once i removed $HOME/.adobe everything fell into place and US Letter was now the default, even with LC_ALL="POSIX". note: there may be a single option that can be hand-tweaked in one of the adobe resources files, i just didn't have the patience to dig around so i opted to clean house completely.

i have the following set in my /etc/make.conf---english is my native language but i also need access to japanese...

Code:
LINGUAS="en ja"


also, here are the USE flags for acroread (app-text/acroread-7.0.5-r2)---all others are unset...

Code:
+cups +linguas_ja +nls +nsplugin


i am guessing that at initial startup acroread sets the default page size in one of its resource files. i've had problems in the past with acroread starting up in japanese (because of my settings above) and maybe it took this value from there initially. nonetheless, cleaning out the resource files and starting fresh solved it for me.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum