Top Navigational Bar

Placing Redline Pipe At An Absolute Position
DocumentID: 646831
Revision Date: 29-Feb-96 8:19:17 PM

The information in this document applies to:
WordPerfect® 5.1 for DOS

Problem

Solutions: Making the following changes in the PTR Program will allow customers to print the Redline pipe at an absolute position on the page with HP LaserJet and compatible printers (except for the regular HP LaserJet):

For hpredoff
xposb:=xpos yposc:=(ypos)
[27]"*p2200x"ASCII(yposa)"Y"
[27]"*c4a"ASCII(yposb-yposa)"b100g0P"
[27]"*p"ASCII(xposb)"x"ascii(yposc)"Y"

for hpredon
xposa:=XPOS
yposa:=(YPOS-(CAPHEIGHT/12)*4-1)
yposb:=(YPOS+(dheight/8)*3)

Also for "Redline off" make sure the expression uses the variable "hpredoff" not "hp3redoff". If you prefer you can make all of the above changes for the "hpredoff" to the "hp3redoff" variable and leave the "Redline Off" expression the same.

This puts the Redline just under 1" from the right side.

Note: If you use a value greater than 2200 (see the second line of the hpredoff) the pipe will move further to the right. A value less than 2200 will move it to the left.

Answer:

Details:


Product specifications, packaging, technical support and information (*Specifications*) refer to theUnited States retail English version only. Specifications for other versions may vary. All Specifications, claims, features, representations, and/or comparisons provided are correct to the best of our knowledge of the date of publication, but are subject to change without notice.OUR MAXIMUM AGGREGATE LIABILITY TO YOU AND THAT OF OUR DEALERS AND SUPPLIERS IS LIMITED. IT SHALL NOTEXCEED THE AMOUNT YOU PAID TO ACCESS THE INFORMATION. SEE LEGAL DISCLAIMER.