RobertB
12th August 2002, 12:15
This is one for the printing gurus out there...
I have written several reports (Baan5.0c) where it would be nice to have the occasional field printed in some other font (italic, bold, reversed, whatever) based on some condition.
So, for instance, there might be twelve fields across the page within a detail section each representing monthly earnings and, if the value is, say, negative, the field should be printed bold.
I'm aware of the Baan Windows Printing functions cf$ (to set font), pf$ (set printer font), pp$ (to send an escape sequence to the printer), but I'm thinking I can only use these with a spool.pr.line of my own making, and not with that which is created "on-the-fly" by the Report generator as it is actually printing.
If I do create my own spool.pr.line variable and send it to the spooler with spool.line(), the pagination of the report goes "out of synch".
So, is it possible somehow to trap the automatically-generated report line and insert the required control-codes or BWP functions or is there a much easier solution I've overlooked?
Puzzled,
RobertB
I have written several reports (Baan5.0c) where it would be nice to have the occasional field printed in some other font (italic, bold, reversed, whatever) based on some condition.
So, for instance, there might be twelve fields across the page within a detail section each representing monthly earnings and, if the value is, say, negative, the field should be printed bold.
I'm aware of the Baan Windows Printing functions cf$ (to set font), pf$ (set printer font), pp$ (to send an escape sequence to the printer), but I'm thinking I can only use these with a spool.pr.line of my own making, and not with that which is created "on-the-fly" by the Report generator as it is actually printing.
If I do create my own spool.pr.line variable and send it to the spooler with spool.line(), the pagination of the report goes "out of synch".
So, is it possible somehow to trap the automatically-generated report line and insert the required control-codes or BWP functions or is there a much easier solution I've overlooked?
Puzzled,
RobertB