Wordwrap in ACE
Posted in 1994
Topics: General Discussion
I would greatly appreciate advice from any source on the following problem with the WORDWRAP feature in ACE. The problem is that we successfully use landscape format for some of our reports, by specifying REPORT TO PIPE "lp -dprinter -o -z1", but no matter what value I specify for the right margin in the OUTPUT section, and no matter what I specify for the right margin in the format section ("print column 150, ldesc WORDWRAP RIGHT MARGIN 185"), I get the following error message: "The specified WORDWRAP RIGHT MARGIN value is out of range. It must be greater than or equal to the current column and less than or equal to the report's right." With a piece of A4 paper, printed in landscape, one has 185 printable columns. In the OUTPUT section we call for 185 lines, and in the format section, I ALWAYS get that error unless I set the right margin less than 127 columns, and adjust the report accordingly so that the current column at the time of formatting is < 127. According to Jonathan Leffler's book, "Using INFORMIX-Sql", page 147-8, "the only time in a formatted report that the value of the RIGHT MARGIN is significant" is when one uses the WORDWRAP command. I need to find out why the computer refuses to acknowledge my RIGHT MARGIN specification in the OUTPUT section as a legitimate right margin. Thanks in advance for any help. Please respond to : -- Bryan R. Brewer @ Sandoz Ringaskiddy LTD in Ringaskiddy, Cork, Ireland INTERNET: brb@sandoz.ueci.com VOICE: 011-35321-378601 FAX: 011-35321378660 011-35321-378124 ext. 2117