Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Memo field
Message
From
20/09/2005 15:46:17
 
 
To
20/09/2005 13:27:11
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
01051285
Message ID:
01051432
Views:
6
>thanks for all the good advise.
>
>I store all the receipts in computer so the cashier doesn't have to use 2-ply receipt, it's normal in POS business, the cashier has to keep all the copy of the receipts.
>
>regards,
>
>Jerry
If I understand your problem correctly, you want to print the receipt and at the same time generate a copy which you can store in a memo field.

I tend to think that isn't necessary as long as you can regenerate the print image from the data in the file.

However, you know your requirements better than I so..........
The following old fashioned approach may not be best, but it should work well and mean little change to the code which prints the receipt.
........    main body of code     .........

* We're about to start printing the reciept so insert the following
SET ALTE TO receipt
SET ALTE ON

* Run the code to print the receipt

* When the receipt is finished printing insert the following
SET ALTE TO
REPLACE myMemoField WITH FILETOSTR('receipt.txt')
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform