home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / database / informix / 3034 < prev    next >
Encoding:
Text File  |  1993-01-22  |  2.1 KB  |  45 lines

  1. Newsgroups: comp.databases.informix
  2. Path: sparky!uunet!rexago8!aa
  3. From: aa@rexago8.uucp (Adam Andrews)
  4. Subject: Re: First Time Informix User
  5. Message-ID: <1993Jan22.152124.27406@rexago8.uucp>
  6. Organization: Summit Information Systems
  7. References: <1jnghpINNd6v@emory.mathcs.emory.edu>
  8. Date: Fri, 22 Jan 1993 15:21:24 GMT
  9. Lines: 34
  10.  
  11. alan@effluvia.den.mmc.com (Alan Popiel) writes:
  12. >Debashis Dutta (ddutta@tiguex.cs.unm.edu) writes:
  13. >->I have just started using informix and still trying to get some ideas about
  14. >->how strong a DBMS package it is. I am having some problems in printing Ace
  15. >->reports......well all I want to do is to have various font size options 
  16. >->built within the report. That is to say, someone who wants Courier 10 cpi bold
  17. >->format to print out the header of the report, how will he do that or say I
  18. >->want to use the compressed printing mode of the hp laserjet III printer.....
  19. >->now I can change the font setting of the printer manually and then send the
  20. >->job for printing....but can I built this within the report itself.
  21. >
  22. >I don't use Ace, so I don't know how to do what you ask in Ace.   HOWEVER,
  23. >it is really pretty easy to do what you ask in the 4GL report writer, which 
  24. >is similar to, but more powerful than, the stand-alone ACE report writer.  
  25. >Maybe you can do the same thing in Ace.
  26.  
  27. >When using the 4GL report writer, you can output your control codes by using 
  28. >a PRINT statement.  However, the 4GL compiler will not let you print certain 
  29. >control codes as constants, since it recognizes that they are special, and it 
  30. >calls them "unprintable" or "non-printing" characters (I forget the exact 
  31. >wording of the error message).
  32.  
  33. >DEFINE    code_on     CHAR(3),
  34. >    code_off CHAR(3)
  35.  
  36. >LET code_on  = ASCII 27, "W", ASCII 1    { example Epson print codes }
  37. >LET code_off = ASCII 27, "W", ASCII 0
  38. >PRINT code_on, rest_of_data, code_off
  39.  
  40. I have used Ace, and the exact same syntax above should work in an ace report.
  41.  
  42. -- 
  43. Adam Andrews                "When the going gets weird, we get even weirder."
  44. uunet!rexago8!aa or aa@rexago8.UUCP       e-mail only to aa@summitis.com
  45.