Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Lpt capture problems in Windows 7
Message
From
25/01/2012 17:01:58
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows 7
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01533725
Message ID:
01533748
Views:
54
>I have been working to move an SBT installation into windows 7, which is running source code in VFP 7. All is running fine except for some funky printing problems. They have an old dot matrix printer that uses an LPT port. The new computer doesn't have an lpt port, so we have a usb to LPT adapter plugged in and a batch file to run "net use lpt1 \\localhost\generic" as the printer.
>
>This works, sort of, except that often the printer won't pick up the first several lines of text, or will act like it's stalled and not receiving until you go to the devices and printers screen. As soon as you leave the SBT window and look to see if the doc is in a queue somewhere (the port is set to print directly to the printer, however), the printer starts working.
>
>In large docs, the printer will lose the first several lines of text, then run fine from the next form feed.
>
>Is there an accepted way to setup this type of legacy system in windows 7? Every report is hand coded so would be very cost prohibitive to convert to report forms...
>
>Thanks in advance!

Did you mean by "hand-coded" report to mean that you didn't use report forms, but rather output them programmattically (e.g.. using ??? or @ SAY ) ? If that's the case, what do you have for the _VFP.AutoYield setting ? If it is .F., what happens if you set it to .T. while the report code is running ?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform