[cups.general] Problems with HP LJ P2015

Kurt Pfeifle k1pfeifle at gmx.net
Wed Sep 12 07:30:17 PDT 2007


Christian Andretzky wrote:
> Kurt Pfeifle wrote:
>> Christian Andretzky wrote:
>>> Hi, I have a brand new printer HP LJ P2015 and I have problems with the
>>> page size and/or imageable area and or page region. I setup the printer as
>>> a postscript printer and use the original HP ppd file. (No ghostscript as
>>> far as I know.)

Try

   grep cupsFilter /etc/cups/ppd/d238_lj.ppd

to see which filter is used (if any). (No output means: the LJ P2015 works
as a PostScript printer with this PPD).


>>> All of the above mentioned parameters are set to A4
>>> (checked in the ppd file in /etc/cups/ppd/). The page size setting in the
>>> printer firmware is also A4. But independent of this, each page which is 
>>> printed has an imageable area of 8.19x10.67in (207.9x270.9mm) Before this
>>> printer I used a HP LJ 4000 DTN (also postscript) with no problems.
>>>
>>> Any ideas?
>> Hi, Christian   :-)
>>
>> What's the output of this command:
>>
>> grep ImageableArea /etc/cups/ppd/is2127ps.ppd
>>
> Hmm, I don't know what the is2127ps.ppd is, I assume you mean the ImageableArea
> definitions in the related ppd file of the printer. ;-)

right  :-)

> BTW, the PCFilename of this ppd file is hpc2015s.ppd.
> 
> grep ImageableArea d238_lj.ppd (some white-spaces after ':' removed)
> *% ImageableArea
> *DefaultImageableArea: A4
> *ImageableArea LETTER/Letter:                "12.00 12.00 599.76 779.76"
[....]
> *ImageableArea A4/A4:                        "12.00 12.12 581.64 829.68"
[....]

Assuming you're printing A4....

This means:
  "the  lower left corner of the imageable area is at coordinates (12    | 12.12)"
  "the upper right corner of the imageable area is at coordinates (581.64|829.68)"

72 units are 1 inch.

 12 points are 1/6 =  0.1666 inch
582 points are        8.0333 inch
830 points are       11.5277 inch

This means (after some degree of rounding):

   Lower-Left  should be at 0.167x0.167in
   Upper-Right should be at 8.033x11.523in

> In the CUPS Printer test page the values in the Box named 'Imageable Area' are:
>  Page size: 8.19x10.67in (207.9x270.9mm),
> Lower-Left: 0.17x0.17in (4.2x4.3mm)

match!

> Upper-Right: 8.35x10.83in (212.2x275.2mm)

no match!

 8.35in is equivalent to 601    points
10.83in is equivalent to 779.76 points

This looks more like the imageable area for "Letter"!

Are you sure that there is now "-o PageSize=Letter" being used when you
print? Look ~/.cups/lpoptions (CUPS 1.2+), ~/.lpoptions (CUPS 1.1.x) and
/etc/cups/lpoptions.

What is the output of

   grep -E  "^\*DefaultRa|^\*DefaultIm" /etc/cups/ppd/d238_lj.ppd

??

In case this is a bug in CUPS, you should also tell us your the version
you use.

> Cheers, Christian

Ciao,
Kurt


-- 
Kurt Pfeifle
System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS
Infotec Deutschland GmbH  .....................  Hedelfinger Strasse 58
A RICOH Company  ...........................  D-70327 Stuttgart/Germany





More information about the cups mailing list