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
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
[Solved] Debug a plugin D...
by
d7_2_laz
[
Today
at 05:27:48 pm]
SAVE StringGrid to PDF
by
seghele0
[
Today
at 05:19:19 pm]
What is the history of di...
by
MarkMLl
[
Today
at 05:17:08 pm]
Classic objects — does FP...
by
Thaddy
[
Today
at 05:15:51 pm]
Who catches the Linux sig...
by
MarkMLl
[
Today
at 04:43:45 pm]
Unwanted additional line ...
by
cdbc
[
Today
at 04:32:57 pm]
TvsComPort on MacOS Sierr...
by
Dzandaa
[
Today
at 04:23:21 pm]
Starting a program with h...
by
Hartmut
[
Today
at 04:07:52 pm]
Adding interfaces to any ...
by
Warfley
[
Today
at 03:48:44 pm]
Animated GIF's and Lazaru...
by
lainz
[
Today
at 03:11:11 pm]
[SOLVED] TRichMemo and te...
by
MarkMLl
[
Today
at 01:56:57 pm]
How to display empty stri...
by
krzynio
[
Today
at 01:55:38 pm]
crash db navigator with L...
by
calm_sea
[
Today
at 01:45:38 pm]
Interesting article about...
by
440bx
[
Today
at 01:14:25 pm]
Common File Dialogs Have ...
by
zeljko
[
Today
at 01:05:36 pm]
Dymo label writers
by
MarkMLl
[
Today
at 11:25:25 am]
Application deployment
by
Warfley
[
Today
at 10:30:39 am]
Bug in string concatenati...
by
Remy Lebeau
[
Today
at 06:33:49 am]
Any support for Perpendic...
by
SandyG
[
Today
at 05:34:10 am]
uMain.pas(150,29) Error: ...
by
dseligo
[
Today
at 01:53:00 am]
fphttpclient https/tls on...
by
fireboxsoft
[
Today
at 12:38:12 am]
The Silver Coder on YouTu...
by
silvercoder70
[December 12, 2024, 11:42:06 pm]
[Solved] Crosshair error ...
by
wp
[December 12, 2024, 10:45:16 pm]
Datatypes Interoperabilit...
by
BSaidus
[December 12, 2024, 09:36:52 pm]
Component Installation
by
msch
[December 12, 2024, 09:31:43 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: save PDF (Read 1595 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: 1082
..... 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 Sonoma 14.7
Lazarus 3.99 (Lazarus 3.99 (rev main_3_99-2668-g6b352d830e) 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