Re: Printer control characters in Informix Report
Posted in 1994
sinues@prcd.prc.mrms.navy.mil (John Sinues) writes: >RE: Printer control characters in Informix-4GL Report Writer >Can you embed printer control characters in an Informix-4GL >report program? I want to send my output to an HP printer, >but I want it to have lines (both horizontal and vertical) >to pretty up the report. Has this been done before? The short answer is that is can be done; the long answer is that it takes some patience. PRINT ASCII 027 will print an escape, so if you want to imbedd ESC&(6, you would: PRINT ASCII 027, "&(6)" You have to play around with top and bottom margins, page length, etc, to make sure that pages break the way you want and other details. ======================================================================= Dennis J. Pimple dennisp@informix.com Opinions expressed Senior Consultant -------------------- are mine, and do not Informix Software Inc Voice: 303-850-0210 necessarily reflect Denver Colorado USA Fax: 303-779-4025 those of my employer. >-- >============================================================================ > _/_/_/_/ _/_/_/_/ _/_/_/_/ John C. Sinues > _/ _/ _/ _/ _/ > _/ _/ _/ _/ _/ Inc. > _/_/_/_/ _/_/_/_/ _/ eMail: sinues@prcd.prc.mrms.navy.mil > _/ _/ _/ _/ Phone: (804) 498-5666 >_/ _/ _/ _/_/_/_/ Fax: (804) 498-5670 > ======================================= > | "...life is robust and meant to be > | lived, joyfully...but not perfectly- > | except by accident." >============================================================================