Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set printer to LP1 always uses default printer
Message
De
16/07/2008 11:02:28
 
 
À
16/07/2008 10:52:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP1
Divers
Thread ID:
01331546
Message ID:
01331670
Vues:
10
COPY FILE gives me the same font....so that's not the default printer font.
Is there a way to set the font?
>As far as I know, COPY will print with the default font on the printer. Maybe I am wrong?
>
>>The problem is that I can't issue a "Set printer font" command. With the copy command I got the same ugly font.
>>>Create output to a textfile, but instead of !type, you COPY YOURFILE.TXT TO LPT1:
>>>
>>>>My customer requeriment is that this programs work like the VB one he is using. He doesn't want to install drivers (the VB one opens LPT1 and writes to the printer) because there are lots of this computers which are formatted frequently. I can do that writing the output to a tex file and issuing a !type xxx..txt >lpt1: but that output doesn't use the printer default font (a nice propietary font who allows 40 columns per line) but a normal text font wich only allows 29 chars per line.
>>>>
>>>>
>>>>>Hi Victor,
>>>>>
>>>>>>I'm sending output via ?/?? commands to the printer. The output should always go to LPT1 so I issue SET PRINTER TO LPT1. The problem is that VFP ignores this and send any output to the default printer. Is that a known bug?
>>>>>
>>>>>VFP sends output to a printer, not a port. Can you install a "Generic/Text only" printer driver, connect that one to LPT1 and then use SET PRINTER TO the generic printer driver?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform