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
New Big Integer library i...
by
ad1mt
[
Today
at 05:32:14 pm]
Question about package lo...
by
jamie
[
Today
at 05:26:04 pm]
Fast Canvas Library V1.05...
by
Thausand
[
Today
at 05:25:14 pm]
Star Wars Galaxian
by
Thausand
[
Today
at 04:47:51 pm]
Bug: XLSX writer does not...
by
paweld
[
Today
at 02:40:50 pm]
Automatic generation of *...
by
PeterBB
[
Today
at 01:38:51 pm]
Finding List of Fonts & P...
by
J-G
[
Today
at 01:22:49 pm]
TyControls: a custom-draw...
by
Antek
[
Today
at 12:07:39 pm]
PO-Editor MyLangEdit3 now...
by
dbannon
[
Today
at 07:55:47 am]
Application triggers mess...
by
JanRoza
[
Today
at 12:26:52 am]
[solved] form reset/reloa...
by
ADMGNS
[August 08, 2026, 09:58:42 pm]
Create small language
by
ADMGNS
[August 08, 2026, 09:52:19 pm]
Advatage Database server
by
neobrasil08
[August 08, 2026, 08:42:18 pm]
QGradientTrackPanel: A Fu...
by
Ed78z
[August 08, 2026, 07:22:09 pm]
How get listy of FieldDat...
by
Aruna
[August 08, 2026, 04:02:16 pm]
Identify network devices
by
LemonParty
[August 08, 2026, 03:44:03 pm]
how to connect to mariadb...
by
Mike.Cornflake
[August 08, 2026, 12:25:31 pm]
New charts
by
Boleeman
[August 08, 2026, 11:24:34 am]
Unleashed Pascal (async/a...
by
Fibonacci
[August 08, 2026, 08:11:20 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: save PDF (Read 2298 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: 1116
..... 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 Tahoe 26.2
Lazarus 4.99 (rev main_4_99-3149-g7867f6275c) 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