Am Freitag, 15. Juni 2007 18:00 schrieb [EMAIL PROTECTED]: > 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.
perl_skript_Print
Description: Perl program
_______________________________________________ Gnumed-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnumed-devel
