1829104 Members
3065 Online
109986 Solutions
New Discussion

cups

 

cups

Hi all,

I configured a HP laserjet 9000 Printer1 on a HP box 11i with hppi .
I configured hp clients that use Printer1 in remote.
I configured linux clients lpadmin -p Printer1 -m foomatic/HP/HP-LaserJet_9000-Postscript-cups.ppd.gz -v lpd://IP_HP_SERVER/Printer1

when i print a postscript file A3 from the hp
box the printer select automaticaly the A3 tray
lp -dPrinter1 testA3.ps it's good...

when i print the same ps file (A3) from linux
(RedhatEntreprise3)
lp -dPrinter1 testA3.ps I obtain a A4 sheet...
I'm forced to use -o media=A3 !

Is-it possible to print automaticaly in the good media size ( without forcing A3 option ) ?

Best regards
4 REPLIES 4
Wim Van den Wyngaert
Honored Contributor

Re: cups

In /etc/printcap you can add the option Ss=a3
for that printer.

Wim
Wim
Vitaly Karasik_1
Honored Contributor

Re: cups

AFAIK, you just should change default paper fromat via redhat-config/printer ["driver properties"?].

Re: cups

Hi,

I don't want to change the default format A4,
I want that the printer automaticaly select the
good format.

It's the case when I print from the HP box, why is it different on linux box ?

regards
Wim Van den Wyngaert
Honored Contributor

Re: cups

(I guess that) the printer must receive a different command. So, may be the config is different. Did you compare the printcap files ? May be if you analyze the TCP packets you find out what is different.

Wim
Wim