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
Duplicate identifier erro...
by
koch
[
Today
at 02:52:39 pm]
Frustrating Error When us...
by
TYDQ
[
Today
at 02:50:02 pm]
Status of FPC 3.4.0 or FP...
by
BeniBela
[
Today
at 02:40:40 pm]
We are starting to use La...
by
marcov
[
Today
at 02:33:56 pm]
[AGGPas] Difference betwe...
by
wp
[
Today
at 02:15:23 pm]
Duplicated icon in the Wi...
by
dseligo
[
Today
at 01:52:05 pm]
[AGGPas] Usage of scale m...
by
Roland57
[
Today
at 11:33:08 am]
makefiles
by
valdir.marcos
[
Today
at 11:24:17 am]
ThorVG - test (lightweigh...
by
valdir.marcos
[
Today
at 11:19:41 am]
Problems in drawing an ar...
by
valdir.marcos
[
Today
at 11:18:39 am]
AI to port DBDesigner For...
by
Graeme
[
Today
at 10:26:15 am]
Select rectangle of the i...
by
valdir.marcos
[
Today
at 10:01:09 am]
DCPcrypt v2.0.6 — Cryptog...
by
valdir.marcos
[
Today
at 09:55:55 am]
[SOLVED] Lazarus recompil...
by
valdir.marcos
[
Today
at 09:53:34 am]
How to determine the unkn...
by
Roland57
[
Today
at 09:43:27 am]
Delphi Magazine issues 1-...
by
LeP
[
Today
at 09:17:41 am]
The Future of FPC
by
marcov
[
Today
at 09:05:14 am]
Does not go out of functi...
by
440bx
[
Today
at 08:49:08 am]
Questions from a Windows ...
by
Boleeman
[
Today
at 08:28:58 am]
Reporting a Bug? in Strin...
by
Zvoni
[
Today
at 08:26:17 am]
[Solved] Help needed comp...
by
Zvoni
[
Today
at 08:08:04 am]
LazSerial not found
by
CM630
[
Today
at 07:53:48 am]
; after then
by
valdir.marcos
[
Today
at 07:49:22 am]
CPU-View
by
valdir.marcos
[
Today
at 06:45:25 am]
Reflection and Review in ...
by
valdir.marcos
[
Today
at 06:32:24 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: save PDF (Read 2170 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