home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-07-21 | 164.1 KB | 7,525 lines |
-
-
-
-
- Texas Associated Software
- Laser Printer Library
- for Clipper Summer '87 and Clipper 5.0
-
-
-
-
-
-
-
-
-
-
-
- =================================
- === SHAREWARE EVALUATION COPY ===
- =================================
-
-
-
-
-
- Release 1.11
-
-
-
-
-
-
-
- Copyright (c) 1991 by Texas Associated Software
- All Rights Reserved
-
-
-
-
-
-
-
-
-
-
-
- Texas Associated Software
- 523 La Cresta Drive
- Red Oak, TX 75154
- (214) 617-5260
-
-
- HP LaserJet is a registered trademark of Hewlett-Packard
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 1
-
-
-
-
-
- Table of contents
- -----------------
-
-
- Licensing Terms and Conditions . . . . . . . . . . . . . . . 6
-
- Disclaimer . . . . . . . . . . . . . . . . . . . . . . . . . 7
-
- Introduction . . . . . . . . . . . . . . . . . . . . . . . . 8
-
- Clipper Summer '87 & 5.0 Support . . . . . . . . . . . . . . 8
-
- Linking information . . . . . . . . . . . . . . . . . . . . . 8
-
- Other Modules . . . . . . . . . . . . . . . . . . . . . . . . 8
-
- Demonstration program . . . . . . . . . . . . . . . . . . . . 9
-
- Syntax Conventions . . . . . . . . . . . . . . . . . . . . . 10
-
- Font Designation . . . . . . . . . . . . . . . . . . . . . . 10
-
- TX3OF9BC() . . . . . . . . . . . . . . . . . . . . . . . . . 11
-
- TXAFS36A() . . . . . . . . . . . . . . . . . . . . . . . . . 12
-
- TXBOLD() . . . . . . . . . . . . . . . . . . . . . . . . . . 13
-
- TXCLEAR() . . . . . . . . . . . . . . . . . . . . . . . . . . 14
-
- TXCLRHMRG() . . . . . . . . . . . . . . . . . . . . . . . . . 15
-
- TXCNTLFONT() . . . . . . . . . . . . . . . . . . . . . . . . 16
-
- TXCOLBOX() . . . . . . . . . . . . . . . . . . . . . . . . . 17
-
- TXCOLHLINE() . . . . . . . . . . . . . . . . . . . . . . . . 19
-
- TXCOLPRINT() . . . . . . . . . . . . . . . . . . . . . . . . 20
-
- TXCOLVLINE() . . . . . . . . . . . . . . . . . . . . . . . . 21
-
- TXCOPIES() . . . . . . . . . . . . . . . . . . . . . . . . . 22
-
- TXCOUR10BR() . . . . . . . . . . . . . . . . . . . . . . . . 23
-
- TXCOUR10IR() . . . . . . . . . . . . . . . . . . . . . . . . 24
-
- TXCOUR10R() . . . . . . . . . . . . . . . . . . . . . . . . . 25
-
- TXCOUR12BR() . . . . . . . . . . . . . . . . . . . . . . . . 26
-
- TXCOUR12IR() . . . . . . . . . . . . . . . . . . . . . . . . 27
-
- TXCOUR12R() . . . . . . . . . . . . . . . . . . . . . . . . . 28
-
- TXDLFONT() . . . . . . . . . . . . . . . . . . . . . . . . . 29
-
- TXDOTBOX() . . . . . . . . . . . . . . . . . . . . . . . . . 30
-
- TXDOTHLINE() . . . . . . . . . . . . . . . . . . . . . . . . 32
-
- Copyright 1991 - Texas Associated Software 2
-
-
-
-
-
- TXDOTPRINT() . . . . . . . . . . . . . . . . . . . . . . . . 33
-
- TXDOTVLINE() . . . . . . . . . . . . . . . . . . . . . . . . 34
-
- TXFORMFEED() . . . . . . . . . . . . . . . . . . . . . . . . 35
-
- TXGRAPHIC() . . . . . . . . . . . . . . . . . . . . . . . . . 36
-
- TXGRAYBAR() . . . . . . . . . . . . . . . . . . . . . . . . . 37
-
- TXHCFA15() . . . . . . . . . . . . . . . . . . . . . . . . . 38
-
- TXHL10BR() . . . . . . . . . . . . . . . . . . . . . . . . . 39
-
- TXHL10IR() . . . . . . . . . . . . . . . . . . . . . . . . . 40
-
- TXHL10R() . . . . . . . . . . . . . . . . . . . . . . . . . . 41
-
- TXHL12BR() . . . . . . . . . . . . . . . . . . . . . . . . . 42
-
- TXHL12IR() . . . . . . . . . . . . . . . . . . . . . . . . . 43
-
- TXHL12R() . . . . . . . . . . . . . . . . . . . . . . . . . . 44
-
- TXHL12SBA() . . . . . . . . . . . . . . . . . . . . . . . . . 45
-
- TXHL14IR() . . . . . . . . . . . . . . . . . . . . . . . . . 46
-
- TXHL14SBA() . . . . . . . . . . . . . . . . . . . . . . . . . 47
-
- TXHL6R() . . . . . . . . . . . . . . . . . . . . . . . . . . 48
-
- TXHL8R() . . . . . . . . . . . . . . . . . . . . . . . . . . 49
-
- TXHL8SBA() . . . . . . . . . . . . . . . . . . . . . . . . . 50
-
- TXINIT() . . . . . . . . . . . . . . . . . . . . . . . . . . 51
-
- TXLG12BR() . . . . . . . . . . . . . . . . . . . . . . . . . 52
-
- TXLG12IR() . . . . . . . . . . . . . . . . . . . . . . . . . 53
-
- TXLG12R() . . . . . . . . . . . . . . . . . . . . . . . . . . 54
-
- TXLG14A() . . . . . . . . . . . . . . . . . . . . . . . . . . 55
-
- TXLG14LG() . . . . . . . . . . . . . . . . . . . . . . . . . 56
-
- TXLG96R() . . . . . . . . . . . . . . . . . . . . . . . . . . 57
-
- TXLMARGIN() . . . . . . . . . . . . . . . . . . . . . . . . . 58
-
- TXLNPRT85() . . . . . . . . . . . . . . . . . . . . . . . . . 59
-
- TXMACBEGIN() . . . . . . . . . . . . . . . . . . . . . . . . 60
-
- TXMACCALL() . . . . . . . . . . . . . . . . . . . . . . . . . 61
-
- TXMACDEL() . . . . . . . . . . . . . . . . . . . . . . . . . 62
-
- TXMACEND() . . . . . . . . . . . . . . . . . . . . . . . . . 63
-
- Copyright 1991 - Texas Associated Software 3
-
-
-
-
-
- TXMACEXEC() . . . . . . . . . . . . . . . . . . . . . . . . . 64
-
- TXORIENT() . . . . . . . . . . . . . . . . . . . . . . . . . 65
-
- TXOVERLAY() . . . . . . . . . . . . . . . . . . . . . . . . . 66
-
- TXPAGESIZE() . . . . . . . . . . . . . . . . . . . . . . . . 67
-
- TXPATTERNBAR() . . . . . . . . . . . . . . . . . . . . . . . 68
-
- TXPE10BLG() . . . . . . . . . . . . . . . . . . . . . . . . . 69
-
- TXPE10BR() . . . . . . . . . . . . . . . . . . . . . . . . . 70
-
- TXPE10ILG() . . . . . . . . . . . . . . . . . . . . . . . . . 71
-
- TXPE10IR() . . . . . . . . . . . . . . . . . . . . . . . . . 72
-
- TXPE10LG() . . . . . . . . . . . . . . . . . . . . . . . . . 73
-
- TXPE10MA() . . . . . . . . . . . . . . . . . . . . . . . . . 74
-
- TXPE10R() . . . . . . . . . . . . . . . . . . . . . . . . . . 75
-
- TXPE7LG() . . . . . . . . . . . . . . . . . . . . . . . . . . 76
-
- TXPE7MA() . . . . . . . . . . . . . . . . . . . . . . . . . . 77
-
- TXPE7R() . . . . . . . . . . . . . . . . . . . . . . . . . . 78
-
- TXPGLENGTH() . . . . . . . . . . . . . . . . . . . . . . . . 79
-
- TXPOSTNET() . . . . . . . . . . . . . . . . . . . . . . . . . 80
-
- TXPRS14BA() . . . . . . . . . . . . . . . . . . . . . . . . . 81
-
- TXPRS14BLG() . . . . . . . . . . . . . . . . . . . . . . . . 82
-
- TXPRS16BA() . . . . . . . . . . . . . . . . . . . . . . . . . 83
-
- TXPRS16BLG() . . . . . . . . . . . . . . . . . . . . . . . . 84
-
- TXPRS18BA() . . . . . . . . . . . . . . . . . . . . . . . . . 85
-
- TXPRS18BLG() . . . . . . . . . . . . . . . . . . . . . . . . 86
-
- TXPSOURCE() . . . . . . . . . . . . . . . . . . . . . . . . . 87
-
- TXRESET() . . . . . . . . . . . . . . . . . . . . . . . . . . 88
-
- TXRMARGIN() . . . . . . . . . . . . . . . . . . . . . . . . . 89
-
- TXSCALABLE() . . . . . . . . . . . . . . . . . . . . . . . . 90
-
- TXSETLPI() . . . . . . . . . . . . . . . . . . . . . . . . . 91
-
- TXSETPFONT() . . . . . . . . . . . . . . . . . . . . . . . . 92
-
- TXSETSFONT() . . . . . . . . . . . . . . . . . . . . . . . . 93
-
- TXSUB() . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
-
- Copyright 1991 - Texas Associated Software 4
-
-
-
-
-
- TXSUPER() . . . . . . . . . . . . . . . . . . . . . . . . . . 95
-
- TXTAX12BLD() . . . . . . . . . . . . . . . . . . . . . . . . 96
-
- TXTEXTLEN() . . . . . . . . . . . . . . . . . . . . . . . . . 97
-
- TXTMARGIN() . . . . . . . . . . . . . . . . . . . . . . . . . 98
-
- TXTR10BR() . . . . . . . . . . . . . . . . . . . . . . . . . 99
-
- TXTR10IR() . . . . . . . . . . . . . . . . . . . . . . . . . 100
-
- TXTR10MA() . . . . . . . . . . . . . . . . . . . . . . . . . 101
-
- TXTR10R() . . . . . . . . . . . . . . . . . . . . . . . . . . 102
-
- TXTR12BR() . . . . . . . . . . . . . . . . . . . . . . . . . 103
-
- TXTR12IR() . . . . . . . . . . . . . . . . . . . . . . . . . 104
-
- TXTR12R() . . . . . . . . . . . . . . . . . . . . . . . . . . 105
-
- TXTR14BR() . . . . . . . . . . . . . . . . . . . . . . . . . 106
-
- TXTR8MA() . . . . . . . . . . . . . . . . . . . . . . . . . . 107
-
- TXTR8R() . . . . . . . . . . . . . . . . . . . . . . . . . . 108
-
- TXUNDERLINE() . . . . . . . . . . . . . . . . . . . . . . . . 109
-
- TXVPRINT() . . . . . . . . . . . . . . . . . . . . . . . . . 110
-
- Bugs . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
-
- Registration Information . . . . . . . . . . . . . . . . . . 112
-
- HP LaserJet Internal Fonts . . . . . . . . . . . . . . . . . 113
-
- Registration Form . . . . . . . . . . . . . . . . . . . . . 114
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 5
-
-
-
-
-
- Licensing Terms and Conditions
- ------------------------------
-
- Copyright (c) 1991 by Texas Associated Software
- All Rights Reserved
-
- The Texas Associated Software Laser Printer Library (hereinafter
- called "The Library") may only be used and distributed under the
- following conditions:
-
- 1) You may use the Library for a period of up to thirty days to
- determine its suitability for your needs. If you continue to
- use the Library (or any program with the Library linked into
- it) after a period of thirty days you MUST register your
- copy by completing the enclosed registration form and
- sending it along with the appropriate payment to the address
- listed on the form. A registration form is included at the
- end of this documentation.
-
- 2) When you register your copy of Library, you will receive:
-
- a) The latest release of The Library
- b) A royalty free run-time license to use the Library in
- any of your applications.
- c) Upgrades of future releases of The Library
-
- 3) You may distribute the Library provided that no fee is
- charged, except for a nominal "diskette" fee or "connect
- time" charges. In any event, the entire fee shall not exceed
- $10.00.
-
- 4) You may not use the Library in with any commercial
- application without registering your copy.
-
- 5) You may not distribute the Library in modified form.
-
- 6) If you distribute the Library, it must be in the original
- archive form as released by the author. You may not add any
- files, archive comments or archive it using another archive
- utility.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 6
-
-
-
-
-
- Disclaimer
- ----------
-
-
- Because The Texas Associated Software LaserJet Library
- (hereinafter called "The Library") is distributed as "SHAREWARE",
- there is absolutely no warranty, to the extent permitted by
- applicable state law.
-
- Except when otherwise stated in writing, Texas Associated
- Software, Red Oak, Texas and/or other parties provide the Library
- "AS IS" without warranty of any kind, either expressed or
- implied, including, but not limited to, the implied warranties of
- merchantability and fitness for a particular purpose. The entire
- risk as to the quality and performance of the Library is with
- you.
-
- Should the Library prove defective, you assume all the cost of
- all necessary remedies, repair or correction.
-
- In no event shall Texas Associated Software be responsible in any
- way for the behavior of modified versions of the Library. In no
- event, unless required by applicable state law, will Texas
- Associated Software or any other party who may distribute the
- Library as permitted above, be liable to you for damages,
- including any lost profits, lost monies, or other special,
- incidental or consequential damages arising out of the use or
- inability to use (including but not limited to loss of data or
- data being rendered inaccurate or losses sustained by third
- parties or a failure of the program to operate with any other
- program) the Library, even if you have been advised of the
- possibility of such damages, or any claim by any other party.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 7
-
-
-
-
-
- Introduction
- ------------
-
- Welcome to the Texas Associated Software LaserJet Library. Before
- you begin using the Library, be sure to print and read the
- "READ.ME" file on the distribution diskette. This file contains
- the latest information on the Library as well as a history of
- fixes. If there have been any last minute changes or
- modifications that did not make it into the manual, you will find
- them in this file.
-
- In 1988 Texas Associated Software began developing business
- applications that required special output that could only be
- printed on an HP LaserJet. At the time there were no special
- libraries for the LaserJet and Clipper. The output was routed to
- other applications such as Lotus 123/Allways or more recently Dan
- Bricklin's PageGarden. These functions were developed out of
- necessity. They are now offered to you with the hope you find
- them as useful as have we.
-
- All the functions contained in this library are fully-functional
- and ready-to-use.
-
- When you register your copy of the Library, you will receive a
- Norton Guides reference guide and the latest version of the
- Library and documentation.
-
-
- Clipper Summer '87 & 5.0 Support
- --------------------------------
-
- Two versions of this library are included on the distribution
- diskette. TEXLASER.LIB is for Clipper Summer '87 while
- TEXLASR5.LIB is for Clipper 5.0.
-
-
- Linking information
- -------------------
-
- TEXLASER.LIB (Summer '87) and TEXLASR5.LIB (Clipper 5.0) are
- written in "Pure" Clipper code and can be linked anywhere before
- EXTEND.LIB. The Library has been tested with all available
- dynamic overlay linkers and is fully overlayable.
-
-
- Other Modules
- -------------
-
- TEXLASER.LIB and TEXLASR%.LIB use an "ASM" routine "LPTSTAT" to
- check the status of the printer. It is provided in object form
- and should be placed with your other object modules. See
- Nantucket News Vol. 4, No. 4, Jan/Feb 1990 for further details.
- This module is invaluable when using the faster 286 and 386
- machines.
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 8
-
-
-
-
-
- Demonstration program
- ---------------------
-
- It is recommended you compile and link the enclosed TEXLSDMO.PRG
- to see the some of the functions in this Library in use. The
- examples below are assumed and you can change then to fit your
- environment.
-
- To compile and link with Clipper Summer '87 ...
-
- \CLIPPER\CLIPPER TEXLSDMO
- \CLIPPER\PLINK86
- => fi texlsdmo
- => fi lptstat
- => lib texlaser
- => lib clipper
- => lib extend
- =>^z
-
- To compile and link with Clipper 5.0 ...
-
- \CLIPPER5\BIN\CLIPPER TEXLSDMO
- \CLIPPER5\BIN\RTLINK
- => fi texlsdmo
- => fi lptstat
- => lib texlasr5
- =>^z
-
- When running the demo, do not select "Print Scalable Font"
- example unless you have an HP LaserJet III or higher printer. Use
- with any other printer will have unpredictable results.
-
-
- ***** Important ***** Important ***** Important *****
-
- If you are not getting desired results, be sure to check the
- return code from the function. The examples in this manual do not
- show the checking of the return code on all examples. This was
- omitted for brevity only.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 9
-
-
-
-
-
- Syntax Conventions
- ------------------
-
-
- This documentation uses the following syntax conventions:
-
- <exp?> Expression of specific data-type where ? equals C for
- character, D for date, N for numeric, M for memo, L for
- logical or any type if omitted.
-
- <memvar> Name of a memory variable
-
- [] Optional syntax.
-
-
- Font Designation
- ----------------
-
- The names for functions that set fonts are referred to as an
- abbreviation of the font name, the point size of the font and
- symbol set. This enables us to use a consistent naming convention
- for fixed and proportional fonts. This was changed from an
- earlier version of the Library.
-
- Example : TX HL 14 I R
-
- Symbol Set (Roman-8)
- Type Style (Italic)
- Point Size
- Font Typeface (Helvetica)
- Library
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 10
-
-
-
-
-
- TX3OF9BC()
-
-
- Syntax: TX3OF9BC(<expN1>,<expN2>,<expC1>,<expN3>)
-
- Purpose: Function to print text <expC1> using row <expN1>
- and column <expN2> as coordinates and row as
- height <expN3>.
-
- Arguments: <expN1> is the upper column coordinate of the
- barcodes.
-
- <expN2> is the upper row coordinate of the
- barcodes.
-
- <expC1> is the text string to generate as
- barcodes.
-
- <expN3> is the row height of the barcodes
-
-
- Returns: .T. Successful
- .F. Unsuccessful
-
- Usage: TX3OF9BC() is useful anytime you need to generate
- barcodes using columns and rows as coordinates.
- See Bar Code Demo. 3-of-9 Bar Code Generator
- allows 44 characters. The letters must be
- capitalized. If you do not capitalize your text,
- TX3OF9BC() will capitalize it for you. The 44
- allowable characters are: "A" - "Z", "0" - "9", "
- " (space), "-", ".", "*", "$", "/", "+", "%".
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 11
-
-
-
-
-
- TXAFS36A()
-
-
- Syntax: TXAFS36A()
-
- Purpose: Sets the font to AFS 3.6 point 27.28 cpi Ascii
- Symbol Set.
-
- Pitch Point Description
- 27.28 3.60 AFS Medium Ascii
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXAFS36A() is used anytime you need to change the
- font to AFS 3.6 point Ascii. AFS 3.6 point Ascii
- is not one of the internal fonts for any HP
- LaserJet Printer. If you have a cartridge with AFS
- 3.6 point Ascii on it, you can use this function.
- If you select this font and it is not available to
- your printer, the HP LaserJet will set the font
- that most closely matches the selected font's
- characteristics. You do not get a return code
- indicating the font was not available.
-
- Example: TXAFS36A()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 12
-
-
-
-
-
- TXBOLD()
-
-
- Syntax: TXBOLD(<expC>)
-
- Purpose: Prints a text string in a simulated bold type.
-
- Argument: <expC> is the text string or character memory
- variable to be printed boldface.
-
- Returns: Bold string
-
- Usage: TXBOLD() is useful anytime you need to print your
- text bold and you do not have a bold font
- available. It will print the bold text in the same
- font as your normal text line. Some internal
- fonts, soft fonts or cartridges do not have
- boldface option. TXBOLD() will print in a
- simulated bold that is easy to use.
-
- Example: @ 10, 10 say "Send money "+TXBOLD("NOW!")
-
- See Also: TXSUB(), TXSUPER(), TXCOLPRINT(), TXDOTPRINT()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 13
-
-
-
-
-
- TXCLEAR()
-
-
- Syntax: TXCLEAR()
-
- Purpose: Releases the variables the Library requires for
- its functions to operate correctly.
-
- Argument: none
-
- Returns: 0 Successful
- 1 not successful
-
- Usage: TXCLEAR() is used at the end of any printing
- procedure.
-
- Example: * Initialize variables
- TXINIT()
- (Print routine)
- * Release variables
- TXCLEAR()
-
- See Also: TXINIT()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 14
-
-
-
-
-
- TXCLRHMRG()
-
-
- Syntax: TXCLRHMRG()
-
- Purpose: Clears the horizontal margins of the logical page.
-
- Argument: none
-
- Returns: 0 Successful
- 1 not successful
-
- Usage: TXCLRHMRG() is used to reset the left and right
- margins. The left margin is set to the left edge
- of the logical page - column 0 - and the right
- margin is set to the right edge of the logical
- page.
-
- Example: * Clear left and right margins
- _ret_code = TXCLRHMRG()
-
- See Also: TXLMARGIN(), TXRMARGIN()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 15
-
-
-
-
-
- TXCNTLFONT()
-
-
- Syntax: TXCNTLFONT()
-
- Purpose: Provides a way to control soft fonts.
-
- Argument: 0 Delete all soft fonts
- 1 Delete all temporary soft fonts
- 2 Delete last ID specified soft font
- 4 Make last soft font specified temporary
- 5 Make last soft font specified permanent
-
- Returns: 0 Successful
-
- Usage: TXCNTLFONT() is used anytime you need to control
- the soft fonts you previously downloaded.
-
- Example: * delete all soft fonts
- TXCNTLFONT(0)
-
- See Also: TXSETPFONT(), TXSETSFONT(), TXRESET(), TXDLFONT()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 16
-
-
-
-
-
- TXCOLBOX()
-
-
- Syntax: TXCOLBOX(<expN1>,<expN2>,<expN3>,<expN4>,
- [<expN5>],[<expN6>],[<expN7>])
-
- Purpose: Prints a single or double lined box using columns
- and rows as coordinates. The border thickness is
- set by <expN7>. The box may be shaded using a
- graybar.
-
- Arguments: <expN1> is the upper column coordinate of the box.
-
- <expN2> is the upper row coordinate of the box.
-
- <expN3> is the column width of the box
-
- <expN4> is the row height of the box
-
- <expN5> is the border option.
- 1 = single line border
- 2 = double line border
-
- <expN6> is the percent of shading to fill the box.
- If omitted, the box will not be shaded. Valid
- values are 1 - 100.
-
- <expN7> is the thickness of the border in dots. Do
- not use with double line border.
-
- Returns: 0 Successful
- 1 Invalid number of parameters
- 2 Only 1 parameter passed
- 3 Only 2 parameters passed
- 4 Only 3 parameters passed
- 5 <expN1> column parameter not numeric
- 6 <expN2> row parameter not numeric
- 7 <expN3> width parameter not numeric
- 8 <expN4> height parameter not numeric
- 9 <expN5> border parameter not numeric
- 10 <expN6> shading percent not numeric
- 11 <expN6> shading percent > 100
- 12 <expN7> border weight parameter not numeric
-
- Usage: TXCOLBOX() is useful anytime you need to print a
- box using columns and rows as coordinates. See
- Invoice Demo. When used with TXCOLPRINT(), it will
- provide an accurate border.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 17
-
-
-
-
-
- Example: * To print a border on page
- _ret_code = txcolbox(01, 01, 80, 60)
- IF _ret_code != 0
- set console on
- set print off
- set device to screen
- ?? "Error drawing ColBox "+str(_ret_code)
- Return
- ENDIF
- (Your Print Routine)
-
- See Also: TXDOTBOX(), TXGRAYBAR(), TXCOLPRINT()
-
- Printers: Do not use with the original HP LaserJet
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 18
-
-
-
-
-
- TXCOLHLINE()
-
-
- Syntax: TXCOLHLINE(<expN1>,<expN2>,<expN3>,<expN4>)
-
- Purpose: Prints a horizontal line at the designated column
- and row coordinates with a width <expN3> column
- and <expN4> dots high. TXCOLHLINE() allows you to
- draw a horizontal line at any column and row on
- the page.
-
- Arguments: <expN1> is the column coordinate of line to be
- drawn.
-
- <expN2> is the row coordinate of line to be drawn.
-
- <expN3> is the width of your line in columns.
-
- <expN4> is the weight of the line. (Number of dots
- wide). 300 dots equal 1 inch.
-
- Returns: 0 Successful
- 1 Invalid number of parameters
- 2 <expN1> column parameter not numeric
- 3 <expN2> row parameter not numeric
- 4 <expN3> width parameter not numeric
- 5 <expN4> weight parameter not numeric
-
- Usage: TXCOLHLINE() is useful anytime you need to draw a
- horizontal line. TXCOLHLINE() is not as exact as
- TXDOTHLINE() but does not require calculating your
- exact print position by dots.
-
- Example: * To print grid on a page.
- for i = 1 to 80 step 2
- TXCOLVLINE( i, 01, 60, 1)
- next
-
- for i = 1 to 60
- TXCOLHLINE(01, i, 80, 1)
- next
-
- See Also: TXDOTHLINE(), TXDOTVLINE(), TXCOLVLINE()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 19
-
-
-
-
-
- TXCOLPRINT()
-
-
- Syntax: TXCOLPRINT(<expN1>,<expN2>,<expL>,<expC1>)
-
- Purpose: Prints a string at the designated column and row
- coordinates. TXCOLPRINT() allows you to construct
- your page layout without ejecting the current
- page.
-
- Arguments: <expN1> is the upper column coordinate of text to
- be printed.
-
- <expN2> is the upper row coordinate of text to be
- printed.
-
- <expL> allows you to print entire text in
- simulated boldface.
-
- <expC1> is the string to be printed.
-
- Returns: 0 Successful
- 1 Invalid number of parameters
- 2 <expN1> column parameter not numeric
- 3 <expN2> row parameter not numeric
- 4 <expL> bold parameter not logical
- 5 <expC1> text string not character
-
- Usage: TXCOLPRINT() is useful anytime you need to print a
- text string using columns and rows as coordinates.
- <expL> will print the text string in a simulated
- boldface.
-
- Example: * To print text in normal print
- _text = "Texas Associated Software loves
- LaserJets"
- TXCOLPRINT(01, 01, .f., _text)
-
- * To print text in bold print
- TXCOLPRINT(01, 01, .t., _text)
-
- See Also: TXDOTPRINT(), TXCOLBOX(), TXDOTBOX()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 20
-
-
-
-
-
- TXCOLVLINE()
-
-
- Syntax: TXCOLVLINE(<expN1>,<expN2>,<expN3>,<expN4>)
-
- Purpose: Prints a vertical line at the designated column
- and row coordinates with a height of <expN3> rows
- and <expN4> dots wide. TXCOLVLINE() allows you to
- draw a vertical line at any column and row on the
- page.
-
- Arguments: <expN1> is the column coordinate of text to be
- printed.
-
- <expN2> is the row coordinate of text to be
- printed.
-
- <expN3> is the height of your line in rows.
-
- <expN4> is the weight of the line. (Number of dots
- wide). 300 dots equal 1 inch.
-
- Returns: 0 Successful
- 1 Invalid number of parameters
- 2 <expN1> column parameter not numeric
- 3 <expN2> row parameter not numeric
- 4 <expN3> length parameter not numeric
- 5 <expN4> weight parameter not numeric
-
- Usage: TXCOLVLINE() is useful anytime you need to draw an
- vertical line. TXCOLVLINE() is not as exact as
- TXDOTVLINE() but does not require calculating your
- exact print position by dots.
-
- Example: * To print grid on a page.
- for i = 1 to 80 step 2
- TXCOLVLINE( i, 01, 60, 1)
- next
-
- for i = 1 to 60
- TXCOLHLINE(01, i, 80, 1)
- next
-
- See Also: TXDOTHLINE(), TXDOTVLINE(), TXCOLHLINE()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 21
-
-
-
-
-
- TXCOPIES()
-
-
- Syntax: TXCOPIES(<expN>)
-
- Purpose: Sets the number of copies per page to print.
-
- Argument: <expN> is the number of copies per page. The
- default setting is 1. Valid values for <expN> are
- 1 to 99.
-
- Returns: 0 Successful
- 1 <expN> not numeric
- 2 Invalid value for <expN>
-
- Usage: TXCOPIES() is useful anytime you need to change
- the number of copies per printed page. You can use
- it in a variable to allow user to select number of
- copies to print. The pages are not collated as
- they print.
-
- Example: TXCOPIES(3)
-
- See Also: TXPGLENGTH(), TXSETLPI()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 22
-
-
-
-
-
- TXCOUR10BR()
-
-
- Syntax: TXCOUR10BR()
-
- Purpose: Sets the font to Courier 10 point Bold Roman-8
- Symbol Set 12 cpi.
-
- Pitch Point Description
- 12.00 10.00 Courier Bold Roman-8
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXCOUR10BR() is used anytime you need to change
- the font to Courier 10 point Bold Roman-8. Courier
- 10 point Bold Roman-8 is not an internal font for
- the original LaserJet, LaserJet 500 and LaserJet
- Plus. If you have a cartridge with Courier 10
- point Bold Roman-8 on it, you can use this
- function. If you select this font and it is not
- available to your printer, the HP LaserJet will
- set the font that most closely matches the
- selected font's characteristics. You do not get a
- return code indicating the font was not available.
-
- Example: TXCOUR10BR()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 23
-
-
-
-
-
- TXCOUR10IR()
-
-
- Syntax: TXCOUR10IR()
-
- Purpose: Sets the font to Courier 10 point Italic Roman-8
- Symbol Set 12 cpi.
-
- Pitch Point Description
- 12.00 10.00 Courier Medium Italic Roman-8
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXCOUR10IR() is used anytime you need to change
- the font to Courier 10 point Italic Roman-8.
- Courier 10 point Italic Roman-8 is not an internal
- font for the original LaserJet, LaserJet 500,
- LaserJet Plus and LaserJet II. If you have a
- cartridge with Courier 10 point Italic Roman-8 on
- it, you can use this function. If you select this
- font and it is not available to your printer, the
- HP LaserJet will set the font that most closely
- matches the selected font's characteristics. You
- do not get a return code indicating the font was
- not available.
-
- Example: TXCOUR10IR()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 24
-
-
-
-
-
- TXCOUR10R()
-
-
- Syntax: TXCOUR10R()
-
- Purpose: Sets the font to Courier 10 point Roman-8 Symbol
- Set 12 cpi.
-
- Pitch Point Description
- 12.00 10.00 Courier Medium Roman-8
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXCOUR10R() is used anytime you need to change the
- font to Courier 10 point Roman-8. Courier 10 point
- Roman-8 is not an internal for the original
- LaserJet, LaserJet 500, LaserJet Plus and LaserJet
- II. If you have a cartridge with Courier 10 point
- Roman-8 on it, you can use this function. If you
- select this font and it is not available to your
- printer, the HP LaserJet will set the font that
- most closely matches the selected font's
- characteristics. You do not get a return code
- indicating the font was not available.
-
- Example: TXCOUR10R()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 25
-
-
-
-
-
- TXCOUR12BR()
-
-
- Syntax: TXCOUR12BR()
-
- Purpose: Sets the font to Courier 12 point Bold Roman-8
- Symbol Set 10 cpi.
-
- Pitch Point Description
- 10.00 12.00 Courier Bold Roman-8
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXCOUR12BR() is used anytime you need to change
- the font to Courier 12 point Bold Roman-8. Courier
- 12 point Bold Roman-8 is not an internal for the
- original LaserJet, LaserJet 500 and LaserJet Plus.
- If you have a cartridge with Courier 12 point Bold
- Roman-8 on it, you can use this function. If you
- select this font and it is not available to your
- printer, the HP LaserJet will set the font that
- most closely matches the selected font's
- characteristics. You do not get a return code
- indicating the font was not available.
-
- Example: TXCOUR12BR()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 26
-
-
-
-
-
- TXCOUR12IR()
-
-
- Syntax: TXCOUR12IR()
-
- Purpose: Sets the font to Courier 12 point Italic Roman-8
- Symbol Set 10 cpi.
-
- Pitch Point Description
- 10.00 12.00 Courier Medium Italic Roman-8
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXCOUR12IR() is used anytime you need to change
- the font to Courier 12 point Italic Roman-8.
- Courier 12 point Italic Roman-8 is not an internal
- for the original LaserJet, LaserJet 500, LaserJet
- Plus and LaserJet II. If you have a cartridge with
- Courier 12 point Italic Roman-8 on it, you can use
- this function. If you select this font and it is
- not available to your printer, the HP LaserJet
- will set the font that most closely matches the
- selected font's characteristics. You do not get a
- return code indicating the font was not available.
-
- Example: TXCOUR12IR()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 27
-
-
-
-
-
- TXCOUR12R()
-
-
- Syntax: TXCOUR12R()
-
- Purpose: Sets the font to Courier 12 point Roman-8 Symbol
- Set 10 cpi.
-
- Pitch Point Description
- 10.00 12.00 Courier Medium Roman-8
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXCOUR12R() is used anytime you need to change the
- font to Courier 12 point Roman-8. Courier 12
- Roman-8 is the default font for all HP LaserJet
- Printers.
-
- Example: TXCOUR12R()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 28
-
-
-
-
-
- TXDLFONT()
-
-
- 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
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 29
-
-
-
-
-
- TXDOTBOX()
-
-
- Syntax:
- TXDOTBOX(<expN1>,<expN2>,<expN3>,<expN4>,[<expN5>],
- [<expN6>],[<expN7>])
-
- Purpose: Prints a single or double lined box using dots as
- x and y coordinates. A dot is the smallest
- printable unit. One dot equals 1/300th of an inch.
- The number of dots printed per inch is referred to
- as the printer's resolution. The border thickness
- is set by <expN7>. The box may be shaded using a
- graybar.
-
- Arguments: <expN1> is the upper x coordinate of the box.
-
- <expN2> is the upper y coordinate of the box.
-
- <expN3> is the width of the box in dots
-
- <expN4> is the height of the box in dots
-
- <expN5> is the border option.
- 1 = single line border
- 2 = double line border
-
- <expN6> is the percent of shading to fill the box.
- If omitted, the box will not be shaded. Valid
- values are 1 - 100.
-
- <expN7> is the thickness of the border in dots. Do
- not use with double line border.
-
- Returns: 0 Successful
- 1 Invalid number of parameters
- 2 Only 1 parameter passed
- 3 Only 2 parameters passed
- 4 Only 3 parameters passed
- 5 <expN1> x parameter not numeric
- 6 <expN2> y parameter not numeric
- 7 <expN3> width parameter not numeric
- 8 <expN4> height parameter not numeric
- 9 <expN5> border parameter not numeric
- 10 <expN6> shading percent not numeric
- 11 <expN6> shading percent > 100
- 12 <expN7> border weight parameter not numeric
-
- Usage: TXDOTBOX() is useful anytime you need to print a
- box using x and y dots as coordinates. TXDOTBOX()
- is much more exact than TXCOLBOX(). It also can be
- more exasperating. 300 dots equal 1 inch.
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 30
-
-
-
-
-
- Example: * To print a border on page
- _ret_code = txdotbox(01, 01, 2400, 3000)
- IF _ret_code != 0
- set console on
- set print off
- set device to screen
- ?? "Error drawing DotBox "+str(_ret_code)
- Return
- ENDIF
- (Your Print Routine)
-
- See Also: TXCOLBOX(), TXGRAYBAR()
-
- Printers: If used with the original HP LaserJet, do not use
- with <expN5> for shading.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 31
-
-
-
-
-
- TXDOTHLINE()
-
-
- Syntax: TXDOTHLINE(<expN1>,<expN2>,<expN3>,<expN4>)
-
- Purpose: Draws a vertical line at the designated x and y
- coordinates with a width of <expN3> and <expN4>
- dots high. TXDOTHLINE() allows you to draw a
- horizontal line with great control over the line
- placement.
-
- Arguments: <expN1> is the x coordinate of line to be drawn.
-
- <expN2> is the y coordinate of line to be drawn.
-
- <expN3> is the width of your line in dots. 300
- dots equal 1 inch.
-
- <expN4> is the weight of the line. (Number of dots
- high). 300 dots equal 1 inch.
-
- Returns: 0 Successful
- 1 Invalid number of parameters
- 2 <expN1> x parameter not numeric
- 3 <expN2> y parameter not numeric
- 4 <expN3> width parameter not numeric
- 5 <expN4> weight parameter not numeric
-
- Usage: TXDOTHLINE() is useful anytime you need to draw an
- exact horizontal line of any width (width).
- TXDOTHLINE() is much more exact than TXCOLHLINE()
- and requires calculating your exact print
- position. 300 dots equal 1 inch.
-
- Example: * To print grid on a page.
- for i = 1 to 2400 step 75
- TXDOTVLINE( i, 01, 3300, 1)
- next
-
- for i = 1 to 3000 step 75
- TXDOTHLINE(01, i, 2400, 1)
- next
-
- See Also: TXDOTVLINE(), TXCOLVLINE(), TXCOLHLINE()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 32
-
-
-
-
-
- TXDOTPRINT()
-
-
- Syntax: TXDOTPRINT(<expN1>,<expN2>,<expL>,<expC1>)
-
- Purpose: Prints a string at the designated x and y
- coordinates. TXDOTPRINT() allows you to construct
- your page layout without ejecting the current
- page.
-
- Arguments: <expN1> is the x coordinate of text to be printed.
-
- <expN2> is the y coordinate of text to be printed.
-
- <expL> allows you to print entire text in
- simulated boldface.
-
- <expC1> is the string to be printed.
-
- Returns: 0 Successful
- 1 Invalid number of parameters
- 2 <expN1> x parameter not numeric
- 3 <expN2> y parameter not numeric
- 4 <expL> bold parameter not logical
- 5 <expC1> text string not character
-
- Usage: TXDOTPRINT() is useful anytime you need to print a
- text string using x and y as coordinates. <expL>
- will print the text string in a simulated
- boldface. TXDOTPRINT() is much more exact and
- requires calculating your exact print position.
- 300 dots equal 1 inch.
-
- Example: * To print text in normal print
- _text = "Texas Associated Software loves
- LaserJets"
- TXDOTPRINT(50, 50, .f., _text)
-
- * To print text in bold print
- TXDOTPRINT(50, 50, .t., _text)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 33
-
-
-
-
-
- TXDOTVLINE()
-
-
- Syntax: TXDOTVLINE(<expN1>,<expN2>,<expN3>,<expN4>)
-
- Purpose: Prints a vertical line at the designated x and y
- coordinates with a height of <expN3> and <expN4>
- dots wide. TXDOTVLINE() allows you to draw a
- vertical line with great control over the line
- placement.
-
- Arguments: <expN1> is the x coordinate of text to be printed.
-
- <expN2> is the y coordinate of text to be printed.
-
- <expN3> is the height of your line in dots. 300
- dots equal 1 inch.
-
- <expN4> is the weight of the line. (Number of dots
- wide). 300 dots equal 1 inch.
-
- Returns: 0 Successful
- 1 Invalid number of parameters
- 2 <expN1> x parameter not numeric
- 3 <expN2> y parameter not numeric
- 4 <expN3> length parameter not numeric
- 5 <expN4> weight parameter not numeric
-
- Usage: TXDOTVLINE() is useful anytime you need to draw an
- exact vertical line of any weight (width).
- TXDOTVLINE() is much more exact than TXCOLVLINE()
- and requires calculating your exact print
- position. 300 dots equal 1 inch.
-
- Example: * To print grid on a page.
- for i = 1 to 2400 step 75
- TXDOTVLINE( i, 01, 3300, 1)
- next
-
- for i = 1 to 3000 step 75
- TXDOTHLINE(01, i, 2400, 1)
- next
-
- See Also: TXDOTHLINE(), TXCOLVLINE(), TXCOLHLINE()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 34
-
-
-
-
-
- TXFORMFEED()
-
-
- Syntax: TXFORMFEED()
-
- Purpose: Prints and ejects the current page.
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXFORMFEED() is used anytime you need to print and
- eject the current page.
-
- Example: TXFORMFEED()
-
- See Also: TXPSOURCE()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 35
-
-
-
-
-
- TXGRAPHIC()
-
-
- Syntax: TXGRAPHIC(<expN1>,<expN2>,<expC1>,<expN3>)
-
- Purpose: Loads a graphic PCL file to printer to macro ID
- <expN3> to be used later with the TXOVERLAY(),
- TXMACEXEC() and TXMACCAL().
-
- Arguments: <expN1> is the column coordinate of graphic.
-
- <expN2> is the row coordinate of the graphic.
-
- <expC1> is the PCL file to be downloaded to
-
- <expN3> is the macro id of the graphic.
-
- Returns: .T. Successful
- .F. Unsuccessful
-
- Usage: TXGRAPHIC() is useful anytime you need to print a
- graphic symbol. This function uses PCL files
- formatted using the Texas Associated Software PCL
- conversion software. Use of other formats will
- give unpredictable results.
-
- Example: * To print a graphic converted with TexAS
- conversion software at col #55, row #5 with a
- macro id of 1.
-
- TXGRAPHIC(55, 05, "SIGNATUR.PCL", 1)
- DO WHILE !EOF()
- (Print Routine)
- TXOVERLAY(1)
- ENDDO
-
- See Also: TXOVERLAY(), TXMACCALL(), TXMACEXEC(),
- TXMACBEGIN(), TXMACEND()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 36
-
-
-
-
-
- TXGRAYBAR()
-
-
- Syntax: TXGRAYBAR(<expN1>,<expN2>,<expN3>,<expN4>,
- <expN5>)
-
- Purpose: Draws an area at the column and row coordinates
- shaded by the degree indicated by <expN5>. See
- Shading printout included in Demo.
-
- Arguments: <expN1> is the column coordinate of bar to be
- drawn.
-
- <expN2> is the row coordinate of bar to be drawn.
-
- <expN3> is the width of your bar in columns.
-
- <expN4> is the height of the bar.
-
- <expN5> is the percentage of shading.
-
- Returns: 0 Successful
- 1 Invalid number of parameters
- 2 <expN1> column parameter not numeric
- 3 <expN2> row parameter not numeric
- 4 <expN3> column width parameter not numeric
- 5 <expN4> row height parameter not numeric
- 6 <expN5> degree of shading
-
- Usage: TXGRAYBAR() is useful anytime you need to draw a
- shaded area. Particularly useful for emulating the
- "greenbar" paper that distinguishes printed lines.
-
- Example: * To draw gray bars to emulate "greenbar"
-
- for i = 1 to 60
- TXGRAYBAR( i, 01, 80, 04, 5)
- next
-
- See Also: TXPATTERNBAR(), TXCOLBOX(), TXDOTBOX()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 37
-
-
-
-
-
- TXHCFA15()
-
-
- Syntax: TXHCFA15(<expN1>)
-
- Purpose: Prints Health Insurance Claim Form HCFA-1500.
-
- Arguments: <expN1> is the macro number of form.
-
- Returns: 0 Successful
- 1 Invalid number of parameters
- 2 <expN1> column parameter not numeric
-
- Usage: TXHCFA15() is useful anytime you need to draw a
- HCFA-1500 form to print in your application. Demo
- form is to be used with an HP LaserJet III only.
-
- Example: * To draw HCFA-1500 form and print data
-
- TXHCFA15(1) && Assign HCFA-1500 form to
- Macro #1
- DO WHILE .T. && This is for you, Kent
- Kingery, dcug
- ( Print routine using database )
- ENDDO
- TXOVERLAY(1) && Overlay HCFA-1500 Form on
- current page
-
- TXPSOURCE(0) && Print current page and
- eject
-
- See Also: TXOVERLAY(), TXPSOURCE(), TXMACBEGIN(), TXMACEND()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 38
-
-
-
-
-
- TXHL10BR()
-
-
- Syntax: TXHL10BR()
-
- Purpose: Sets the font to Helvetica 10 point Bold Roman-8
- Symbol Set proportional pitch.
-
- Pitch Point Description
- Proportional 10.00 Helvetica Bold Roman-8
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXHL10BR() is used anytime you need to change the
- font to Helvetica 10 point Bold Roman-8. Helvetica
- 10 Bold Roman-8 is not one of the internal fonts
- for any HP LaserJet Printer. If you have a
- cartridge with Helvetica 10 Bold Roman-8 on it,
- you can use this function. If you select this font
- and it is not available to your printer, the HP
- LaserJet will set the font that most closely
- matches the selected font's characteristics. You
- do not get a return code indicating the font was
- not available.
-
- Example: TXHL10BR()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 39
-
-
-
-
-
- TXHL10IR()
-
-
- Syntax: TXHL10IR()
-
- Purpose: Sets the font to Helvetica 10 point Italic Roman-8
- Symbol Set proportional pitch.
-
- Pitch Point Description
- Proportional 10.00 Helvetica Medium Italic
- Roman-8
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXHL10IR() is used anytime you need to change the
- font to Helvetica 10 point Italic Roman-8.
- Helvetica 10 Italic Roman-8 is not one of the
- internal fonts for any HP LaserJet Printer. If you
- have a cartridge with Helvetica 10 point Italic
- Roman-8 on it, you can use this function. If you
- select this font and it is not available to your
- printer, the HP LaserJet will set the font that
- most closely matches the selected font's
- characteristics. You do not get a return code
- indicating the font was not available.
-
- Example: TXHL10IR()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 40
-
-
-
-
-
- TXHL10R()
-
-
- Syntax: TXHL10R()
-
- Purpose: Sets the font to Helvetica 10 point Roman-8 Symbol
- Set proportional pitch.
-
- Pitch Point Description
- Proportional 10.00 Helvetica Medium Roman-8
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXHL10R() is used anytime you need to change the
- font to Helvetica 10 point Roman-8. Helvetica 10
- point Roman-8 is not one of the internal fonts for
- any HP LaserJet Printer. If you have a cartridge
- with Helvetica 10 point Roman-8 on it, you can use
- this function. If you select this font and it is
- not available to your printer, the HP LaserJet
- will set the font that most closely matches the
- selected font's characteristics. You do not get a
- return code indicating the font was not available.
-
- Example: TXHL10R()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 41
-
-
-
-
-
- TXHL12BR()
-
-
- Syntax: TXHL12BR()
-
- Purpose: Sets the font to Helvetica 12 point Bold Roman-8
- Symbol Set proportional pitch.
-
- Pitch Point Description
- Proportional 12.00 Helvetica Bold Roman-8
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXHL12BR() is used anytime you need to change the
- font to Helvetica 12 point Bold Roman-8. Helvetica
- 12 Bold Roman-8 is not one of the internal fonts
- for any HP LaserJet Printer. If you have a
- cartridge with Helvetica 12 point Bold Roman-8 on
- it, you can use this function. If you select this
- font and it is not available to your printer, the
- HP LaserJet will set the font that most closely
- matches the selected font's characteristics. You
- do not get a return code indicating the font was
- not available.
-
- Example: TXHL12BR()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 42
-
-
-
-
-
- TXHL12IR()
-
-
- Syntax: TXHL12IR()
-
- Purpose: Sets the font to Helvetica 12 point Italic Roman-8
- Symbol Set proportional pitch.
-
- Pitch Point Description
- Proportional 12.00 Helvetica Medium Italic
- Roman-8
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXHL12IR() is used anytime you need to change the
- font to Helvetica 12 point Italic Roman-8.
- Helvetica 12 Italic Roman-8 is not one of the
- internal fonts for any HP LaserJet Printer. If you
- have a cartridge with Helvetica 12 point Italic
- Roman-8 on it, you can use this function. If you
- select this font and it is not available to your
- printer, the HP LaserJet will set the font that
- most closely matches the selected font's
- characteristics. You do not get a return code
- indicating the font was not available.
-
- Example: TXHL12IR()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 43
-
-
-
-
-
- TXHL12R()
-
-
- Syntax: TXHL12R()
-
- Purpose: Sets the font to Helvetica 12 point Roman-8 Symbol
- Set proportional pitch.
-
- Pitch Point Description
- Proportional 12.00 Helvetica Medium Roman-8
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXHL12R() is used anytime you need to change the
- font to Helvetica 12 point Roman-8. Helvetica 12
- point Roman-8 is not one of the internal fonts for
- any HP LaserJet Printer. If you have a cartridge
- with Helvetica 12 point Roman-8 on it, you can use
- this function. If you select this font and it is
- not available to your printer, the HP LaserJet
- will set the font that most closely matches the
- selected font's characteristics. You do not get a
- return code indicating the font was not available.
-
- Example: TXHL12R()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 44
-
-
-
-
-
- TXHL12SBA()
-
-
- Syntax: TXHL12SBA()
-
- Purpose: Sets the font to Helvetica 12 point SemiBold Ascii
- Symbol Set proportional pitch.
-
- Pitch Point Description
- Proportional 12.00 Helvetica SemiBold Ascii
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXHL12SBA() is used anytime you need to change the
- font to Helvetica 12 point SemiBold Ascii.
- Helvetica 12 SemiBold Ascii is not one of the
- internal fonts for any HP LaserJet Printer. If you
- have a cartridge with Helvetica 12 point SemiBold
- Ascii on it, you can use this function. SemiBold
- stroke weight is not as dark as Bold but darker
- than normal Medium weight. If you select this font
- and it is not available to your printer, the HP
- LaserJet will set the font that most closely
- matches the selected font's characteristics. You
- do not get a return code indicating the font was
- not available.
-
- Example: TXHL12SBA()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 45
-
-
-
-
-
- TXHL14IR()
-
-
- Syntax: TXHL14IR()
-
- Purpose: Sets the font to Helvetica 14 point Italic Roman-8
- Symbol Set proportional pitch.
-
- Pitch Point Description
- Proportional 14.00 Helvetica Medium Italic
- Roman-8
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXHL14IR() is used anytime you need to change the
- font to Helvetica 14 point Italic Roman-8.
- Helvetica 14 Italic Roman-8 is not one of the
- internal fonts for any HP LaserJet Printer. If you
- have a cartridge with Helvetica 14 point Italic
- Roman-8 on it, you can use this function. If you
- select this font and it is not available to your
- printer, the HP LaserJet will set the font that
- most closely matches the selected font's
- characteristics. You do not get a return code
- indicating the font was not available.
-
- Example: TXHL14IR()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 46
-
-
-
-
-
- TXHL14SBA()
-
-
- Syntax: TXHL14SBA()
-
- Purpose: Sets the font to Helvetica 14 point SemiBold Ascii
- Symbol Set proportional pitch.
-
- Pitch Point Description
- Proportional 14.00 Helvetica SemiBold Ascii
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXHL14SBA() is used anytime you need to change the
- font to Helvetica 14 point SemiBold Ascii.
- Helvetica 14 SemiBold Ascii is not one of the
- internal fonts for any HP LaserJet Printer. If you
- have a cartridge with Helvetica 14 point SemiBold
- Ascii on it, you can use this function. SemiBold
- stroke weight is not as dark as Bold but darker
- than normal Medium weight. If you select this font
- and it is not available to your printer, the HP
- LaserJet will set the font that most closely
- matches the selected font's characteristics. You
- do not get a return code indicating the font was
- not available.
-
- Example: TXHL14SBA()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 47
-
-
-
-
-
- TXHL6R()
-
-
- Syntax: TXHL6R()
-
- Purpose: Sets the font to Helvetica 6 point Roman-8 Symbol
- Set proportional pitch.
-
- Pitch Point Description
- Proportional 6.00 Helvetica Medium Roman-8
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXHL6R() is used anytime you need to change the
- font to Helvetica 6 point Roman-8. Helvetica 6
- point Roman-8 is not one of the internal fonts for
- any HP LaserJet Printer. If you have a cartridge
- with Helvetica 6 point Roman-8 on it, you can use
- this function. If you select this font and it is
- not available to your printer, the HP LaserJet
- will set the font that most closely matches the
- selected font's characteristics. You do not get a
- return code indicating the font was not available.
-
- Example: TXHL6R()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 48
-
-
-
-
-
- TXHL8R()
-
-
- Syntax: TXHL8R()
-
- Purpose: Sets the font to Helvetica 8 point Roman-8 Symbol
- set proportional pitch.
-
- Pitch Point Description
- Proportional 8.00 Helvetica Medium Roman-8
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXHL8R() is used anytime you need to change the
- font to Helvetica 8 point Roman-8. Helvetica 8
- point Roman-8 is not one of the internal fonts for
- any HP LaserJet Printer. If you have a cartridge
- with Helvetica 8 point Roman-8 on it, you can use
- this function. If you select this font and it is
- not available to your printer, the HP LaserJet
- will set the font that most closely matches the
- selected font's characteristics. You do not get a
- return code indicating the font was not available.
-
- Example: TXHL8R()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 49
-
-
-
-
-
- TXHL8SBA()
-
-
- Syntax: TXHL8SBA()
-
- Purpose: Sets the font to Helvetica 8 point SemiBold Ascii
- Symbol Set proportional pitch.
-
- Pitch Point Description
- Proportional 8.00 Helvetica SemiBold Ascii
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXHL8SBA() is used anytime you need to change the
- font to Helvetica 8 point SemiBold Ascii.
- Helvetica 8 SemiBold Ascii is not one of the
- internal fonts for any HP LaserJet Printer. If you
- have a cartridge with Helvetica 8 point SemiBold
- Ascii on it, you can use this function. SemiBold
- stroke weight is not as dark as Bold but darker
- than normal Medium weight. If you select this font
- and it is not available to your printer, the HP
- LaserJet will set the font that most closely
- matches the selected font's characteristics. You
- do not get a return code indicating the font was
- not available.
-
- Example: TXHL8SBA()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 50
-
-
-
-
-
- TXINIT()
-
-
- Syntax: TXINIT()
-
- Purpose: Initialize the variables the Library requires for
- its functions to operate correctly.
-
- Argument: none
-
- Returns: 0 Successful
- 1 not successful
-
- Usage: TXINIT() must be used at the beginning of any
- printing procedure.
-
- Example: * Initialize variables
- TXINIT()
- (Print routine)
- * Release variables
- TXCLEAR()
-
- See Also: TXCLEAR()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 51
-
-
-
-
-
- TXLG12BR()
-
-
- Syntax: TXLG12BR()
-
- Purpose: Sets the font to Letter Gothic 12 point Bold
- Roman-8 Symbol Set 12 cpi.
-
- Pitch Point Description
- 12.00 12.00 Letter Gothic Bold Roman-
- 8
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXLG12BR() is used anytime you need to change the
- font to Letter Gothic 12 Bold Roman-8. Letter
- Gothic 12 Bold Roman-8 is not one of the internal
- fonts for any HP LaserJet Printer. If you have a
- cartridge with Letter Gothic 12 Bold Roman-8 on
- it, you can use this function. If you select this
- font and it is not available to your printer, the
- HP LaserJet will set the font that most closely
- matches the selected font's characteristics. You
- do not get a return code indicating the font was
- not available.
-
- Example: TXLG12BR()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 52
-
-
-
-
-
- TXLG12IR()
-
-
- Syntax: TXLG12IR()
-
- Purpose: Sets the font to Letter Gothic 12 point Italic
- Roman-8 Symbol set 12 cpi.
-
- Pitch Point Description
- 12.00 12.00 Letter Gothic Italic
- Roman-8
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXLG12IR() is used anytime you need to change the
- font to Letter Gothic 12 Italic Roman-8. Letter
- Gothic 12 Italic Roman-8 is not one of the
- internal fonts for any HP LaserJet Printer. If you
- have a cartridge with Letter Gothic 12 Italic
- Roman-8 on it, you can use this function. If you
- select this font and it is not available to your
- printer, the HP LaserJet will set the font that
- most closely matches the selected font's
- characteristics. You do not get a return code
- indicating the font was not available.
-
- Example: TXLG12IR()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 53
-
-
-
-
-
- TXLG12R()
-
-
- Syntax: TXLG12R()
-
- Purpose: Sets the font to Letter Gothic 12 point Roman-8
- Symbol Set 12 cpi.
-
- Pitch Point Description
- 12.00 12.00 Letter Gothic Medium
- Roman-8
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXLG12R() is used anytime you need to change the
- font to Letter Gothic 12 Roman-8. Letter Gothic 12
- Roman-8 is not one of the internal fonts for any
- HP LaserJet Printer. If you have a cartridge with
- Letter Gothic 12 Roman-8 on it, you can use this
- function. If you select this font and it is not
- available to your printer, the HP LaserJet will
- set the font that most closely matches the
- selected font's characteristics. You do not get a
- return code indicating the font was not available.
-
- Example: TXLG12R()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 54
-
-
-
-
-
- TXLG14A()
-
-
- Syntax: TXLG14A()
-
- Purpose: Sets the font to Letter Gothic 14 point Ascii
- Symbol Set 10 cpi.
-
- Pitch Point Description
- 10.00 14.00 Letter Gothic Medium
- Ascii
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXLG14A() is used anytime you need to change the
- font to Letter Gothic 14 Ascii. Letter Gothic 14
- Ascii is not one of the internal fonts for any HP
- LaserJet Printer. If you have a cartridge with
- Letter Gothic 14 Ascii on it, you can use this
- function. If you select this font and it is not
- available to your printer, the HP LaserJet will
- set the font that most closely matches the
- selected font's characteristics. You do not get a
- return code indicating the font was not available.
-
- Example: TXLG14A()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 55
-
-
-
-
-
- TXLG14LG()
-
-
- Syntax: TXLG14LG()
-
- Purpose: Sets the font to Letter Gothic 14 point Legal
- Symbol Set 10 cpi.
-
- Pitch Point Description
- 10.00 14.00 Letter Gothic Medium
- Legal
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXLG14LG() is used anytime you need to change the
- font to Letter Gothic 14 Legal. Letter Gothic 14
- Legal is not one of the internal fonts for any HP
- LaserJet Printer. If you have a cartridge with
- Letter Gothic 14 Legal on it, you can use this
- function. If you select this font and it is not
- available to your printer, the HP LaserJet will
- set the font that most closely matches the
- selected font's characteristics. You do not get a
- return code indicating the font was not available.
-
- Example: TXLG14LG()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 56
-
-
-
-
-
- TXLG96R()
-
-
- Syntax: TXLG96R()
-
- Purpose: Sets the font to Letter Gothic 9.6 point Roman-8
- Symbol Set 16.67 cpi.
-
- Pitch Point Description
- 16.67 9.60 Letter Gothic Medium
- Roman-8
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXLG96R() is used anytime you need to change the
- font to Letter Gothic 9.6 Roman-8. Letter Gothic
- 9.6 Roman-8 is not one of the internal fonts for
- any HP LaserJet Printer. If you have a cartridge
- with Letter Gothic 9.6 Roman-8 on it, you can use
- this function. If you select this font and it is
- not available to your printer, the HP LaserJet
- will set the font that most closely matches the
- selected font's characteristics. You do not get a
- return code indicating the font was not available.
-
- Example: TXLG96R()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 57
-
-
-
-
-
- TXLMARGIN()
-
-
- Syntax: TXLMARGIN(<expN>)
-
- Purpose: Designates the setting of the left margin of the
- logical page in columns.
-
- Argument: <expN> is column to set as the left margin.
-
- Returns: 0 Successful
- 1 <expN> not numeric
-
- Usage: TXLMARGIN() is used to set your page left margin.
-
- Example: * Set left margin to column 10
- _ret_code = TXLMARGIN(10)
-
- See Also: TXRMARGIN(), TXTMARGIN(), TXSETLPI()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 58
-
-
-
-
-
- TXLNPRT85()
-
-
- Syntax: TXLNPRT85()
-
- Purpose: Sets the font to Line Printer 8.5 point 16.67 cpi
- Roman-8 Symbol Set
-
- Pitch Point Description
- 16.67 8.50 Line Printer Roman-8
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXLNPRT85() is used anytime you need to change the
- font to Line Printer 8.5 Roman-8. Line Printer 8.5
- Roman-8 is not an internal for the original
- LaserJet. It is available in Portrait orientation
- only for the LaserJet 500 and LaserJet Plus. If
- you have a cartridge with Line Printer 8.5 Roman-8
- on it, you can use this function. If you select
- this font and it is not available to your printer,
- the HP LaserJet will set the font that most
- closely matches the selected font's
- characteristics. You do not get a return code
- indicating the font was not available.
-
- Example: TXLNPRT85()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 59
-
-
-
-
-
- TXMACBEGIN()
-
-
- Syntax: TXMACBEGIN(<expN1>)
-
- Purpose: Function to begin definition of macro designated
- by ID # <expN1>.
-
- Argument: <expC> is the ID # of the macro.
-
- Returns: 0 Successful
-
- Usage: TXMACBEGIN() is used to begin the macro
- definition.
-
- Example: * To set up macro # 1
- TXMACBEGIN(1)
- (Print commands to print repeating text)
- * End macro # 1
- TXMACEND(1)
-
-
- See Also: TXMACEND(), TXMACDEL(), TXOVERLAY(), TXMACEXEC(),
- TXMACCALL()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 60
-
-
-
-
-
- TXMACCALL()
-
-
- Syntax: TXMACCALL(<expN1>)
-
- Purpose: Function to call a macro for execution. When a
- macro is called, it begins executing the commands
- using the current modified print environment.
- Changes made to settings during a macro call are
- recorded in the modified print environment, but
- are not retained upon completion of the macro
- call. The modified print environment that existed
- prior to the macro call is restored.
-
- Argument: <expC> is the ID # of the macro.
-
- Returns: 0 Successful
-
- Usage: TXMACCALL() is used to perform the macro.
-
- Example: TXMACCALL(1)
-
- See Also: TXMACBEGIN(), TXMACEND(), TXMACDEL(), TXOVERLAY(),
- TXMACEXEC()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 61
-
-
-
-
-
- TXMACDEL()
-
-
- Syntax: TXMACDEL()
-
- Purpose: Deletes all temporary and permanent macros
- previously defined in printer memory.
-
- Argument: none
-
- Returns: 0 Successful
-
- Usage: TXMACDEL() is used to delete macro definition.
-
- Example: TXMACDEL()
-
- See Also: TXMACBEGIN(), TXMACEND(), TXOVERLAY(),
- TXMACEXEC(), TXMACCALL()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 62
-
-
-
-
-
- TXMACEND()
-
-
- Syntax: TXMACEND(<expN1>)
-
- Purpose: Function to end definition of the macro designated
- by ID # <expN1>.
-
- Argument: <expC> is the ID # of the macro.
-
- Returns: 0 Successful
-
- Usage: TXMACEND() is used to end the macro definitions.
-
- Example: * To set up macro # 1
- TXMACBEGIN(1)
- (Print commands to print repeating text)
- * End macro # 1 definition
- TXMACEND(1)
-
-
- See Also: TXMACBEGIN(), TXMACDEL(), TXOVERLAY(),
- TXMACEXEC(), TXMACCALL()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 63
-
-
-
-
-
- TXMACEXEC()
-
-
- Syntax: TXMACEXEC(<expN1>)
-
- Purpose: Function to execute macro. When a macro is
- executed, the commands that change the current
- print environment are retained upon completion of
- the macro.
-
- Argument: <expC> is the ID # of the macro.
-
- Returns: 0 Successful
-
- Usage: TXMACEXEC() is used to perform the macro.
-
- Example: TXMACEXEC(1)
-
- See Also: TXMACBEGIN(), TXMACEND(), TXMACDEL(), TXOVERLAY(),
- TXMACCALL()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 64
-
-
-
-
-
- TXORIENT()
-
-
- Syntax: TXORIENT(<expC>)
-
- Purpose: A page setup command that designates the position
- of the logical page and the direction of print
- with respect to the physical page.
-
- Argument: <expC> is the command to designate Portrait or
- Landscape Orientation.
-
- "P" = Portrait
- "L" = Landscape
-
- Returns: 0 Successful
- 1 <expC> not character
- 2 Invalid parameter
-
- Usage: TXORIENT() is used to set your page orientation.
- It should be used along with the other commands
- used to setup your page. If used after issuing
- print commands, the current page will be printed
- and ejected.
-
- Example: * Set orientation to landscape.
- _ret_code = TXORIENT("L")
-
- See Also: TXRMARGIN(), TXTMARGIN(), TXSETLPI()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 65
-
-
-
-
-
- TXOVERLAY()
-
-
- Syntax: TXOVERLAY(<expN1>)
-
- Purpose: Function to enable macro for execution. When the
- macro is enabled, its execution will be the final
- operation each time a page is printed. Before the
- macro is performed, the current print environment
- is saved and replaced with the overlay
- environment. Upon completion of the macro, the
- current print environment is restored to its
- original settings.
-
- Argument: <expC> is the ID # of the macro.
-
- Returns: 0 Successful
-
- Usage: TXOVERLAY() is used to perform the macro. See
- Invoice demo.
-
- Example: TXOVERLAY(1)
-
- See Also: TXMACBEGIN(), TXMACEND(), TXMACDEL(), TXMACEXEC(),
- TXMACCALL()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 66
-
-
-
-
-
- TXPAGESIZE()
-
-
- Syntax: TXPAGESIZE(<expC>)
-
- Purpose: Designates the physical page size which in turn
- defines the size of the logical page.
-
- Argument: <expC> is name of the paper size to be used in
- current print routine.
-
- Paper
-
- "LETTER" 8 1/2" x 11"
- "LEGAL" 8 1/2" x 14"
- "EXEC" 7 1/4" x 10 1/2"
- "A4" 210mm x 297mm
-
- Envelopes
-
- "MONARCH" 3 7/8" x 7 1/2"
- "COMM10" 4 1/8" x 9 1/2"
- "INTDL" 110mm x 220mm
- "INTC5" 162mm x 229mm
-
- Returns: 0 Successful
- 1 <expC> not character
- 2 <expC> invalid parameter
-
- Usage: TXPAGESIZE() is used to set the page size for
- printing.
-
- Example: * Set page size other than default "LETTER"
- _ret_code = TXPAGESIZE("LEGAL")
-
- See Also: TXPGLENGTH()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 67
-
-
-
-
-
- TXPATTERNBAR()
-
-
- Syntax: TXPATTERNBAR(<expN1>,<expN2>,<expN3>,<expN4>,
- <expN5>,<expL>
-
- Purpose: Draws an area at the column and row coordinates
- filled with one of the six patterns drawn by the
- Laserjet. See Patterns printout included in Demo.
-
-
- Arguments: <expN1> is the column coordinate of pattern to be
- drawn.
-
- <expN2> is the row coordinate of pattern to be
- drawn.
-
- <expN3> is the width of your pattern in columns.
-
- <expN4> is the height of the pattern.
-
- <expN5> is the pattern of choice.
-
- <expL> is the logical indicator to draw a single
- line border around the pattern.
-
- Returns: 0 Successful
- 1 Invalid number of parameters
- 2 <expN1> column parameter not numeric
- 3 <expN2> row parameter not numeric
- 4 <expN3> column width parameter not numeric
- 5 <expN4> row height parameter not numeric
- 6 <expN5> pattern choice
- 7 <expL> border indicator not logical
-
- Usage: TXPATTERNBAR() is useful anytime you need to draw
- an image that needs to be distinguished from
- another. By using different pattern choices you
- can draw distinctive figures.
-
- Example: * To draw graph bars quarterly of sales in
- thousands
- 1stQtr = 19
- 2ndQtr = 23
- 3rdQtr = 15
- 4thQtr = 30
-
- TXPATTERNBAR(40 - 1stQtr, 10, 10, 1stQtr, 1, .t.)
- TXPATTERNBAR(40 - 2ndQtr, 30, 10, 2ndQtr, 1, .t.)
- TXPATTERNBAR(40 - 3rdQtr, 50, 10, 3rdQtr, 1, .t.)
- TXPATTERNBAR(40 - 4thQtr, 70, 10, 4thQtr, 1, .t.)
-
- See Also: TXDOTHLINE(), TXCOLVLINE(), TXCOLHLINE()
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 68
-
-
-
-
-
- TXPE10BLG()
-
-
- Syntax: TXPE10BLG()
-
- Purpose: Sets the font to Prestige Elite 10 point Bold
- Legal Symbol Set 12 cpi.
-
- Pitch Point Description
- 12.00 10.00 Prestige Elite Bold Legal
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXPE10BLG() is used anytime you need to change the
- font to Prestige Elite 10 point Bold Legal.
- Prestige Elite 10 point Bold Legal is not one of
- the internal fonts for any HP LaserJet Printer. If
- you have a cartridge with Prestige Elite 10 point
- Bold Legal on it, you can use this function. If
- you select this font and it is not available to
- your printer, the HP LaserJet will set the font
- that most closely matches the selected font's
- characteristics. You do not get a return code
- indicating the font was not available.
-
- Example: TXPE10BLG()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 69
-
-
-
-
-
- TXPE10BR()
-
-
- Syntax: TXPE10BR()
-
- Purpose: Sets the font to Prestige Elite 10 point Bold
- Roman-8 Symbol Set 12 cpi.
-
- Pitch Point Description
- 12.00 10.00 Prestige Elite Bold
- Roman-8
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXPE10BR() is used anytime you need to change the
- font to Prestige Elite 10 point Bold Roman-8.
- Prestige Elite 10 point Bold Roman-8 is not one of
- the internal fonts for any HP LaserJet Printer. If
- you have a cartridge with Prestige Elite 10 point
- Bold Roman-8 on it, you can use this function. If
- you select this font and it is not available to
- your printer, the HP LaserJet will set the font
- that most closely matches the selected font's
- characteristics. You do not get a return code
- indicating the font was not available.
-
- Example: TXPE10BR()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 70
-
-
-
-
-
- TXPE10ILG()
-
-
- Syntax: TXPE10ILG()
-
- Purpose: Sets the font to Prestige Elite 10 point Italic
- Legal Symbol Set 12 cpi.
-
- Pitch Point Description
- 12.00 10.00 Prestige Elite Italic
- Legal
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXPE10ILG() is used anytime you need to change the
- font to Prestige Elite 10 point Italic Legal.
- Prestige Elite 10 point Italic Legal is not one of
- the internal fonts for any HP LaserJet Printer. If
- you have a cartridge with Prestige Elite 10 point
- Italic Legal on it, you can use this function. If
- you select this font and it is not available to
- your printer, the HP LaserJet will set the font
- that most closely matches the selected font's
- characteristics. You do not get a return code
- indicating the font was not available.
-
- Example: TXPE10ILG()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 71
-
-
-
-
-
- TXPE10IR()
-
-
- Syntax: TXPE10IR()
-
- Purpose: Sets the font to Prestige Elite 10 point Italic
- Roman-8 Symbol Set 12 cpi.
-
- Pitch Point Description
- 12.00 10.00 Prestige Elite Italic
- Legal
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXPE10IR() is used anytime you need to change the
- font to Prestige Elite 10 point Italic Roman-8.
- Prestige Elite 10 point Italic Roman-8 is not one
- of the internal fonts for any HP LaserJet Printer.
- If you have a cartridge with Prestige Elite 10
- point Italic Roman-8 on it, you can use this
- function. If you select this font and it is not
- available to your printer, the HP LaserJet will
- set the font that most closely matches the
- selected font's characteristics. You do not get a
- return code indicating the font was not available.
-
- Example: TXPE10IR()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 72
-
-
-
-
-
- TXPE10LG()
-
-
- Syntax: TXPE10LG()
-
- Purpose: Sets the font to Prestige Elite 10 point Legal
- Symbol set 12 cpi.
-
- Pitch Point Description
- 12.00 10.00 Prestige Elite Legal
- Medium
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXPE10LG() is used anytime you need to change the
- font to Prestige Elite 10 point Legal. Prestige
- Elite 10 point Legal is not one of the internal
- fonts for any HP LaserJet Printer. If you have a
- cartridge with Prestige Elite 10 point Legal on
- it, you can use this function. If you select this
- font and it is not available to your printer, the
- HP LaserJet will set the font that most closely
- matches the selected font's characteristics. You
- do not get a return code indicating the font was
- not available.
-
- Example: TXPE10LG()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 73
-
-
-
-
-
- TXPE10MA()
-
-
- Syntax: TXPE10MA()
-
- Purpose: Sets the font to Prestige Elite 10 point Math
- Symbol Set proportional pitch.
-
- Pitch Point Description
- Proportional 10.00 Prestige Elite Math
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXPE10MA() is used anytime you need to change the
- font to Prestige Elite 10 Math. Prestige Elite 10
- Math is not an internal for any LaserJet printer.
- If you have a cartridge with Prestige Elite 10
- Math on it, you can use this function. If you
- select this font and it is not available to your
- printer, the HP LaserJet will set the font that
- most closely matches the selected font's
- characteristics. You do not get a return code
- indicating the font was not available.
-
- Example: TXPE10MA()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 74
-
-
-
-
-
- TXPE10R()
-
-
- Syntax: TXPE10R()
-
- Purpose: Sets the font to Prestige Elite 10 point Roman-8
- Symbol Set 12 cpi.
-
- Pitch Point Description
- 12.00 10.00 Prestige Elite
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXPE10R() is used anytime you need to change the
- font to Prestige Elite 10 point Roman-8. Prestige
- Elite 10 point Roman-8 is not one of the internal
- fonts for any HP LaserJet Printer. If you have a
- cartridge with Prestige Elite 10 point Roman-8 on
- it, you can use this function. If you select this
- font and it is not available to your printer, the
- HP LaserJet will set the font that most closely
- matches the selected font's characteristics. You
- do not get a return code indicating the font was
- not available.
-
- Example: TXPE10R()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 75
-
-
-
-
-
- TXPE7LG()
-
-
- Syntax: TXPE7LG()
-
- Purpose: Sets the font to Prestige Elite 7 point Legal
- Symbol set 16.67 cpi.
-
- Pitch Point Description
- 16.78 7.00 Prestige Elite Legal
- Medium
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXPE7LG() is used anytime you need to change the
- font to Prestige Elite 7 point Legal. Prestige
- Elite 7 point Legal is not one of the internal
- fonts for any HP LaserJet Printer. If you have a
- cartridge with Prestige Elite 7 point Legal on it,
- you can use this function. If you select this font
- and it is not available to your printer, the HP
- LaserJet will set the font that most closely
- matches the selected font's characteristics. You
- do not get a return code indicating the font was
- not available.
-
- Example: TXPE7LG()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 76
-
-
-
-
-
- TXPE7MA()
-
-
- Syntax: TXPE7MA()
-
- Purpose: Sets the font to Prestige Elite 7 point Math
- Symbol Set 16.67 cpi.
-
- Pitch Point Description
- 16.67 7.00 Prestige Elite Math
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXPE7MA() is used anytime you need to change the
- font to Prestige Elite 7 point Math. Prestige
- Elite 7 point Math is not one of the internal
- fonts for any HP LaserJet Printer. If you have a
- cartridge with Prestige Elite 7 point Math on it,
- you can use this function. If you select this font
- and it is not available to your printer, the HP
- LaserJet will set the font that most closely
- matches the selected font's characteristics. You
- do not get a return code indicating the font was
- not available.
-
- Example: TXPE7MA()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 77
-
-
-
-
-
- TXPE7R()
-
-
- Syntax: TXPE7R()
-
- Purpose: Sets the font to Prestige Elite 7 16.67 cpi point
- Roman-8 Symbol Set.
-
- Pitch Point Description
- 16.67 7.00 Prestige Elite Math
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXPE7R() is used anytime you need to change the
- font to Prestige Elite 7 point Roman-8. Prestige
- Elite 7 point Roman-8 is not one of the internal
- fonts for any HP LaserJet Printer. If you have a
- cartridge with Prestige Elite 7 point Roman-8 on
- it, you can use this function. If you select this
- font and it is not available to your printer, the
- HP LaserJet will set the font that most closely
- matches the selected font's characteristics. You
- do not get a return code indicating the font was
- not available.
-
- Example: TXPE7R()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 78
-
-
-
-
-
- TXPGLENGTH()
-
-
- Syntax: TXPGLENGTH(<expN>)
-
- Purpose: Designates the length of the logical page in
- lines.
- Argument: <expN> is number of lines in logical page.
-
- The page length values associated with the
- standard paper sizes are:
-
- Page Size Lines-per-inch Setting
- 6 8
-
- Letter 66 88
- Legal 84 112
- A4 70 93
- Executive 63 84
-
- Returns: 0 Successful
- 1 <expN> not numeric
-
- Usage: TXPGLENGTH() is use to set logical page length in
- number of lines.
-
- Example: * Set page length to other than above default
- _ret_code = TXPGLENGTH(80)
-
- See Also: TXPAGESIZE()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 79
-
-
-
-
-
- TXPOSTNET()
-
-
- Syntax: TXPOSTNET(<expN1>,<expN2>,<expC1>)
-
- Purpose: Prints USPS Postnet Barcode.
-
- Arguments: <expN1> is the column coordinate of Postnet
- Barcode.
-
- <expN2> is the row coordinate of Postnet Barcode.
-
- <expC1> is the ZIP+4 Zip Code.
-
- Returns: 0 Successful
- 1 Invalid number of parameters
- 2 <expN1> column parameter not numeric
- 3 <expN2> row parameter not numeric
- 4 <expN1> ZIP+4 not character
- 5 <expC1> ZIP+4 not 10 positions
-
- Usage: TXPOSTNET() is useful to print the Postnet Barcode
- for the ZIP+4 Zip Code. A substantial savings can
- be recognized by sorting the pieces to be mailed
- in Zip Code order and generating the USPS Postnet
- Barcode. The Postnet Barcode should be printed at
- least 1/4" from bottom of envelope.
-
- Example: * To print Postnet Barcode
- TXINIT()
- TXORIENT("L")
-
- _company = "Texas Associated Software"
- _address1 = "523 La Cresta Drive"
- _city_state = "Red Oak, TX"
- _zip_code = "75154-5109"
-
- TXCOLPRINT(25,50,.T.,_company)
- TXCOLPRINT(26,50,.F.,_address1)
- TXCOLPRINT(27,50,.F.,_city_state +" "+_zip_code)
-
- _ret_code = TXPOSTNET(34, 70, _zip_code)
- TXCLEAR()
-
- See Also: TXPAGESIZE()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 80
-
-
-
-
-
- TXPRS14BA()
-
-
- Syntax: TXPRS14BA()
-
- Purpose: Sets the font to Presentation Bold Ascii Symbol
- Set 14 point 10 cpi.
-
- Pitch Point Description
- 10.00 14.00 Presentation Bold Ascii
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXPRS14BA() is used anytime you need to change the
- font to Presentation 14 Bold Ascii. Presentation
- 14 Bold Ascii is not one of the internal fonts for
- any HP LaserJet Printer. If you have a cartridge
- with Presentation 14 Bold Ascii on it, you can use
- this function. If you select this font and it is
- not available to your printer, the HP LaserJet
- will set the font that most closely matches the
- selected font's characteristics. You do not get a
- return code indicating the font was not available.
-
- Example: TXPRS14BA()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 81
-
-
-
-
-
- TXPRS14BLG()
-
-
- Syntax: TXPRS14BLG()
-
- Purpose: Sets the font to Presentation Bold Legal Symbol
- Set 14 point 10 cpi.
-
- Pitch Point Description
- 10.00 14.00 Presentation Bold Legal
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXPRS14BLG() is used anytime you need to change
- the font to Presentation Legal 14. Presentation
- Legal 14 is not one of the internal fonts for any
- HP LaserJet Printer. If you have a cartridge with
- Presentation Legal 14 on it, you can use this
- function. If you select this font and it is not
- available to your printer, the HP LaserJet will
- set the font that most closely matches the
- selected font's characteristics. You do not get a
- return code indicating the font was not available.
-
- Example: TXPRS14BLG()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 82
-
-
-
-
-
- TXPRS16BA()
-
-
- Syntax: TXPRS16BA()
-
- Purpose: Sets the font to Presentation Bold Ascii Symbol
- Set 16.1 point 8.11 cpi.
-
- Pitch Point Description
- 8.11 16.10 Presentation Bold Ascii
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXPRS16BA() is used anytime you need to change the
- font to Presentation 16 Bold Ascii. Presentation
- 16 Bold Ascii is not one of the internal fonts for
- any HP LaserJet Printer. If you have a cartridge
- with Presentation 16 Bold Ascii on it, you can use
- this function. If you select this font and it is
- not available to your printer, the HP LaserJet
- will set the font that most closely matches the
- selected font's characteristics. You do not get a
- return code indicating the font was not available.
-
- Example: TXPRS16BA()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 83
-
-
-
-
-
- TXPRS16BLG()
-
-
- Syntax: TXPRS16BLG()
-
- Purpose: Sets the font to Presentation Bold Legal Symbol
- Set 16 point 8.11 cpi.
-
- Pitch Point Description
- 8.11 16.00 Presentation Bold Legal
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXPRS16BLG() is used anytime you need to change
- the font to Presentation Legal 16. Presentation
- Legal 16 is not one of the internal fonts for any
- HP LaserJet Printer. If you have a cartridge with
- Presentation Legal 16 on it, you can use this
- function. If you select this font and it is not
- available to your printer, the HP LaserJet will
- set the font that most closely matches the
- selected font's characteristics. You do not get a
- return code indicating the font was not available.
-
- Example: TXPRS16BLG()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 84
-
-
-
-
-
- TXPRS18BA()
-
-
- Syntax: TXPRS18BA()
-
- Purpose: Sets the font to Presentation Bold Ascii Symbol
- Set 18 point 6.53 cpi.
-
- Pitch Point Description
- 6.53 18.00 Presentation Bold Ascii
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXPRS18BA() is used anytime you need to change the
- font to Presentation Ascii 18. Presentation Ascii
- 18 is not one of the internal fonts for any HP
- LaserJet Printer. If you have a cartridge with
- Presentation Ascii 18 on it, you can use this
- function. If you select this font and it is not
- available to your printer, the HP LaserJet will
- set the font that most closely matches the
- selected font's characteristics. You do not get a
- return code indicating the font was not available.
-
- Example: TXPRS18BA()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 85
-
-
-
-
-
- TXPRS18BLG()
-
-
- Syntax: TXPRS18BLG()
-
- Purpose: Sets the font to Presentation Bold Legal Symbol
- Set 18 point 6.53 cpi.
-
- Pitch Point Description
- 6.53 18.00 Presentation Bold Legal
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXPRS18BLG() is used anytime you need to change
- the font to Presentation Legal 18. Presentation
- Legal 18 is not one of the internal fonts for any
- HP LaserJet Printer. If you have a cartridge with
- Presentation Legal 18 on it, you can use this
- function. If you select this font and it is not
- available to your printer, the HP LaserJet will
- set the font that most closely matches the
- selected font's characteristics. You do not get a
- return code indicating the font was not available.
-
- Example: TXPRS18BLG()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 86
-
-
-
-
-
- TXPSOURCE()
-
-
- Syntax: TXPSOURCE(<expN>)
-
- Purpose: Designates the location to feed paper or prints
- current page.
-
- Argument: <expN> is command to locate the paper source or to
- print the current page.
-
- <expN> = 0 - Print current page (paper source
- remains unchanged.
- 1 - Feed paper from the upper paper
- tray
- 2 - Manual paper feed
- 3 - Manual envelope feed
- 4 - Feed paper from lower paper tray
- 5 - Feed from paper deck
- 6 - Feed envelope from optional
- envelope feeder.
-
- Returns: 0 Successful
- 1 <expN> not numeric
- 2 Invalid value for <expN>
-
- Usage: TXPSOURCE() is useful anytime you need to change
- the source of your paper. Not all LaserJet
- printers support all possible paper sources. Refer
- to your user manual for printer configuration. It
- is also used to print page if you did not use the
- normal "@ col, row say" command to print your
- page.
-
- Example: * Print from lower tray containing special forms
- _ret_code = TXPSOURCE(4)
- (Print forms routine)
-
- * Return paper source to top tray
- _ret_code = TXPSOURCE(1)
- (Print from top tray)
-
- * Request manual paper feed
- _ret_code = TXPSOURCE(2)
- (Print manually input form)
-
- See Also:
-
- Printers: Not all LaserJet printers support all possible
- paper source options. Refer to your reference
- manual for your printer configuration.
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 87
-
-
-
-
-
- TXRESET()
-
-
- Syntax: TXRESET()
-
- Purpose: TXRESET() restores the user default environment
- and deletes temporary fonts and macros. Any
- partial pages that have not been printed are
- printed.
-
- Argument: None
-
- Returns: 0
-
- Usage: TXRESET() is useful at the beginning and end of
- your print routine. It will assure your have
- having your printer environment "clean" when you
- start and end your printing task.
-
- Example: set console off
- set device to print
- set print on
- TXRESET()
-
- (Print Routine)
-
- TXRESET()
- Set print off
- set device to screen
- set console on
-
- See Also: TXINIT(), TXCLEAR()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 88
-
-
-
-
-
- TXRMARGIN()
-
-
- Syntax: TXRMARGIN(<expN>)
-
- Purpose: Designates the setting of the right margin of the
- logical page in columns.
-
- Argument: <expN> is column to set as the right margin.
-
- Returns: 0 Successful
- 1 <expN> not numeric
-
- Usage: TXRMARGIN() is used to set your page right margin.
-
- Example: * Set right margin to column 70
- _ret_code = TXRMARGIN(70)
-
- See Also: TXLMARGIN(), TXTMARGIN(), TXCLRMRG()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 89
-
-
-
-
-
- TXSCALABLE()
-
-
- Syntax: TXSCALABLE(<expC1>,<expL>,<expC2>,<expN1>)
-
- Purpose: Select and set internal scalable font on the HP
- LaserJet III.
-
- Arguments: <expC1> is the scalable font typeface. The HP
- LaserJet III has two typefaces available;
- "C" CG Times (similar to Times Roman)
- "U" Universal (similar to Helvetica).
-
- <expL> is the font weight (Bold or Normal).
- .f. = Normal
- .t. = Bold.
-
- <expC2> is the font style "Upright" or "Italic".
- "U" = Upright
- "I" = Italic
-
- <expN1> is the point size.
-
- Returns: 0 Successful
- 1 Invalid number of parameters
- 2 <expC1> parameter not Character
- 3 <expC1> not equal "C" or "U"
- 4 <expL> not logical
- 5 <expC2> not character
- 6 <expC2> not equal "U" or "I"
- 7 <expN1> not numeric
-
- Usage: TXSCALABLE() is used only with the HP LaserJet
- III. This function will allow you to use the
- internal scalable fonts.
-
- Example: TXSCALABLE("C", "U", .f., 24)
- * This will select the CG Times scalable font,
- normal weight, upright style, 24 points high.
-
- Printers: Use this only with the HP LaserJet III
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 90
-
-
-
-
-
- TXSETLPI()
-
-
- Syntax: TXSETLPI(<expN>)
-
- Purpose: Sets the number of lines per vertical inch to
- print in you logical text area.
-
- Argument: <expN> is the number of lines printed per inch.
- The default setting is 6. Valid values for <expN>
- are 1, 2, 3, 4, 6, 8, 12, 16, 24 or 48.
-
- Returns: 0 Successful
- 1 <expN> not numeric
- 2 Invalid value for <expN>
-
- Usage: TXSETLPI() is useful anytime you need to change
- the line spacing in midstream of a print routine.
- You can use it to increase readability with larger
- fonts or print entire report on one page using
- smaller font.
-
- Example: * Printer is set at default 6 lpi
- @ 01, 30 say "Print Large Report Heading"
- TXLNPRT85() && select line printer font 8.5 point
- 16.67 cpi
- _ret_code = TXSETLPI(8)
- IF _ret_code = 0
- (Print Routine to print @ 8 lpi )
- ENDIF
-
- See Also: TXCOPIES(), TXLMARGIN(), TXRMARGIN(), TXTMARGIN()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 91
-
-
-
-
-
- TXSETPFONT()
-
-
- Syntax: TXSETPFONT(<expN>)
-
- Purpose: Select font using the associated font ID.
-
- Argument: <expN> is the font ID.
-
- Returns: 0 Successful
- 1 <expN> not numeric
-
- Usage: TXSETPFONT() is useful anytime you need to change
- the font you are printing. This is associated with
- a soft font you have previously downloaded.
-
- Example: * Print using font ID #1
- TXDLFONT("TR10R#US.SFP", 1)
- TXDLFONT("TR18R#US.SFP", 2)
- TXSETPFONT(1)
- @ 01, 10 say "This will print in TR 10 point"
- TXSETPFONT(2)
- @ 05, 10 say "This will print in TR 18 point"
-
- See Also: TXDLFONT()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 92
-
-
-
-
-
- TXSETSFONT()
-
-
- Syntax: TXSETSFONT(<expN>)
-
- Purpose: Designates soft font as secondary.
-
- Argument: <expN> is the font ID.
-
- Returns: 0 Successful
- 1 <expN> not numeric
-
- Usage: TXSETSFONT() is useful anytime you need to
- designate the font as secondary. This is
- associated with a soft font you have previously
- downloaded.
-
- Example: * Print using font ID #1
- TXDLFONT("TR10R#US.SFP", 1)
- TXDLFONT("TR18R#US.SFP", 2)
- TXSETPFONT(1)
- TXSETSFONT(2)
-
- See Also: TXSETPFONT()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 93
-
-
-
-
-
- TXSUB()
-
-
- Syntax: TXSUB(<expC>)
-
- Purpose: Prints a text string in subscript mode.
-
- Argument: <expC> is the text string or character memory
- variable to be printed in subscript.
-
- Returns: Subscripted string
-
- Usage: TXSUB() is useful anytime you need to print your
- text subscripted. It will print the subscripted
- text in the same font as your normal text line.
-
- Example: water = "H"+txsub("2")+"O"
- badacid = "H"+txsub("2")+"SO"+txsub("4")
- @ 10, 10 say "Drink "+water+" not "+badacid
-
- See Also: TXSUPER(), TXCOLPRINT(), TXDOTPRINT()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 94
-
-
-
-
-
- TXSUPER()
-
-
- Syntax: TXSUPER(<expC>)
-
- Purpose: Prints a text string in superscript mode.
-
- Argument: <expC> is the text string or character memory
- variable to be printed in superscript.
-
- Returns: Superscripted string
-
- Usage: TXSUPER() is useful anytime you need to print your
- text superscripted. It will print the
- superscripted text in the same font as your normal
- text line.
-
- Example: copynote = "Copyright"+txsuper("(c)")+" 1991"
- @ 60, 30 say copynote
-
- See Also: TXSUB(), TXCOLPRINT(), TXDOTPRINT()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 95
-
-
-
-
-
- TXTAX12BLD()
-
-
- Syntax: TXTAX12BLD()
-
- Purpose: Sets the font to Tax 12 Point Bold 10 cpi Line
- Draw Symbol Set.
-
- Pitch Point Description
- 10.00 12.00 Tax Line Draw Bold
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXTAX12BLD() is used anytime you need to change
- the font to Tax Line Draw 12. Tax Line Draw 12 is
- not one of the internal fonts for any HP LaserJet
- Printer. If you write a tax package, this is the
- font used for forms. If you have a cartridge with
- Tax Line Draw 12 on it, you can use this function.
- If you select this font and it is not available to
- your printer, the HP LaserJet will set the font
- that most closely matches the selected font's
- characteristics. You do not get a return code
- indicating the font was not available.
-
- Example: TXTAX12BLD()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 96
-
-
-
-
-
- TXTEXTLEN()
-
-
- Syntax: TXTEXTLEN(<expN>)
-
- Purpose: Designates the length of the logical page in
- lines.
- Argument: <expN> is number of lines.
-
- Returns: 0 Successful
- 1 <expN> not numeric
-
- Usage: TXTEXTLEN() is used to set your number of lines to
- print per page.
-
- Example: * Set number of lines to 45
- _ret_code = TXTEXTLEN(45)
-
- See Also: TXLMARGIN(), TXRMARGIN(), TXSETLPI()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 97
-
-
-
-
-
- TXTMARGIN()
-
-
- Syntax: TXTMARGIN(<expN>)
-
- Purpose: Designates the setting of the top margin of the
- logical page in rows.
-
- Argument: <expN> is row set as the top margin.
-
- Returns: 0 Successful
- 1 <expN> not numeric
-
- Usage: TXTMARGIN() is used to set your page top margin.
-
- Example: * Set top margin to column 5
- _ret_code = TXTMARGIN(5)
-
- See Also: TXLMARGIN(), TXRMARGIN(), TXSETLPI(), TXCLRMRG()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 98
-
-
-
-
-
- TXTR10BR()
-
-
- Syntax: TXTR10BR()
-
- Purpose: Sets the font to Times Roman 10 point Bold Roman-8
- Symbol Set proportional pitch.
-
- Pitch Point Description
- Proportional 10.00 Times Roman Bold Roman-8
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXTR10BR() is used anytime you need to change the
- font to Times Roman 10 Bold Roman-8. Times Roman
- 10 Bold Roman-8 is not one of the internal fonts
- for any HP LaserJet Printers. If you have a
- cartridge with Times Roman 10 Bold Roman-8 on it,
- you can use this function. If you select this font
- and it is not available to your printer, the HP
- LaserJet will set the font that most closely
- matches the selected font's characteristics. You
- do not get a return code indicating the font was
- not available.
-
- Example: TXTR10BR()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 99
-
-
-
-
-
- TXTR10IR()
-
-
- Syntax: TXTR10IR()
-
- Purpose: Sets the font to Times Roman 10 point Italic
- Roman-8 Symbol Set proportional pitch.
-
- Pitch Point Description
- Proportional 10.00 Times Roman Italic Roman-
- 8
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXTR10IR() is used anytime you need to change the
- font to Times Roman 10 Italic Roman-8. Times Roman
- 10 Italic Roman-8 is not one of the internal fonts
- for any HP LaserJet Printers. If you have a
- cartridge with Times Roman 10 Italic Roman-8 on
- it, you can use this function. If you select this
- font and it is not available to your printer, the
- HP LaserJet will set the font that most closely
- matches the selected font's characteristics. You
- do not get a return code indicating the font was
- not available.
-
- Example: TXTR10IR()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 100
-
-
-
-
-
- TXTR10MA()
-
-
- Syntax: TXTR10MA()
-
- Purpose: Sets the font to Times Roman 10 point Math Symbol
- Set proportional pitch.
-
- Pitch Point Description
- Proportional 10.00 Times Roman Medium Math
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXTR10MA() is used anytime you need to change the
- font to Times Roman 10 Math. Times Roman 10 Math
- is not one of the internal fonts for any HP
- LaserJet Printers. If you have a cartridge with
- Times Roman 10 Math on it, you can use this
- function. If you select this font and it is not
- available to your printer, the HP LaserJet will
- set the font that most closely matches the
- selected font's characteristics. You do not get a
- return code indicating the font was not available.
-
- Example: TXTR10MA()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 101
-
-
-
-
-
- TXTR10R()
-
-
- Syntax: TXTR10R()
-
- Purpose: Sets the font to Times Roman 10 point Roman-8
- Symbol Set proportional pitch.
-
- Pitch Point Description
- Proportional 10.00 Times Roman Medium Roman-
- 8
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXTR10R() is used anytime you need to change the
- font to Times Roman 10 Roman-8. Times Roman 10
- Roman-8 is not one of the internal fonts for any
- HP LaserJet Printers. If you have a cartridge with
- Times Roman 10 Roman-8 on it, you can use this
- function. If you select this font and it is not
- available to your printer, the HP LaserJet will
- set the font that most closely matches the
- selected font's characteristics. You do not get a
- return code indicating the font was not available.
-
- Example: TXTR10R()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 102
-
-
-
-
-
- TXTR12BR()
-
-
- Syntax: TXTR12BR()
-
- Purpose: Sets the font to Times Roman 12 point Bold Roman-8
- Symbol Set proportional pitch.
-
- Pitch Point Description
- Proportional 12.00 Times Roman Bold Roman-8
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXTR12BR() is used anytime you need to change the
- font to Times Roman 12 Bold Roman-8. Times Roman
- 12 Bold Roman-8 is not one of the internal fonts
- for any HP LaserJet Printers. If you have a
- cartridge with Times Roman 12 Bold Roman-8 on it,
- you can use this function. If you select this font
- and it is not available to your printer, the HP
- LaserJet will set the font that most closely
- matches the selected font's characteristics. You
- do not get a return code indicating the font was
- not available.
-
- Example: TXTR12BR()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 103
-
-
-
-
-
- TXTR12IR()
-
-
- Syntax: TXTR12IR()
-
- Purpose: Sets the font to Times Roman 12 point Italic
- Roman-8 Symbol Set proportional pitch.
-
- Pitch Point Description
- Proportional 12.00 Times Roman Italic Roman-
- 8
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXTR12IR() is used anytime you need to change the
- font to Times Roman 12 Italic Roman-8. Times Roman
- 12 Italic Roman-8 is not one of the internal fonts
- for any HP LaserJet Printers. If you have a
- cartridge with Times Roman 12 Italic Roman-8 on
- it, you can use this function. If you select this
- font and it is not available to your printer, the
- HP LaserJet will set the font that most closely
- matches the selected font's characteristics. You
- do not get a return code indicating the font was
- not available.
-
- Example: TXTR12IR()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 104
-
-
-
-
-
- TXTR12R()
-
-
- Syntax: TXTR12R()
-
- Purpose: Sets the font to Times Roman 12 point Roman-8
- Symbol Set proportional pitch.
-
- Pitch Point Description
- Proportional 12.00 Times Roman Medium Roman-
- 8
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXTR12R() is used anytime you need to change the
- font to Times Roman 12 Roman-8. Times Roman 12
- Roman-8 is not one of the internal fonts for any
- HP LaserJet Printers. If you have a cartridge with
- Times Roman 12 Roman-8 on it, you can use this
- function. If you select this font and it is not
- available to your printer, the HP LaserJet will
- set the font that most closely matches the
- selected font's characteristics. You do not get a
- return code indicating the font was not available.
-
- Example: TXTR12R()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 105
-
-
-
-
-
- TXTR14BR()
-
-
- Syntax: TXTR14BR()
-
- Purpose: Sets the font to Times Roman 14 point Bold Roman-8
- Symbol Set proportional pitch.
-
- Pitch Point Description
- Proportional 14.00 Times Roman Bold Roman-8
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXTR14BR() is used anytime you need to change the
- font to Times Roman 14 Bold Roman-8. Times Roman
- 14 Bold Roman-8 is not one of the internal fonts
- for any HP LaserJet Printers. If you have a
- cartridge with Times Roman 14 Bold Roman-8 on it,
- you can use this function. If you select this font
- and it is not available to your printer, the HP
- LaserJet will set the font that most closely
- matches the selected font's characteristics. You
- do not get a return code indicating the font was
- not available.
-
- Example: TXTR14BR()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 106
-
-
-
-
-
- TXTR8MA()
-
-
- Syntax: TXTR8MA()
-
- Purpose: Sets the font to Times Roman 8 point Math Symbol
- Set proportional pitch.
-
- Pitch Point Description
- Proportional 8.00 Times Roman Medium Math
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXTR8MA() is used anytime you need to change the
- font to Times Roman 8 Math. Times Roman 8 Math is
- not one of the internal fonts for any HP LaserJet
- Printers. If you have a cartridge with Times Roman
- 8 Math on it, you can use this function. If you
- select this font and it is not available to your
- printer, the HP LaserJet will set the font that
- most closely matches the selected font's
- characteristics. You do not get a return code
- indicating the font was not available.
-
- Example: TXTR8MA()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 107
-
-
-
-
-
- TXTR8R()
-
-
- Syntax: TXTR8R()
-
- Purpose: Sets the font to Times Roman 8 point Roman-8
- Symbol Set proportional pitch.
-
- Pitch Point Description
- Proportional 8.00 Times Roman Medium Roman-
- 8
-
- Argument: None
-
- Returns: 0 Successful
-
- Usage: TXTR8R() is used anytime you need to change the
- font to Times Roman 8 point Roman-8. Times Roman 8
- point Roman-8 is not one of the internal fonts for
- any HP LaserJet Printers. If you have a cartridge
- with Times Roman 8 point Roman-8 on it, you can
- use this function. If you select this font and it
- is not available to your printer, the HP LaserJet
- will set the font that most closely matches the
- selected font's characteristics. You do not get a
- return code indicating the font was not available.
-
- Example: TXTR8R()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 108
-
-
-
-
-
- TXUNDERLINE()
-
-
- Syntax: TXUNDERLINE(<expC1>)
-
- Purpose: Prints a string with a single underline.
-
- Arguments: <expC1> is the string to be printed.
-
- Returns: Underlined string
-
- Usage: TXUNDERLINE() is useful anytime you need to print
- a text string underlined.
-
- Example: * To print text in normal print
- _text = "I "+txunderline("love")+" HP LaserJets"
- TXCOLPRINT(01, 01, .f., _text)
-
- See Also: TXCOLPRINT(), TXDOTPRINT()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 109
-
-
-
-
-
- TXVPRINT()
-
-
- Syntax: TXVPRINT(<expN1>,<expN2>,<expC1>)
-
- Purpose: Prints a vertical string at the designated column
- and row coordinates.
-
- Arguments: <expN1> is the upper column coordinate of text to
- be printed.
-
- <expN2> is the upper row coordinate of text to be
- printed.
-
- <expC1> is the string to be printed.
-
- Returns: 0 Successful
- 1 Invalid number of parameters
- 2 <expN1> column parameter not numeric
- 3 <expN2> row parameter not numeric
- 4 <expC1> text string not character
-
- Usage: TXVPRINT() is useful anytime you need to print a
- vertical text string using columns and rows as
- coordinates.
-
- Example: * To print vertical text
- _text = "Texas Associated Software"
- TXVPRINT(01, 01, _text)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 110
-
-
-
-
-
- Bugs
- ----
-
- Texas Associated Software wishes to make The Library error free.
- However, as realists we know that is not possible 100% of the
- time. We have determined it will be impossible to find all the
- mistakes in the Library ourselves. It would be sincerely
- appreciated if you would take the time to document any errors or
- anomalies you find. If you find a "Bug", it will be fixed and you
- will be sent a registered copy of the Library free of charge. If
- you are already registered, you will receive a fix and the next
- available upgrade at no charge. If you have a suggestion for
- incorporation in the Library and we can use it, you will receive
- an immediate upgrade and the next available upgrade at no charge.
-
-
- Please send comments, suggestions, criticisms and bug reports to:
-
- Texas Associated Software
- 523 La Cresta Drive
- Red Oak, TX 75154
- (214) 617-5260
-
-
- Please detail what you were doing and if possible include source
- code if possible.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 111
-
-
-
-
-
- Registration Information
- ------------------------
-
- If you purchased The Texas Associated Laser Printer Library
- directly from Texas Associated Software and have received your
- product registration number, your copy is already registered you
- will receive all the benefits of registration. You need not
- register again.
-
- If you received The Texas Associated Laser Printer Library from a
- User Group, Bulletin Board, etc. and paid a small fee. You are
- not registered. The fee you paid was for the convenience of
- obtaining the diskette with the Library on it. The fee does not
- apply to registration.
-
- If you received an evaluation copy from Texas Associated Software
- for a fee of $5.00, you are not registered. The $5.00 fee you
- paid was for the convenience of obtaining the diskette with the
- Library on it. However, this $5.00 fee does apply toward your
- registration fee and you may deduct it from the $49.95 fee when
- you register.
-
- You may register your copy by filling out the registration form
- and mailing it to the address listed along with your check or
- money order for $49.95 (Texas residents add 7.25% sales tax).
-
- When you register your copy of the Library, you will receive a
- Norton Guides reference guide and the latest version of the
- Library and documentation. You will be granted a royalty free
- run-time license to use The Library in any of your applications.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 112
-
-
-
-
-
- HP LaserJet Internal Fonts
- --------------------------
-
- HP LaserJet
-
- Courier 12 point 10 cpi Portrait & Landscape
-
-
- HP LaserJet 500 / Plus
-
- Courier 12 point 10 cpi Portrait & Landscape
- Line Printer 8.5 point 16.67 cpi Portrait
-
- HP LaserJet II
-
- Courier 12 point 10 cpi Portrait & Landscape
- Courier Bold 12 point 10 cpi Portrait & Landscape
- Line Printer 8.5 point 16.67 cpi Portrait & Landscape
-
- HP LaserJet IID
-
- Courier 12 point 10 cpi Portrait & Landscape
- Courier Bold 12 point 10 cpi Portrait & Landscape
- Courier Italic 12 point 10 cpi Portrait & Landscape
-
- Courier 10 point 12 cpi Portrait & Landscape
- Courier Bold 10 point 12 cpi Portrait & Landscape
- Courier Italic 10 point 12 cpi Portrait & Landscape
-
- Line Printer 8.5 point 16.67 cpi Portrait & Landscape
-
- HP LaserJet III
-
- Courier 12 point 10 cpi Portrait & Landscape
- Courier Bold 12 point 10 cpi Portrait & Landscape
- Courier Italic 12 point 10 cpi Portrait & Landscape
-
- Courier 10 point 12 cpi Portrait & Landscape
- Courier Bold 10 point 12 cpi Portrait & Landscape
- Courier Italic 10 point 12 cpi Portrait & Landscape
-
- CG Times Scalable Portrait & Landscape
- Universal Scalable Portrait & Landscape
-
- Line Printer 8.5 point 16.67 cpi Portrait & Landscape
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 113
-
-
-
-
-
- Texas Associated Software Laser Printer Library Registration Form
-
- Please send $49.95 (Texas residents add 6.25% sales tax) check or
- money order made payable to Texas Associated Software and mail
- to:
-
- Texas Associated Software
- 523 La Cresta Drive
- Red Oak, TX 75154
- (214) 617-5260
-
- You will be supporting software distributed under the ShareWare
- concept and contributing to the further development of The Texas
- Associated Software Laser Printer Library and other ShareWare
- programs.
-
- Name ________________________________________________________
-
- Company _____________________________________________________
-
- Title _______________________________________________________
-
- Address _____________________________________________________
-
- City/State __________________________ Zip Code ______________
-
- Phone _________________________________ Ext _________________
-
- User Group __________________________________________________
-
- Where did you get your copy of the Library? _________________
-
- _____________________________________________________________
-
- Total Amount Enclosed (please check one):
-
- Non-Texas Residents:
-
- __ $49.95
-
- __ $44.95 plus copy of receipt of evaluation copy
-
-
- Texas Residents (includes 6.25% sales tax):
-
- __ $53.07
-
- __ $48.07 plus copy of receipt of evaluation copy
-
- Diskette Format: (check one) ___ 5.25" 360kb
-
- ___ 5.25" 1.2Meg
-
- ___ 3.5" 720kb
-
-
-
-
-
-
-
-
- Copyright 1991 - Texas Associated Software 114
-
-
-
-