>We are trying to start moving our receipts for our Point of Sale system from
>@ Say statements to reports for image purposes. I keep having a problem with
>the length of the receipt. The header prints fine, the detail prints fine,
>but the footer prints at the end of the receipt, which is about 6 feet long.
>I've tried to change paper selection on page setup, but nothing seems to be
>working. If someone else has been through this, any help would be
>appreciated.
John, it sounds like you're using an NT/2K/XP machine, correct? If so, you can set paper size by going to Start: Printers: File: Server Properties, and adding the new paper size there. Then, you can use MSKB#
Q304639 HOWTO: Find PaperSize for Custom Print Sizes Under Windows NT/2K to figure out what to plug into your report.
However, I'm not convinced this will solve your problem. Receipts are a dynamic length, so unless you're going to calculate the length in advance and use the Windows API to plug that into your custom form, you'll still have the footer printing way at the bottom.
Have you tried the @...SAY BITMAP format? According to the VFP3 help, the syntax is:
@ nRow1, nColumn1
SAY cPictureFile BITMAP | GeneralField
[STYLE cFormatCode]
[CENTER]
[ISOMETRIC | STRETCH]
[SIZE nRow2, nColumn2]
- Or -
@ nRow1, nColumn1 SAY GeneralField
VERB nOleCommand | cOleCommand
[NOWAIT]