Print Buttons in New Era
Posted in 1996
Topics: Stored Procedures & SPL, Connectivity: ESQL/C, 4GL & Embedded SQL, Migration, Import/Export & Data Conversion
At our user group meeting, recently, we saw a demonstration of a 4gl to New Era migration utility. Diskettes of a version were distributed to attendees. The diskettes also contained some sample code. One of the samples is a print button which brings up a screen to allow the user to select the printer, enter a print range, print to file, etc. The button doesn't actually do anything with the choices except display a screenful of the resulting data. Now, what I need is an object to send this stuff to to print my New Era reports (non-View Point Pro). I'd posted a couple of months ago that I was unable to send a report to a printer AND include ASCII strings in the report. If I send such a report to a file, the file looks perfect. When I send the report to the printer, the ASCII strings are printed as literal characters. We've been using these reports, in 4gl, for several years and we would like to continue to use them with our New Era version. Until this problem is solved, the New Era version sits on the shelf and as embarrassing as it may sound, I'm experimenting with Access to handle at least part of this application. So, if anyone can tell me how to use a "START REPORT ... TO PRINTER" statement (or even to pipe) and have the printer treat the ASCII strings as control strings rather that as literals, please let me know. Scott H.