home *** CD-ROM | disk | FTP | other *** search
-
-
-
-
-
-
-
- PRODUCT : Paradox NUMBER : #478
- VERSION : All
- OS : PC DOS
- DATE : February 24, 1989 PAGE : 1/2
-
- TITLE : Changing Printer Characteristics in a Paradox Report
-
-
-
-
- Paradox's report generator does not directly support attributes,
- such as bold, underlining, or different fonts, in reports.
- However, you can manipulate the printer to change to one of these
- styles in the middle of a report. The following are two ways
- this can be accomplished.
-
- 1. When in the report generator, place a calculated field
- that holds the printer control string as well as the field
- or string that you wish to affect. For instance, to set
- compressed print for a report title, the calculated field
- might be:
-
- "\015" + "Sample Report Heading" + "\018"
- ^ ^
- | |
- Compressed On Compressed Off
-
- On an IBM Graphics printer or compatible, this string will
- print this heading in compressed print, and then change
- the print back to regular print for printing the rest of
- the report. The printer control codes are, of course,
- specific to the individual printer and should be obtained
- from the printer manual. Also, remember that a calculated
- field in Paradox has a maximum length of 48 characters
-
- 2. You can also use the PAL TYPEIN Command to change printer
- characteristics. To do this, while in the report
- generator at the point where you wish the title to begin,
- press <ALT-F10> to access the PAL menu and select
- Miniscript. Then type:
-
- TYPEIN "\015" + Sample Report Heading" + "\018"
-
- This will print the heading in the same manner as the
- first example. Keep in mind that the command line has a
- maximum length of 51 characters. Be certain to always
- restore the regular report attributes back to normal at
- the end of the string you wish to emphasize, as with the
- illustrative string, "\018".
-
- Both of these methods may change the spacing of other data on the
- line, so you'll need to insert and delete spaces as necessary.
- You should print a "trial" report to test the new attributes.
-
-
-
-
-
-
-