Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing signature on a form in DOS.
Message
From
30/06/1999 09:27:09
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Printing signature on a form in DOS.
Miscellaneous
Thread ID:
00235846
Message ID:
00235846
Views:
44
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
Next
Reply
Map
View

Click here to load this message in the networking platform