You can use control codes to print a page at a time landscape, then reset it to portrait if need be but individual items, like rotated text, you will have to do a little more work to get.
Do a keyword search in this forum though. I know there have been some posts on using some different types of fonts with FPD.
DOS, unlike Windows, has no default printer drivers. FP DOS, provided a set of printers with their 'control characters' that you could use in the FPD's report writer. If you write your report using @SAY, or ?? ... commands, then you'll need to supply the control characters to set the report characterisics.
Since FPD was last updated in July of 1994, there aren't many 'current' printers defined. If you installed the complete FPD 2.6, then go to \GOODIES\PDRIVERS. You just need to update the P_CODES.DBF and rebuild the GENPD.APP. You'll obviously also need all the printer dependent information, which the specific printer documentation (or manufacturer) should be able to supply.
All the printers that are needed are set up to print and work fine. However I want a certain report to print in landscape. Is there a way to configure the report file to landscape format?
This works on our HP Laserjet4 printers. Your specific printer may have different codes. It forces the printer to use a smaller font, tighter line spacing and landscape orientation. (if I remember all the codes properly)
First we run the report to a file, then send the control codes to the printer then send the created file to the printer and finally reset the printer to its default mode.
Hope it helps.
report form xxx to file xxx.txt
??? chr(27)+'&l1O' && landscape
??? chr(27)+'(s0p16.67h8.5v0s0b0T'
??? chr(27)+'&l8.8D'
!type xxx.txt >prn
??? chr(27)+'E' && normal
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.