This is a known problem in versions 7\8\9.
The problem is with the PrinterOptionInfo method, so instead of using this method :
1) Users can try putting PrinterGetInfo in the INIT method of a form, or use the following code which prints (in this example) a report called CLIENT.RSL in
landscape orientation.
var
r report
rpi reportPrintInfo
endVar
rpi.orient = PrintLandscape
; Note -- the file extension is optional
rpi.name = "CLIENT.RSL"
r.print( rpi )
Also, this routine works well for with P7 or P8 under NT and Win98.
2) There have been instances where customers have used this code and *still* have not been able to print to Landscape. Using SENDKEYS to print, solved the problem in most cases.
3) Try adding a second instance of the printer driver. Point it to the same printer using the same driver, but make it's paper type/size 8.5x11 landscape. When you
need to print to landscape paper, print to the new driver via a different pushbutton method.
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.