GerryGoldberg
Technical User
- Apr 12, 2001
- 55
I have just converted from Paradox 7 to Paradox 9 without much problem. However, I have one report that was fine in v7 that now prints sometimes in portrait and sometimes in landscape. The report is defined as portrait, as is the printer. The code I use to print is:
var
rpi reportPrinterInfo
r report
poi printerOptionInfo
endVar
rpi.name = rName ; report name
rpi.orient = rOrient ; prnPortrait
rpi.masterTable = rTable ; "riv:answer.db"
poi.orientation = rOrient ; prnPortrait
printerSetOptions(poi,true)
r.print(rpi)
Any clues here?
Thanks,
Gerry Goldberg
var
rpi reportPrinterInfo
r report
poi printerOptionInfo
endVar
rpi.name = rName ; report name
rpi.orient = rOrient ; prnPortrait
rpi.masterTable = rTable ; "riv:answer.db"
poi.orientation = rOrient ; prnPortrait
printerSetOptions(poi,true)
r.print(rpi)
Any clues here?
Thanks,
Gerry Goldberg