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>hppattern()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
hpPattern()

Print text with a pattern screen.


Syntax

hpPattern(<cString> [,<nPattern>])


Parameters

<cString>
The text that is to be screened with a pattern.

<nPattern>
Specifies the number of the fill pattern to be used.
There are six different fill patterns to choose from.  To
specify a pattern use any value from 1 to 6.  If omitted,
<nPattern> will default to pattern 1. See "Appendix B -
Shades and Fill Patterns" for a description of the
available patterns.


Returns

<c>
Patterned string.


Remarks

Use hpPattern() anytime you desire patterned type in your printouts.
hpPattern() works great when you want to add some flair to your output,
but don't have many fonts to choose from.  hpPattern() works best with
large fonts such as a thirty point univers font.


Support By

HP Laserjet Series IIIP, III, IIID, IIIsi and other printers supporting
HPPCL 5.


Example

hpSetFont('UNIVERS','I','ASCII', '30')
@ 1,0 SAY hpPattern('This Text is patterned', 6)
?? hpPattern('So is this', 1)
hpAtSay(10, 10, hpPattern('And even this!', 3))
hpCenter(hpPattern('Centered and Patterned', 4))

See Also: hpReverse() hpShade() hpShadow()

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