HP Data Entry and Forms Management System (VPLUS) Reference Manual (32209-90024)
Appendix L 679
A Programmer’s Guide to VPLUS
VPRINTSCREEN Intrinsic
The Environment Files
• Native Language support is NOT available for VPRINTSCREEN. To print a screen in
another language, a LOCALIZED environment file must map to the following fonts:
c = full bright
g = half bright inverse video
d = normal l = line draw
m = math
• There is no distinction between fullbright and halfbright provided with the current
environment files. However, the code is set up to distinguish between them. (See the
above fonts). Currently, the fontids “c” and “g” map to the same font in the VSETUP file.
• Screen images cannot be scaled. In other words, fonts are provided in one size only. A
“scaled font” environment file which maps to the same fonts above, would need to be
created.
• Sample files are provided. They can be modified or the user can create their own using
the font ids defined above.
Use of TDP
• The maximum TDP record size is 168 characters. A single line of a display screen can
contain multiple escape sequences, and easily exceed this limit (e.g., line draw, full
bright, many single character fields). If this limit is exceeded, the line may be
truncated.
• TDP Macros ‘5’ through ‘9’ are used to alleviate this truncation, but some screens are
complicated enough to reach this limit anyway. If you use your own macros 5-9 (other
than as temporary macros), some inconsistencies may exist when merging text and
screens.
• TDP may indicate errors have occurred, when in fact, there are no errors. The most
common messages are: “Unrecognizable command” and “x Characters have been
truncated”.
Viewing the VPRINTSCREEN Demo
The new VPLUS intrinsic, VPRINTSCREEN, can be demonstrated with the program
VPRTDEMO. You can simply run VPRTDEMO and specify a forms file name. The application
will present the forms in alphabetical order and call the VPRINTSCREEN intrinsic when the
user selects the
PRINT function key, F3. At the beginning of execution, the user will have
the option to automatically print all forms in the forms file.
Several sample and demo files have been supplied as examples for the user. They are
contained on the installation tape in the HPPL89 account and HP32209 group. They
should be restored to a local group and account. Some name modifications may be
necessary (see below).
VENV80 This is the environment file required for printing to the HP2680 printer.
VENV88 This is the environment file required for printing to the HP2688 printer.