RE: 4gl text reports
"Paulo Sergio" <[email protected]>
| Newsgroups | gmane.comp.lang.4gl.fourjs.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, We include PCL codes in reports (like ESC&k2G for cr/nl or ESC(s10H for font size) Its important to include a ascii(12) in the end of page trailer to eject the page. Also, bottom margin and top margin must be in zero (0) so that no extra lines are included in the begining of the next page header. One way I like to make text reports is by generating report with ".html" extension and incuding the portions of text to compose a correct page ... at the finish report, the map is copied to front-end using rcp and invoked Internet Explorer to view and print. Its fairly easy to include conditional images (we have a front-end folder with all the needed gifs and JPGs), color and whatever you can include in a html page. Printing is done localy by IE using the windows driver ... really, the best way I can think of a free budget method of creating fourjs BDL reports... My 2 cents Regards Paulo Abreu ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of Kim Jones Sent: terça-feira, 21 de Junho de 2005 17:47 To: [email protected] Subject: RE: [fourjs-users] 4gl text reports We set up raw printers and include pcl codes in the report output, "ESC&k3G" to map <cr> to <cr><nl> has been most important. ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of June NEBAB Sent: Tuesday, June 21, 2005 10:34 AM To: [email protected] Subject: [fourjs-users] 4gl text reports We are having pagination issues with all of our 4GL reports. The reports are all in text format. The global output format of all our report is: top margin 2 bottom margin 2 page length 66 left margin 0 The headings on our reports drops down a few lines after every page. I use the CUPS recommended printer driver "postscript" for our HP Laserjet printers. I tried setting different lpi's (6, 7, 8 etc) but it didn't work. The margins are currently set at (cpi) top 54 bott 57 left 24 right 24. We were previously on SCO and we used the HP PCL5 "model script" it came with (/usr/spool/lp/model/HPLaserJet). Info: cups-1.1.17-13.3.27 cups-libs-1.1.17-13.3.27 Has anyone had this problem? Any suggestions is appreciated.