RPV Reports / Article: Integrating Rpv Reports to your existing projects
Search in RpvSoftware.com
Go!                                         English    Español

What Rpv is

Rpv Reports 2021

Rpv Reports 6





Home > Article: Integrating Rpv Reports to your existing projects
Integrating Rpv Reports to your projects (new or existing).

Migration or integration?

First of all, we should define at least the meaning of those two words.

When we say migration, we mean that everything is rewritten and/or redesigned. Nothing, except the ideas that work actually, will be used on the new project.
Integration instead means to add new capabilities to the projects that are running. This is the way that we prefer.

To use Rpv will not mean to drop anything. In fact, we would say to drop NOTHING.
For that reason, we will talk about two different ways to integrate Rpv Reports to your projects.

  •     Instant integration
  •     Progressive integration

Depending on what you need and the time you have, you could choose between both options. Here we explain each.

Instant integration

Rpv Reports can begin to work for you today opening your existing reports.
This is the best option for existing projects or for those projects that must be ready “yesterday”.

Rpv is able to open TXT files, so if you are generating a report from your program in text format, integration can be immediate.

Is this your case? What do we mean with TXT files?

We mean those reports generated with systems that create simple output files, containing or not specific sequences for a printer. These files are plain files and usually they can be opened with the standard editor of the operating system. (Edit, Notepad, Vi, etc)

Other alternative is when you send the file directly to the printer not creating a file. (Opening the LPT or PRN instead)

How to integrate Rpv in this scenario

First of all, if you are sending the files directly to printer, just redirect them to a file on disk with TXT, LST or PRN extension. You can configure Rpv later to recognize each extension differently adapting it to your specific purposes.

After that, when the file is created and closed, Rpv can print it, preview it, send it by e-mail, etc.

Printer sequences

It is possible that your system is prepared to print to an specific printer. In this case, the program is sending some “sequences” or “commands” to the printer to control its behavior.

If this is the your case, all you have to do is to edit a conversion table in order to create the “driver” that connects Rpv with your project.

We say “driver” but it is not so complex. The conversion table will be the driver in this case and it will translate the printer sequences into Rpv commands to make them compatible with Windows, so with all the printers.

At this moment, your system (maybe created for an specific printer model or brand) is compatible with all the printers accepted by Windows.

Learn more about this kind of integration. Converting existing projects to Rpv from TXT files.

Progressive integration

This option gives you the chance to use more features and to obtain a better quality also.
It happens that TXT files have one limitation: the fonts to be used must be fixed-width.

We say “progressive” because it is not possible to convert all the files at the same time. This integration implies to convert the files to one format accepted by Rpv. (Rpx or Rpd)

When is better this method?

In three main situations:

    1) When the project (or some program) is new or have to be rewritten.
    2) When the program has to be deeply modified.
    3) When you have a couple of hours to modify a the program and not just five minutes.

Just evaluate the following:

If the program that generates the report and must be modified requires that you alter its logical structure, and you know that it will take more time than “just a minute” (and you have that time).

If YES, then you should convert the program to Rpx / Rpd format.

Ok, but... how?

Rpx and Rpd formats are only data. Your current reports are data exported from your programs.
The difference between both is that your current reports must be formatted by your program (by you) and Rpx / Rpd have no format. They contain data without format.

Let’s see an example of an Rpx file:


What you see here is just data delimited by a char “|” (pipe).
That data is taken by Rpv and combined with a template (an Rpv file) and the report is formatted by Rpv and not by your program.

The advantages of this kind of file are important:

    1) The program is easier to be coded. You do not have to pay attention to any format.
    2) The program is easier to be modified later. It will more readable by others (and yourself).
    3) The most important: the program should not be modified to change a report. If the change is not really important, to change the template will be enough to alter a report. A recompiled program is a program that can fail again.

Please take a look at the "Hello world. First sample of an RPX"

Didn't you find what you were looking for?

What Rpv is
Rpv Reports 2021
Rpv Reports 6

Rpv Reports 2021
Rpv Reports 6
Personalized edition

Rpv Visual Editor online help
/temp section

Copyright (c) 2001-2021 - Rpv Software. All rights reserved.