Ask questions. Help others.
The HP Community is here for you.
Post new question
Note on archived topics.
This topic has been archived. Information and links in this thread may no longer be available or relevant.
If you have a question create a new topic by clicking here, or click on "Post new question" above and select the appropriate board.
Posts: 1
Member Since: ‎09-09-2013
Message 1 of 2 (10,289 Views)

HP LaserJet P2015dn illegal media size

I am trying to print "Statement" size paper, which is 5.5" wide and 8.5" long.

When I print, instead of the printing being centered (as in print preview), it is

pushed off the left side of the paper.

An error is printed on the following page.

"PCL XL error

                  Warning:     IllegalMediaSize"

0 Kudos
Distinguished Professor
Posts: 3,385
Member Since: ‎05-27-2010
Message 2 of 2 (10,276 Views)

Re: HP LaserJet P2015dn illegal media size

[ Edited ]

Seems that:


  • The printer driver (a PCL6 (PCL XL) one) is (via Preferences) allowing you to choose a Paper Size of Statement;
  • It includes this selection within the generated print stream (either as a text value, or an enumerated value - can't tell which without analysing a sample captured print stream);
  • But the printer (firmware) itself perhaps does not support that paper size;
  • The printer substitutes (what it thinks is ) the closest (or perhaps the default) paper size.
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation