Dec 172017
 
Print non-standard pages/paper on your HP LJ using WP 5.1.
File HPFORM.ZIP from The Programmer’s Corner in
Category Word Perfect
Print non-standard pages/paper on your HP LJ using WP 5.1.
File Name File Size Zip Size Zip Type
DESC.SDI 57 57 stored
HPIIPL.IO 1182 312 deflated
HPXMOV.IO 272 127 deflated
HPYMOV.IO 272 127 deflated
PAGES.TXT 3792 1722 deflated

Download File HPFORM.ZIP Here

Contents of the PAGES.TXT file


Do you use non-standard form sizes on your HP Laserjet II,
IIP, IID, III, IIID, IIIP, or IIIsi? Then you've probably noticed
that it's a real pain. WordPerfect treats the nonstandard form
as a legal-size sheet of paper. This means you can't use an
envelope tray to feed the forms, and you have to set your margins
and whatnot as if the form were larger than it actually is.
Well, this can all be fixed by changing your printer
definition. There are three global string variables that affect
the positioning of text on the page and the paging thereof:
hpiipageleng, hpxmov, and hpymov. The attached files contain
replacement definitions for these three variables. Once you use
them, the printer definition will automatically compensate for
your odd page size. If you have a 9"x6" envelope and you want a
4" top margin, you will be able to set the paper size to 9"x6"
and the top margin to 4". (Otherwise, you have to set the paper
size to 11"x8.5" and the top margin to 5.25". Maybe this doesn't
bother you but it drives me crazy.)
You can make the change to your ALL file or your PRS file.
The best way is to make it to the ALL file and use the Update
function (Shift-F7, S, U) to update the PRS file automatically.
You'll need to copy the three .io files attached to your printer
directory and then edit the appropriate file with PTR. Here's
what you do.

1. Go into Initialize and Reset. Press RIGHT to get to the
string-expression column, then press CTRL-ENTER to get into
string edit mode. Don't worry: you're not going to edit
this string, you just need to get into string edit mode.

2. Press Alt-F8 until it says you're looking at Global Integer
Variables. Use the INS key to add two new variables,
"xerror" and "yerror". These variables are used to track
the difference between the physical size of the form you're
using and the size the printer thinks it is.

3. Press Alt-F8 a couple of more times to get to Global String
Variables. Now you're going to change the definitions of
the three variables mentioned above. You have to define the
integer variables !first!, or PTR will give you a syntax
error.

4. Find the hpiipageleng variable, press RIGHT to get to the
string-expression column, then press CTRL-ENTER to edit it.
Use CTRL-END and DEL to delete the entire contents, then
CTRL-F5, I, "hpiipl.io" to input the variable definition
from the HPIIPL.IO file. Press F7 to save it.

5. Scroll to the "hpxmov" variable, press CTRL-ENTER, use CTRL-
END and DEL to delete the entire contents, then CTRL-F5, I,
"hpxmov.io" to input the variable definition from the
HPXMOV.IO file. Similarly, input the "hpymov" definition
from the HPYMOV.IO file.

6. F7 until everything is saved.

7. If you made the change to the ALL file instead of the PRS
file, go into WP and use the Update function (Shift-F7, S,
U) to copy the updates to the PRS file.

That's all there is to it.
This modification is provided as charityware. In other
words, you are under no obligation to pay anyone anything for it
and may distribute it freely as you wish. However, if you are
incredibly wealthy and think that the sort of person who can come
up with this kind of highly ingenious software modification
really deserves a 486/33 with a large-screen color monitor and a
1.2G hard disk instead of the inferior equipment he's now using,
just send $3000 or more to

Bruce Parrello
A. R. C., Inc.
3 Golf Center #353
Hoffman Estates, IL - 60195

I also take Visa and MasterCard.

If you have questions or comments my Compuserve ID is 76702,511.


TRS


 December 17, 2017  Add comments

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)