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
Practical Ways to Help La...
by
440bx
[
Today
at 05:24:04 am]
Why isn't Lazarus / Free ...
by
lainz
[
Today
at 05:05:45 am]
TBCFluentProgressRing bug
by
lainz
[
Today
at 04:08:23 am]
I can write your README.m...
by
GAN
[
Today
at 03:51:30 am]
Animated Oscillating Line...
by
Boleeman
[
Today
at 12:41:10 am]
3D Dot Ball
by
Gigatron
[
Today
at 12:37:46 am]
BGRAGtkBitmap
by
Fred vS
[May 15, 2025, 11:52:02 pm]
A little bug in fpsimages...
by
wp
[May 15, 2025, 11:21:50 pm]
Feature request/suggestio...
by
440bx
[May 15, 2025, 10:37:14 pm]
Lazarus Release 4.0
by
Hansvb
[May 15, 2025, 10:20:16 pm]
A problem with ptcmouse
by
TBMan
[May 15, 2025, 09:40:51 pm]
Why there is no build-in ...
by
Nimbus
[May 15, 2025, 08:50:15 pm]
Feature request/suggestio...
by
440bx
[May 15, 2025, 07:58:33 pm]
Build mode Help button do...
by
440bx
[May 15, 2025, 07:54:27 pm]
TSynCompletion failing wh...
by
Martin_fr
[May 15, 2025, 06:55:20 pm]
How to convert TStrings t...
by
Remy Lebeau
[May 15, 2025, 06:35:35 pm]
FPC 3.2.2 + NASM Windows ...
by
paule32
[May 15, 2025, 05:08:38 pm]
[SOLVED] Added components...
by
Rico54
[May 15, 2025, 03:27:20 pm]
[SOLVED] How to "Jump To"...
by
paweld
[May 15, 2025, 02:40:52 pm]
PZ_Nes emulator
by
Ñuño_Martínez
[May 15, 2025, 02:29:40 pm]
Problems with Word
by
loaded
[May 15, 2025, 02:17:56 pm]
Handle double click on a ...
by
rich2014
[May 15, 2025, 01:49:23 pm]
Selecting Memo lines drif...
by
munair
[May 15, 2025, 12:57:29 pm]
Question for people who h...
by
Lenny33
[May 15, 2025, 12:57:17 pm]
project - count source li...
by
munair
[May 15, 2025, 10:09:39 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: save PDF (Read 1856 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: 1102
..... 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.4
Lazarus 4.99 (rev main_4_99-1378-ga4855f6fa5) 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