Operating System - HP-UX
1836539 Members
2113 Online
110102 Solutions
New Discussion

Re: CDE: Setting the default papersize to A4

 
reis
Advisor

CDE: Setting the default papersize to A4

How can I change the default paper size from letter to A4 in the CDE ?
profil
6 REPLIES 6
Fabio Ettore
Honored Contributor

Re: CDE: Setting the default papersize to A4

Hi Walter,

I think that this change is possible on printer settings, I don't believe that on CDE it is possible....however someone could contradict me ;-)
You will have to edit the model script in:

/etc/lp/interface/model.orig/,

look for the parameter:
paper="def" and change def for A4.

I hope this helps you.

Best regards,
Ettore
WISH? IMPROVEMENT!
Elmar P. Kolkman
Honored Contributor

Re: CDE: Setting the default papersize to A4

Or change the def part in the case in the model(.orig) script to what it says in the A4 part. Or you could try to change your LP command to "lp -oA4", for instance by putting an lp script first in your PATH.
Every problem has at least one solution. Only some solutions are harder to find.
reis
Advisor

Re: CDE: Setting the default papersize to A4

The directory /etc/lp/interface/model.orig is empty. Is this ok?
profil
Fabio Ettore
Honored Contributor

Re: CDE: Setting the default papersize to A4

Walter,

has your system any configured printers?

Regards,
Ettore
WISH? IMPROVEMENT!
reis
Advisor

Re: CDE: Setting the default papersize to A4

Yes, of course. There are 10 configured printers, I can see them all with sam.

Regards
Walter
profil
Fabio Ettore
Honored Contributor

Re: CDE: Setting the default papersize to A4

What is under /etc/lp/interface?
It is very strange that model.orig is empty.
Are you using non-HP printers?
Usually under model.orig directory there are model script files used to configure system printers.
Anyway Elmar suggested you an option (-oA4) on lp command. Does it work?

Regards,
Ettore
WISH? IMPROVEMENT!