Consultor Eletrônico



Kbase P17570: How to print in landscape mode via a button within a WebSpee
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   12/03/2003
Status: Unverified

GOAL:

How to print in landscape mode via a button within a WebSpeed application

FACT(s) (Environment):

WebSpeed 3.x

FIX:

This cannot be done.

The most that can be achieved via a webpage (without further components allowing access to the client-side operating system) is getting the print dialogue screen to appear and this will take the settings of the browser that is calling it. Once called, the user could then select landscape mode manually.

To invoke the print dialogue, you can use the following:

<input type="button" name="print" value="Print Page" onClick="JavaScript:window.print();">