Post by c***@northlandcorp.comPost by c***@gmail.comHi guys! I would like to know if you have an idea on how to print a underlined word in the report section of 4gl. thanks in advance :)
Could you print a code sample please? I couldn't make it work.
Best is to have preset char variables, loaded from you custom printers table that you can use whenever necessary, i.e.:
LET bold_seq="sequence for BOLD for your printer"
( something like ascii(20),ascii(xx),ascii(zz) ) please read printer manual
LET end_bold_seq="sequence to terminate BOLD for your printer"
LET italic_seq="sequence for ITALIC for your printer"
LET end_italic_seq="sequence to terminate ITALIC for your printer"
LET underline_seq="sequence for UNDERLINE for your printer"
LET end_underline_seq="sequence to terminate UNDERLINE for your printer"
and all the change you may have to do then
PRINT bold_seq,"your strings etc...",end_bold_seq
etc...
You can fill this data in a table, one record per printer type, and load the data according to the printer type you chose.
Eric