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

Print special, "unprintable" characters by sending the transparent print data
command


Syntax

hpTrans(<cChar>)


Parameters

<cChar>
The character to be printed.


Returns

-12
Wrong number of parameters was passed.

-17
Incorrect parameter type was passed.


Remarks

There may be times when you need to print a character which resides in
the control code range of the symbol set.  In most symbol sets, this
range of special characters resides in decimal 7 through 15 and 27.  In
order to print these characters, the transparent print data command
must be sent so the printer will know  not to act according to the code,
and instead print it.


Support By

All HP LaserJet Printers


Example

To print the left pointing arrow symbol (which is represented by the
same control code sequence as the escape command):

?? hpTrans( chr(27) )

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