[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
Syntax: TXDLFONT(<expC1>,<expN>,[<expN2>])
Purpose: Downloads a soft font file to the printer as a
permanent font.
Arguments: <expC1> is the soft font file name including
extension. Can include drive and directory path.
<expN> is the font ID to assign to the soft font
for reference later.
<expN2> is the printer port to which the printer
is connected. Valid values are "LPT1" and "LPT2".
If omitted, <expN2> will default to "PRN".
Returns: 0 Successful
1 Invalid number of parameters
2 Only 1 parameter passed
3 <expN1> font ID not numeric
4 <expC2> invalid printer port
5 <expC1> Soft font file not found
Usage: TXDLFONT() is used to download a soft font file to
the printer memory. It can be used by setting it
to the primary font using TXSETPFONT().
Example: _ret_code = TXDLFONT("C:\FONTS\TR10R#US.SFP", 1)
_ret_code = TXDLFONT("C:\FONTS\TR08R#US.SFP", 2)
_ret_code = TXSETPFONT(1)
(print using font ID #1)
_ret_code = TXSETPFONT(2)
(Print using font ID #2)
See Also: TXSETPFONT()
Printers: Do not use with the original HP LaserJet
See Also:
TXSETPFONT()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson