Consultor Eletrônico



Kbase 15682: OSPRINT does print in Landscape mode with 8.1 and higher
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   23/04/1999
OSPRINT does print in Landscape mode with 8.1 and higher


In Progress Versions 8.0 and earlier there was no way to pass a
parameter to osprint to make it print in Landscape mode.
Programmers needed to pass the parameter to bring up the
print-dialog and have their users manually select Landscape mode
each time a report was printed using _osprint.p.

In Progress Versions 8.1 and higher, the useDialog parameter to
osprint was changed to PrintFlags and has the following options:

0 - the Microsoft Windows print dialog is not displayed to the user
1 - the MSW print dialog is displayed to the user
2 - the dialog is not displayed and the print orientation is set to
print landscape
3 - the MSW print dialog is displayed to the user and landscape has
been set as the print orientation

In earlier versions of Progress, useDialog only had options 0 (do not
display print dialog) and 1 (display print dialog).

Progress Software Technical Support Note # 15682