Re: First Time Informix User
Posted in 1993
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL
alan@effluvia.den.mmc.com (Alan Popiel) writes: >Debashis Dutta (ddutta@tiguex.cs.unm.edu) writes: >->I have just started using informix and still trying to get some ideas about >->how strong a DBMS package it is. I am having some problems in printing Ace >->reports......well all I want to do is to have various font size options >->built within the report. That is to say, someone who wants Courier 10 cpi bold >->format to print out the header of the report, how will he do that or say I >->want to use the compressed printing mode of the hp laserjet III printer..... >->now I can change the font setting of the printer manually and then send the >->job for printing....but can I built this within the report itself. > >I don't use Ace, so I don't know how to do what you ask in Ace. HOWEVER, >it is really pretty easy to do what you ask in the 4GL report writer, which >is similar to, but more powerful than, the stand-alone ACE report writer. >Maybe you can do the same thing in Ace. >When using the 4GL report writer, you can output your control codes by using >a PRINT statement. However, the 4GL compiler will not let you print certain >control codes as constants, since it recognizes that they are special, and it >calls them "unprintable" or "non-printing" characters (I forget the exact >wording of the error message). >DEFINE code_on CHAR(3), > code_off CHAR(3) >LET code_on = ASCII 27, "W", ASCII 1 { example Epson print codes } >LET code_off = ASCII 27, "W", ASCII 0 >PRINT code_on, rest_of_data, code_off I have used Ace, and the exact same syntax above should work in an ace report. -- Adam Andrews "When the going gets weird, we get even weirder." uunet!rexago8!aa or aa@rexago8.UUCP e-mail only to aa@summitis.com