[Lazarus-es] lazreport e impresora

christian Ortiz xortix en gmail.com
Mie Ene 27 18:32:41 CET 2010


funciono a la perfeccion, gracias ...

2010/1/27 Javier Villarroya <javivf.dev en gmail.com>

>  El 27/01/2010 17:29, christian Ortiz escribió:
>
> Saludos
>
>
> Buenas
>
>
> alguen sabe como puedo pasarle por parametro la impresora al frreport???
>
> lo que deseo hacer es:
>
>    1. siempre que imprima por la impresora por defecto (NO HAY PROBLEMA
>    ACA MANDO A IMPRIMIR DIRECTAMENTE)
>    2. en otro boton si selecciona otra impresora, que empiece a imprimir
>    por ella (SIN CAMBIAR LA IMPRESORA POR DEFECTO, ES DECIR AL REINICIAR EL
>    SISTEMA SEGUIRIA IMPRIMIENTO POR LA IMPRESORA POR DEFECTO)
>
>
>
> function CambiarConfiguracionImpresora: boolean;
> var
>   PSD: TPrinterSetupDialog;
> begin
>   PSD := TPrinterSetupDialog.Create(MiForm);
>   Result := False;
>   if PSD.Execute then
>     Result := True;
>   PSD.Free;
> end;
>
> Yo uso esta función aunque estoy ansioso por ver mas opciones :)
>
>
> --
> Christian
>
>
> _______________________________________________
> Lazarus-es mailing listLazarus-es en lists.lazarus.freepascal.orghttp://lists.lazarus.freepascal.org/mailman/listinfo/lazarus-es
>
>
>
> _______________________________________________
> Lazarus-es mailing list
> Lazarus-es en lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus-es
>
>


-- 
Christian
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus-es/attachments/20100127/fde4b05e/attachment-0002.html>


More information about the Lazarus-es mailing list