Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows 20000 and printing

Status
Not open for further replies.

johndan

Technical User
Nov 12, 2002
51
US
This is going to be tough, but I will explain the best I can. We have an application written in VFP5. One of our clients upgraded unit from Win98 to W2K and is now having printer problems. The printer is OKi591 attached directly to LPT1 and using the Oki supplied driver for W2K. Previously under Win98 there was no problem. The app prints purchase orders. When printing now there is major alignment problems. The programmer told me that he made all possible changes to FRX but not successful.

I think I understand that the FRX inherits the environment its created under. The programmer did say he tried using other drivers like Epson and generic text.

Is VFP so picky to O.S. changes? I have also heard of stripping the FRX on from this site, but didn't know if I should suggest that to the programmer...

Any help is well appreciated...

John
 
It's more the printer driver's fault than VFP's fault. Especially if the programmer uses a different driver (not the same one you are using) on their developement machine.
To get the best results, the programmer either need to strip the printer driver specific things from the .FRX, or try using the same driver as you are using.


-Dave S.-
[cheers]
Even more Fox stuff at:
 
This FAQ faq184-581 describes the 3 fields which the developer ought to clear from the report form's .FRX table's first record. As mentioned above it is quite likely a driver issue. The Win98/Me environment is quite different from Win2000/XP which is why they require different drivers. Hard to troubleshoot from different platforms.

Try this too, since placing "PROMPT" immediately after "TO PRINTER" will bring up the standard Windows printer selection window. Though you can select another printer using this window, it does not let you select another tray, among other options. Another isuue using this is that it might let the user select some things you DON'T want changed.

REPORT FORM myreport TO PRINTER PROMPT

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top