Re: ACE Report Question #2
Posted in 1997
Mark D. Stock (mdstock@informix.com) wrote: : Max wrote: : > : > Thanks to all who offered advice on the first round. Yes, I do know : > the : > "wrap-an-ACE-report-in-a-shell" trick and have been using it for a : > while. : > : > 2nd question - is there a way to put a page break control character : > into : > an ACE report? I think that this is ASCII 12 or ctrl-L. : Yes, try: : PRINT ASCII 12 : :-) : > I know of the SKIP TO TOP OF PAGE statement, but that works w/ the : > PAGE : > LENGTH statement in the OUTPUT section, no? : > : > Reason being is that different folks set different fonts on their : > printers. Consequently, the output trails or lags and doesn't look : > terribly neat. : > : > Thanks again on the last repsonses and thanks in advance on this one. : But that is not the solution to YOUR problem. Simple set the top of : page character in your OUTPUT section as follows: : OUTPUT : TOP OF PAGE "^L" : where the CONTROL-L is two characters; a "^" and a "L". : Hope that helps, Apologies for the delay in my followup and much thanks for your reply. I've implemented this and it works to some degree. However, from what I can tell the form feed/page break character is only inserted in the ACE report output where it reads PRINT ASCII 012 or SKIP to TOP OF PAGE where TOP OF PAGE is set to "^L". If the ouput is set to page length 50 and it hits the 50th line mark there is no page break character inserted. How would I resolve that. A big thanks in advance for all of your replies. Max pyz@panix.com : -- : Mark. : +----------------------------------------------------------+-----------+ : |Mark D. Stock - Informix SA http://www.informix.com |//////// /| : |mailto:mdstock@informix.com FAQ http://www.iiug.org |///// / //| : | +-----------------------------------+//// / ///| : | Tel: +27 11 807 0313 |If it's slow, the users complain. |/// / ////| : | Fax: +27 11 807 2594 |If it's fast, the users keep quiet.|// / /////| : |Cell: +27 83 250 2325 |Therefore, "No news: travels fast"!|/ ////////| : +----------------------+-----------------------------------+-----------+