PDA

View Full Version : Printing formatted characters in Dbase III


pam62
05-31-07, 07:04
Dear Friends,

Can anyone tell me how to print formatted characters (increased Font Size, Font Style, Bold, underline etc) in Dbase III ?



Thanks
Prasad

tambs
06-04-07, 16:28
One of the applications I have written requires double heigth name at the top of the printout. I do the following and it works for printing to a dot matrix printer;

this is imbeded code

??? CHR(27)+"w"+"1" && this turns on double heigth
@ 1, 70 SAY NAME
??? CHR(27)+"w"+"0" && this turns double heigth off

these codes are from the printer manual.

Tom

terrytre
09-01-07, 14:09
Dear Friends,

Can anyone tell me how to print formatted characters (increased Font Size, Font Style, Bold, underline etc) in Dbase III ?



Thanks
Prasad

Hi Orasad,
I created a ".mem" file which names the codes I wanted to use. I call it PRINTER.txt and when I want to use the printer, I just "RESTO FROM PRINTER.txt ADDI". I can then send them to printer with "Set print on" or dBase redirect "???" command like
??? "&PR12CPI"

Hope this helps