Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Cannot get report to print in draft mode from .PRG file
I am converting an old Foxpro 2.5 DOS program into VFP (version 6.0). The old DOS program contains many reports which are generated via separate PRG files with @SAY ... for output. In the interest of minimizing the work involved in implementing this conversion, I am attempting to simply use these existing PRG files rather than rewrite them all in the report writing utility. Everything works for the most part, but there is one aggravating problem that I am unable to figure out: when the reports print, they force the font to ARIAL. I have nothing in the code that directs font output whatsoever. I am beginning to think that this is a compatibility issue between FVP and DOS. I'm developing in a Windows 95 environment.
Is there some sort of compatibility mode command which will allow the printer to print in its default draft mode. The printer in question is an EPSON LQ-570+ that I am attempting to print through. If I direct the output to a laser printer, however, the same thing happens. In the DOS version, the font simply defaults to courier in the laser.
Some of these reports print to preformed forms, so retaining the original draft mode is necessary for reasons other than simple ease of conversion.
I've even tried sending printer codes to the printer, but they are ignored. I have tried issuing a reset command prior to print, also without any luck. I have tried sending NO printer codes - same thing. Nothing I've tried seems to work - the program simply decides somewhere to force the output to ARIAL (or a font similar in appearance). And, yes, I've checked the printer itself to make sure that the font isn't set on the printer itself - it's not.
Any suggestion will be, as always, deeply appreciate.
TIA
Richard Bates
Denver, CO
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement