Foros Club Delphi

Foros Club Delphi (https://www.clubdelphi.com/foros/index.php)
-   Impresión (https://www.clubdelphi.com/foros/forumdisplay.php?f=4)
-   -   Modificar PrinterSettings de QuickReport (https://www.clubdelphi.com/foros/showthread.php?t=48695)

sandiamo 02-10-2007 11:30:17

Modificar PrinterSettings de QuickReport
 
Hola como indica el titulo necesito modificar los valores de los PrinterSettings de QuickReport, he estado mirando sobre el tema pero no encentro la manera.

Código Delphi [-]
 
if N>10 then begin
    informe.PrinterSettings.PaperSize:=DMPAPER_A4;
    informe.PrinterSettings.Orientation:=poLandscape;
    informe.PrinterSettings.Width:=485;
  end;

que valor deberia asignarle Papersize y Orientation? los que puse no me sirven.

Gracias.

eduarcol 02-10-2007 12:45:08

y porq n ote sirven??

Orientacion es:

poLandscape, y poPortrait Horizontal y vertical

width es el ancho

sandiamo 02-10-2007 20:07:33

Vale ya lo he solucionado me faltaban las unidades:

Código Delphi [-]
 
uses Printers(para orientation),QrPrntr(para PaperSize)

Gracias a todos


La franja horaria es GMT +2. Ahora son las 04:02:23.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi