Installation FastReport PDF
Installation FastReport PDF
Installation FastReport PDF
F-XC A N GE F-XC A N GE
PD PD
!
W
W
O
O
N
N
y
y
bu
bu
to
to
k
k
lic
lic
C
C
w
w
m
m
w w
w
w
o
o
.d o .c .d o .c
c u-tr a c k c u-tr a c k
1. Run the installer. First we will see the welcome window. Click Next to continue
the installation.
2. In the second step, we are invited to read the license terms. If you agree to these
terms, tick the ‘I accept the terms of the license agreement’box and click the
H H
F-XC A N GE F-XC A N GE
PD PD
!
W
W
O
O
N
N
y
y
bu
bu
to
to
k
k
lic
lic
C
C
w
w
m
m
w w
w
w
o
o
.d o .c .d o .c
c u-tr a c k c u-tr a c k
Next button.
3. In the third step, you can familiarize yourself with important information about
the FastReport VCL 6 product.
H H
F-XC A N GE F-XC A N GE
PD PD
!
W
W
O
O
N
N
y
y
bu
bu
to
to
k
k
lic
lic
C
C
w
w
m
m
w w
w
w
o
o
.d o .c .d o .c
c u-tr a c k c u-tr a c k
5. The first type allows you to install all program components by default, and the
second one - select the necessary ones:
H H
F-XC A N GE F-XC A N GE
PD PD
!
W
W
O
O
N
N
y
y
bu
bu
to
to
k
k
lic
lic
C
C
w
w
m
m
w w
w
w
o
o
.d o .c .d o .c
c u-tr a c k c u-tr a c k
6. Select the folder on the local disk where you want the program to be installed:
7. Then, you can specify the name of the directory in which the launch shortcuts
will be located. You also need to choose for which users the program is
supposed to be installed. Either for one, current user, or for all.
8. The next step is the last opportunity to think about whether you set all the
installation settings correctly. If you are sure of the previous settings, click Next.
H H
F-XC A N GE F-XC A N GE
PD PD
!
W
W
O
O
N
N
y
y
bu
bu
to
to
k
k
lic
lic
C
C
w
w
m
m
w w
w
w
o
o
.d o .c .d o .c
c u-tr a c k c u-tr a c k
!
W
W
O
O
N
N
y
y
bu
bu
to
to
k
k
lic
lic
C
C
w
w
m
m
w w
w
w
o
o
.d o .c .d o .c
c u-tr a c k c u-tr a c k
11. Immediately after the installation is completed, a utility will be launched, which
will allow compiling the FastReport libraries to the required Delphi version:
You can refuse to compile by clicking the Exit button, or accept using the Continue
button:
H H
F-XC A N GE F-XC A N GE
PD PD
!
W
W
O
O
N
N
y
y
bu
bu
to
to
k
k
lic
lic
C
C
w
w
m
m
w w
w
w
o
o
.d o .c .d o .c
c u-tr a c k c u-tr a c k
The compilation wizard allows you to set a lot of parameters: compiler, FastReport
version, TeeChart charts component, change actions. By default, the FastReport
libraries are already compiled, and this utility simply prompts you to compile them with
your own settings.
H H
F-XC A N GE F-XC A N GE
PD PD
!
W
W
O
O
N
N
y
y
bu
bu
to
to
k
k
lic
lic
C
C
w
w
m
m
w w
w
w
o
o
.d o .c .d o .c
c u-tr a c k c u-tr a c k
H H
F-XC A N GE F-XC A N GE
PD PD
!
W
W
O
O
N
N
y
y
bu
bu
to
to
k
k
lic
lic
C
C
w
w
m
m
w w
w
w
o
o
.d o .c .d o .c
c u-tr a c k c u-tr a c k
Double-click on TfrxReport, enter FR Designer. Create a new report (File -> New
report). Add TfrxMemoView with the text “Test text” to MasterData1.
H H
F-XC A N GE F-XC A N GE
PD PD
!
W
W
O
O
N
N
y
y
bu
bu
to
to
k
k
lic
lic
C
C
w
w
m
m
w w
w
w
o
o
.d o .c .d o .c
c u-tr a c k c u-tr a c k
Set MasterData1.RowCount = 200 (to repeat the line 200 times and generate a 3-4-
page report, since our example does not use the dataset), exit the designer and write the
OnClick handler for Button1:
1 procedure TForm1.Button1Click(Sender: TObject);
2 begin
3 {Generate a report. The report must be generated before exporting}
4 if frxReport1.PrepareReport then
5 frxReport1.ShowPreparedReport;
6 {and show preview window}
7 end;
In fact, this code is enough for comprehensive work, generating a report and exporting
to PDF. Now create a document of any complexity in Design time (you can connect any
data sources and take the information from there) –tables, lists, illustrations, maps, QR
codes –for this make sure to add the appropriate components to the project first
(otherwise they will not exist in Run time), composite and multi-page documents with
anchors, inline links and a table of contents –anything you need and any size –a one-
page receipt, a one-page catalog, an annual report of factory staff movements on
thousands of pages.
And don’t forget to put the PDF export component to our project! Launch and click on
the only button on the form.
We can see the preview window and the export to PDF button.
!
W
W
O
O
N
N
y
y
bu
bu
to
to
k
k
lic
lic
C
C
w
w
m
m
w w
w
w
o
o
.d o .c .d o .c
c u-tr a c k c u-tr a c k
As you can see, any professional PDF converter will envy such a set of options! We can
choose which pages of our document to send to PDF, which version of PDF to use,
compression reduces the size of the resulting file, embedding fonts allows to save the
appearance of the document of any third-party device. We can choose if the background
will be attached to the PDF document; our PDF can also be optimized for printing
(image quality will be better but the size will be larger) or only for on-screen
presentation. We can set if the resulting PDF will contain an external table of contents
as in the original report (I don’t have it in my example so it is not possible to select it),
transparency, compression ratio of bitmap images. By the way, one of the important
features of FastReport VCL 6.6 is that vector images will remain a vector form in a PDF
file, in other words –lossless, and this will be especially noticeable on 2D barcodes and
maps. Another feature –all text, including RTF, will be vectorized when saved to PDF,
i.e. the quality will not be lost while retaining the ability to copy a section of text from
PDF (unless you prohibit the appropriate option which I will mention below).
H H
F-XC A N GE F-XC A N GE
PD PD
!
W
W
O
O
N
N
y
y
bu
bu
to
to
k
k
lic
lic
C
C
w
w
m
m
w w
w
w
o
o
.d o .c .d o .c
c u-tr a c k c u-tr a c k
Save to: where exactly we will send our PDF (local file or e-mail or clouds). Open after
export - the resulting file will be opened immediately after export by the PDF viewer
assigned by default to the operating system (for example, Adobe Acrobat Reader).
You can export the generated document in archive formats such as PDF/A-1a, PDF/A-
1b, PDF/A-2a, PDF/A-2b, PDF/A-3a, PDF/A-3b –they are specially designed for
keeping documents unchanged in electronic form. For example, fonts, images, third-
party objects that are present in a document are automatically embedded in the
document in this standard. Quite often one of these standards is used for electronic
document management in large organizations. By the way, here you can read a little
more about the difference between PDF and PDF/A.
H H
F-XC A N GE F-XC A N GE
PD PD
!
W
W
O
O
N
N
y
y
bu
bu
to
to
k
k
lic
lic
C
C
w
w
m
m
w w
w
w
o
o
.d o .c .d o .c
c u-tr a c k c u-tr a c k
The non-archive PDF format also has several versions (and you can choose which one
to save).
H H
F-XC A N GE F-XC A N GE
PD PD
!
W
W
O
O
N
N
y
y
bu
bu
to
to
k
k
lic
lic
C
C
w
w
m
m
w w
w
w
o
o
.d o .c .d o .c
c u-tr a c k c u-tr a c k
Service information, which will also go to a PDF file: title, author, subject, keywords
(you can upload PDF to the web, it will be perfectly indexed), PDF authoring tool,
document producer.
Security –protecting the document from opening by using a password (using RC4
encryption).
The ability to prohibit printing and modifying a document, copying of text and graphics,
adding or modifying text notes.
H H
F-XC A N GE F-XC A N GE
PD PD
!
W
W
O
O
N
N
y
y
bu
bu
to
to
k
k
lic
lic
C
C
w
w
m
m
w w
w
w
o
o
.d o .c .d o .c
c u-tr a c k c u-tr a c k
So, if we or our users do not need all this visual diversity, then we can immediately
!
W
W
O
O
N
N
y
y
bu
bu
to
to
k
k
lic
lic
C
C
w
w
m
m
w w
w
w
o
o
.d o .c .d o .c
c u-tr a c k c u-tr a c k
There you go –use it! Here are considered the functions and recording options from
Lazarus and Delphi to PDF FastReport VCL version 6.6. The cost of a license is
comparable (and often less) to the monthly salary of a developer, while only the options
for setting up and saving to different versions of PDF here are equal to at least work-
months of a developer with high qualifications and knowledge of the subtleties of
different dialects of PDF.
By the way, you can even check the quality of the PDF conversion on our demo reports
or some of your own for fun. We constantly check and test them for compliance with
PDF standards (there are special validators but at the same time the validation passage
does not always guarantee the correspondence of what you see and what will be printed,
we have all those individual stories about it). For example, do you know how beautiful
H H
F-XC A N GE F-XC A N GE
PD PD
!
W
W
O
O
N
N
y
y
bu
bu
to
to
k
k
lic
lic
C
C
w
w
m
m
w w
w
w
o
o
.d o .c .d o .c
c u-tr a c k c u-tr a c k
https://www.fast-report.com/en/blog/324/show/