Club Delphi  
    Paypal   FTP   CCD     Buscar   Trucos   Trabajo   Foros

Retroceder   Foros Club Delphi > Principal > Impresión
Registrarse FAQ Miembros Calendario Guía de estilo Temas de Hoy

 
 
Herramientas Buscar en Tema Desplegado
  #2  
Antiguo 14-05-2003
__cadetill __cadetill is offline
Miembro
 
Registrado: may 2003
Posts: 3.387
Poder: 27
__cadetill Va por buen camino
Hola

pues acabo de hacer esta prueba y me ha funcionado

Código:
 
procedure TForm1.Button1Click(Sender: TObject);
begin
     Printer.BeginDoc; // INICIO UN NUEVO DOCUMENTO
     With Printer.canvas do //CON EL OBJETO PRINTER.CANVAS HAGO LO SIGUIENTE
      Begin
           //TITULO QUE APARECE EN LA COLA DE IMPRESION
           Printer.Title := 'El titulo del documento que quiero'; 
           Font.Name := 'MS Sans Serif'; //ASIGNO UN TIPO DE LETRA
           Font.Color := ClBlack; //LE ASIGNO UN COLOR A LA LETRA
           Pen.Color := ClBlack; //COLOR DE LA LINE DE LOS RECUADROS
           Font.Size := 12; //TAMAÑO DE LA LETRA
           Font.Name := 'Times New Roman';
           Font.Size := 12;

           PlannerCalendarGroup1.PaintTo(printer.Canvas, 10, 10);

           // imprimimos ListView
      end;
     Printer.EndDoc;
end;
Solo que he tenido un pequeño problema, me ha salido mu pequeñito. Tampoco lo he probado mucho, pero a ver si te sirve

Última edición por __cadetill fecha: 14-05-2003 a las 16:44:56.
Responder Con Cita
 



Normas de Publicación
no Puedes crear nuevos temas
no Puedes responder a temas
no Puedes adjuntar archivos
no Puedes editar tus mensajes

El código vB está habilitado
Las caritas están habilitado
Código [IMG] está habilitado
Código HTML está deshabilitado
Saltar a Foro


La franja horaria es GMT +2. Ahora son las 20:13:58.


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
Copyright 1996-2007 Club Delphi