Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Set Custom Form Size in PCL

Status
Not open for further replies.

EisforEverything

Programmer
Jan 6, 2004
1
US
Hello all;
I need to set up the printer to print to a non-standard form size that is not listed in the tables of available form sizes on an HP LaserJet 4300.
Have located and downloaded the PCL 5 manual, and I don't find instructions to do this in the book.

Is there a way to set a custom form size on the printer using PCL within a document to be printed?

Thanks.
Marion
 
I'm afraid you'll need a form that is one of the available sizes or a multiple.
Typically the sizes allowed are:
Letter 11"
Legal 14"
A4 11 2/3"
Executive 10 1/2"

If your form is, for example, 7 " long, it would be right for legal size page 2 forms per page.

These are portrait sizes. You can also use Landscape
Letter 8.5 "
A4 8 1/6 "
Exec 7 1/6"
 
There used to be a PCL sequence to set PageLength:
<esc>&l#P
where # = count of lines (at current VMI).
The sequence is now considered to be obsolete; I've no idea whether or not the HP4300 range supports it or not, or whether it would provide an answer to your problem.

What you could try is to set 'custom' size via the standard 'set PageSize' sequence:
<esc>&l#A
where # = 2 selects US Letter
# = 26 selects A4
# = 101 selects 'custom' size
Use of 'custom' size will presumably cause a prompt for Manual Feed.

You may also need to specify the text length (via <esc>&l#F), unless you are positioning each array of data characters separately via the cursor positioning sequences.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top