RE: Printing Ascii Characters in 4gl program
Posted in 2000
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL
You will need to locate the manual for the printer in question to identify the actual escape sequences required then produce code similar to the following :- define P_landscape char(5), P_italicon char(5), P_italicoff char(5), P_courier char(5), P_12cpi char(6) end . . let P_italicon = ASCII 027,ASCII 040,ASCII 115,ASCII 049,ASCII 083 let P_italicoff = ASCII 027,ASCII 040,ASCII 115,ASCII 048,ASCII 083 let P_landscape = ASCII 027,ASCII 038,ASCII 108,ASCII 049,ASCII 079 let P_12cpi = ASCII 027,ASCII 040,ASCII 115,ASCII 049,ASCII 050,ASCII 072 let P_courier = ASCII 027,ASCII 040,ASCII 115,ASCII 050,ASCII 084 . . print P_courier print P_landscape print P_12cpi etc... Regards Glyn Balmer -----Original Message----- From: Hortencia Ake [mailto:hake@btl.net] Sent: 15 November 2000 21:42 To: informix-list@iiug.org Subject: Printing Ascii Characters in 4gl program hi guys anybody can help me with a situation here i need to print some ascii characters on a 4gl program to change the font of a sentence. the font is bank gothic and rage italic. if anybody knows what are the ascii characters for the fonts and what is the correct way to write it in a 4gl program thanks for the assistance ----------------------------------------------------- Click here for Free Video!! http://www.gohip.com/free_video/