Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Compact inkJet printer on a laptop
Message
From
18/07/2001 17:00:12
 
 
To
18/07/2001 14:28:01
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00532146
Message ID:
00532215
Views:
11
>A client has installed my VFP6.0 program on a laptop using a compact inkjet printer. When I call a report using "REPORT FORM reportName PREVIEW" the system fails with a "program caused an illigal operation" type error. On the other hand if I call a report using "REPORT FORM reportName TO PRINTER" all is well.
>Any clue as to this problem will be greatly appreciated.
>
>Thanks in advance
>Dennis Collins

Sounds a little strange.. If you have access to the reports (.FRX) you could open it as a table and check out the TAG1, TAG2, and EXPR memo fields of the _First_ record. VFP saves a little bit of printer info which can sometimes cause problems. I haven't actually heard of it causing crashes and I have never experienced a problem with REPORT FORM myself, but it might be worth a try. You can safely clear the TAG1 and TAG2 fields. The EXPR should be trimmed carefully, such as removing the DRIVER, DEVICE, and OUTPUT lines in the memo field. Careful here, as there is info such as the report's dimensions and orientation that you want to leave unchanged.

I'm not sure why it would work one way and not the other, so there may be some other problem but there's nothing else that I can think of at the moment.

HTH,
Jonathan Chan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform