frPrintTable中纸张的打印横竖方向的属性是orientation
值是:poPortrait  和 poLandscape但是如何赋值呢!

解决方案 »

  1.   

    printer.Orienation:=poPortrait;
    Printer.Orienation:=poLandscape;
      

  2.   

    printer.Orienation:=[poPortrait];
    这样呢?
      

  3.   

    dreamfan,错误啊:
    printer.Orienation:=[poPortrait];[Error] query_around_Frm.pas(496): Undeclared identifier: 'poLandscape'
    [Error] query_around_Frm.pas(496): Incompatible types: 'TPrinterOrientation' and 'Set'
      

  4.   

    在usergh 加上包含文件,好象是printers
      

  5.   

    uses printers;code:
    printer.Orienation:=[poPortrait];