Problem of same printer defined 2 times one prints A4 one A3

peter plinehan at dek.com
Mon Aug 2 02:01:15 PDT 2010


> peter wrote:
>
> > The problem relates to the same printer defined twice in the system,
> > supposedly both definitions are identical but one prints on A4 - correct
> > behaviour - but the other A3 !
> >
> > lpoptions on both gives :-
> > for the Correct printer (A4)
> >
> > job-sheets=none,standard
> > printer-info=ukfinance
> > printer-is-accepting-jobs=1
> > printer-is-shared=1
> > printer-make-and-model='HP Color LaserJet 5550 Foomatic/hpijs'
> > printer-state=3
> > printer-state-change-time=1280409122
> > printer-state-reasons=none
> > printer-type=45084
> > orientation-requested=4
> > cpi=17
> > page-top=50
> > page-right=30
> > page-bottom=30
> > media=A4
> > wrap=false
> > lpi=8
> > page-left=40
> >
> >
> > For the Incorrect printer (A3)
> > job-sheets=none,none
> > printer-info=hpfinance
> > printer-is-accepting-jobs=1
> > printer-is-shared=1
> > printer-make-and-model='HP Color LaserJet 5550 Foomatic/hpijs'
> > printer-state=3
> > printer-state-change-time=1280411748
> > printer-state-reasons=none
> > printer-type=45084
> > orientation-requested=4
> > cpi=17
> > page-top=50
> > page-right=30
> > page-bottom=30
> > media=A4,*Default,Upper,Lower,MPTray
> > wrap=false
> > lpi=8
> > page-left=40
> >
> > Importantly, both are set to use a filter for text only output
> >
> > Any ideas what I am missing here ?
>
> It seems that the second printer's PPD is corrupt with respect to media
> sizes. Perhasps you post (an URL to) the PPD for the badly behaved printer.
>
> Helge
>
Not sure if this is what you meant but ...
in /etc/cups/ppd

- made a copy of the erroring printers ppd
- copied over the working printer's ppd to same name

The definitions in CUPS are :-

Printer with error :-

Description: hpfinance
Location:
Make and Model: HP Color LaserJet 5550 Foomatic/hpijs
Printer State: idle, accepting jobs, published.
Device URI: socket://195.213.112.60

Printer which is correct :-

Description: ukfinance
Location:
Make and Model: HP Color LaserJet 5550 Foomatic/hpijs
Printer State: idle, accepting jobs, published.
Device URI: socket://195.213.112.60


Obviously these are the same printer but the users want. for consistencey, the hpfinance name.

Cups version is 1.2.4







More information about the cups mailing list