Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Escape! V3.0 - <b>hptmargin()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
hpTMargin()

Set the top margin


Syntax

hpTMargin(<nTopMarg>)


Parameters

<nTopMarg>
Designates the number of lines between the top of the
logical page and the top of the text area.


Returns

0
Successful.

-12
Wrong number of parameters passed.


Remarks

Use hpTMargin() any time you need to set the top margin.  Once the top
margin is set it will not change with subsequent changes in line
spacing.  To reset the top margin to its default settings use hpReset().


Support By

All HP Laserjet Printers


Example

hpPrintOn()
hpConfig()
hpSetFont()
hpTMargin(10)
.
.  // print routine using a top margin of 10 rows
.
hpReset()
hpPrintOff()

See Also: hpClrMargins() hpLRMargin()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson