Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Packages and Libraries
»
LazReport
»
save PDF
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Dumb Problems Contest!
by
Bart
[
Today
at 11:08:05 pm]
Wikipedia pollution
by
Kays
[
Today
at 09:15:50 pm]
How to register a windows...
by
rca
[
Today
at 08:42:34 pm]
Corrupted strings
by
Aruna
[
Today
at 08:25:44 pm]
Convert string with Key-V...
by
Bart
[
Today
at 08:07:00 pm]
$ifdef highlighting
by
Thaddy
[
Today
at 07:26:54 pm]
Lazarus Trunc & macOS Tah...
by
Thaddy
[
Today
at 05:00:57 pm]
"F2": possible bug in IDE...
by
WooBean
[
Today
at 04:14:47 pm]
Please ask about the valu...
by
dseligo
[
Today
at 03:34:20 pm]
Need help converting a C+...
by
jamie
[
Today
at 03:18:52 pm]
TurboBird IBX
by
maurog
[
Today
at 02:56:32 pm]
Problem with TSQLQuery
by
sch61
[
Today
at 02:53:10 pm]
append new record to arra...
by
Warfley
[
Today
at 02:28:36 pm]
Lazarus broke my project
by
LatinoDaddy
[
Today
at 02:21:02 pm]
How to use nested classes
by
Thaddy
[
Today
at 02:03:44 pm]
Publish a LAMW app in F-d...
by
Joris
[
Today
at 01:49:23 pm]
Help with a TPages and TA...
by
AlexTP
[
Today
at 12:01:24 pm]
randomrange
by
BubikolRamios
[
Today
at 10:36:19 am]
Synedit wordwrap
by
Martin_fr
[
Today
at 09:42:04 am]
How to load read large CS...
by
Xenno
[
Today
at 05:43:10 am]
Uno, working demo (comput...
by
TBMan
[
Today
at 04:18:51 am]
[solved] fishing problem ...
by
speter
[
Today
at 03:36:39 am]
problen updating lazarus ...
by
LatinoDaddy
[
Today
at 02:48:20 am]
Need help with compiling ...
by
dbannon
[
Today
at 01:02:16 am]
Hints in TTrayIcon
by
dbannon
[
Today
at 12:44:28 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: save PDF (Read 2114 times)
Santia70
New Member
Posts: 12
save PDF
«
on:
January 21, 2024, 05:20:20 pm »
I have opened an old project to see some things and I realized that now I cannot save the reports made in Lazreport with the option to save with PDF format, with frp and txt format if it works well.
With PDF I get an error window (Accsess violation)
Any ideas what to see
Logged
madref
Hero Member
Posts: 1113
..... A day not Laughed is a day wasted !!
Re: save PDF
«
Reply #1 on:
January 23, 2024, 01:12:27 am »
you could try the following:
Code: Pascal
[Select]
[+]
[-]
uses
lr_e_pdf
;
// this has to be a form
frReport_Evaluatie
:
TfrReport
;
// in the code:
frReport_Evaluatie
.
ExportTo
(
TFrTNPDFExportFilter
,
YourFileName
+
'.pdf'
)
Logged
You treat a disease, you win, you lose.
You treat a person and I guarantee you, you win, no matter the outcome.
Main Platform:
--------------
Mac OS X Sequoaia 15.6.1
Lazarus 4.99 (rev main_4_99-2644-gfd63613782) FPC 3.3.1 x86_64-darwin-cocoa
Windows 10 Pro
Lazarus 3.99 (rev cbfd80ce39)
Santia70
New Member
Posts: 12
Re: save PDF
«
Reply #2 on:
January 23, 2024, 09:15:54 am »
Thanks, I already solved it, at that time I used another package that gave me an error now, after changing to the one you told me about, everything is fine
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Packages and Libraries
»
LazReport
»
save PDF
TinyPortal
© 2005-2018