[Lazarus] Lazreport printer

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Lazarus] Lazreport printer

Koenraad Lelong
Hi,

I have an application using lazreport. It works fine, but the users
complain about the printer-selection. Every time they start the
application, they have to select their default printer when they want to
print a report.
Is there a way to automatically select the default printer, or, better,
  to save the selected printer with the sessionproperties ?

I tried PrintToDefault or ChangePrinter with no luck.
If I add a printerdialog, the printer selected there is used in the
report, but how can I save this information ? And other printer-info
(tray, orientation, ...) maybe.

Using Lazarus 0.9.28.2, SVN rev. 22279, on Windows.

Thanks for any pointers,

Koenraad Lelong.

--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Lazreport printer

Héctor F. Fiandor Rosario
Dear Mr. Lelong:

i use LazReport too but i dont have any printer.

i have installed the distillir from Adobe and selected this as printer. When
i pick the printer button i get a .pdf file,
nice to be printed in any PC with printer installed.

i hope this can help you.

yours

Ing. Héctor F. Fiandor Rosario
[hidden email]


--

Este mensaje le ha llegado mediante el servicio de correo electronico que ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema Nacional de Salud. La persona que envia este correo asume el compromiso de usar el servicio a tales fines y cumplir con las regulaciones establecidas

Infomed: http://www.sld.cu/

--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus