gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnumed-devel] Re: Gnumed-devel Digest, Vol 55, Issue 9


From: Philipp Walderdorff
Subject: [Gnumed-devel] Re: Gnumed-devel Digest, Vol 55, Issue 9
Date: Mon, 18 Jun 2007 13:00:01 +0200
User-agent: KMail/1.9.3

Am Freitag, 15. Juni 2007 18:00 schrieb address@hidden:
> What language is your program written in ? Exactly how do
> you handle forms ?

My program is written in 4gl, which is compiled auotimatically in C

This compiled 4ge-Application is working with database INFORMIX.

But my INFORMIX is from the year 1989 ! and it still works :-), I did not 
change to a modern INFORMIX, because I would have to adapt all my 
progrmmingtools which is too expensive for one single user. 


Forms are handled with the function REPORT

START REPORT xyz TO Printer or Print-File

every line form the Data-Select is sent to the Report via
"OUTPUT TO REPORT xyz"

The command "FINISH REPORT xyz" creates the printfile

The Command "lpr -P Ordiantionsdrucker  Print-File" prints the File

This Prints the datas retrived from the program (patient-datas, Datas from the 
doctors-adress-table, individual entered Text and automatically generated 
text to the printfile.

A perl-script combines these data with a background-Printfile.

So I can print my INFORMIX-generated printfile on a predesigned 
Background-Formular, which can be any PostSkript.ps File.

This perl-script is written by a professional programmer an not open source. 
But it is very simple, one page Code.


A print-modul for GnuMed, I imagine, should let the user govern his  
print-formular by his own.


Prepatory work by the user:
1. For a certain Formular the user  determines a Background-File, which could 
be a scanned Formular of the insurance.
2. The user defines which variable should be printed on which location of the 
Formular.
3. The User defines the Print-design of the printed text.

At the moment I am not  able to say, how exatly python could manage this. I 
suppose, Gnumed will have a table with the formular-name, the used variables 
and the position of the printed variable on the formular together with the 
Charakter-set-Datas of the printed variable.







With this Function we can create One-Page-Formulares.















Attachment: perl_skript_Print
Description: Perl program


reply via email to

[Prev in Thread] Current Thread [Next in Thread]