Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing signature on a form in DOS.
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Printing signature on a form in DOS.
Divers
Thread ID:
00235846
Message ID:
00235846
Vues:
45
My customer has a report that prints on dot-matrix printer in IBM Proprinter emulation mode.
Application is Fox DOS 2.0.
After the report page is printed the signature is added at the bottom. The code that does it is:

STORE FOPEN('sign.out',10) TO mfile_hand
STORE FSEEK(mfile_hand,0) TO mifp_top
STORE FSEEK(mfile_hand,0,2) TO mifp_size
STORE FSEEK(mfile_hand,0) TO mifp_top
m_string = FREAD(mfile_hand,mifp_size)
??? m_string
= FCLOSE(mfile_hand)

Unfortunately the method to create sign.out is unknown and we have to change a signature. It is some kind of Proprinter graphical file converted from scanned signature.

We tried to use the following:
- scan signature
- embed picture into Word for DOS
- print to file as IBM Proprinter into sign.out.

That approach failed because of the page formatting codes Word embeds into the file. Printer control codes do not allow setting or restoring page length and printing more than one page becomes a problem.

Please help.
Anatoliy
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform