Information générale
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Changing Font Size to HP Printer
I'm converting a FPD program that has a routine to print ASCII .txt files to
a printer in two modes:
"normal" - portrait mode, 80 columns wide
"compressed" portrait mode,132 columns in a reduced font.
The VFP program prints the .txt files out after the User selects either the "normal" or "Compressed" mode.
The code used in the DOS program to change the font to "compressed" mode -
(HP LJ printer) was:
SET PRINT ON
SET CONSOLE OFF
?? CHR(27)+CHR(69)+CHR(27)+"(s0p16.66H"
SET PRINT OFF
SET CONSOLE ON
RUN COPY &MFILE LPT1:
EJECT
This works fine in FPD2.6
This doesn't work in VFP5.0a - the font does not change to "compressed
mode".
Does anyone have any suggestions on a way to change the font
(programmatically) when printing ASCII .txt files?
Thanks... Paul
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