Landscape printing directly under Windows

Ladies and Gentlemen,

I have used cobconfig.cfg Environment Variable and the output was just OK in a A4 style sheet.

But now I have got to print a report in the landscape style.

Any hints and tips.

Thanks a lot in advance.

Cheers.

Rui Natal

Parents
  • Can you please provide some more detail as to how you are printing and whether this is managed code or native code?

    You can look at some of the Printer Library routines in the docs here:

    Routines that let you set orientation include:

    PC_PRINT_FILE
    PC_PRINTER_OPEN
    PC_PRINTER_DEFAULT_PROPERTIES

    You can change the current default printer using PC_PRINTER_DEFAULT_NAME.

    Thanks.

Reply
  • Can you please provide some more detail as to how you are printing and whether this is managed code or native code?

    You can look at some of the Printer Library routines in the docs here:

    Routines that let you set orientation include:

    PC_PRINT_FILE
    PC_PRINTER_OPEN
    PC_PRINTER_DEFAULT_PROPERTIES

    You can change the current default printer using PC_PRINTER_DEFAULT_NAME.

    Thanks.

Children
No Data