In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

Printing document pages with different orientation

Xailer professional forum in English
g.s.rogers
Mensajes: 202
Registrado: Dom Feb 17, 2008 3:35 am

Printing document pages with different orientation

Mensaje por g.s.rogers »

I have used the following to construct pages to print:
Printer:StartDoc()
Printer:nPaperSizeType := DMPAPER_LEGAL // must be set before
Printer:StartPage()
Printer:nOrientation := DMORIENT_PORTRAIT // must be set before
Printer:StartPage()
Printer:StartPage()
:TextOut(...... etc.
Printer:EndPage()
Printer:nPaperSizeType := DMPAPER_LEGAL // must be set before
Printer:StartPage()
Printer:nOrientation := DMORIENT_LANDSCAPE // must be set before
Printer:StartPage()
Printer:StartPage()
:TextOut(..... etc.
:Printer:EndPage()
:Printer:EndDoc()
:Printer:Preview()
The preview shows the correct orientation for each page in the document,
however, when I choose to print from the preview window, the first page
prints in Portrait orientation, just like the second page is set to print.
How can I get each page of the document to print in the correct orientation?
TIA,
Gary S. Rogers
Responder