Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with Copy file (lcTextFile) to lpt1
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00789280
Message ID:
00790021
Vues:
40
My previous statement was incomplet i.e. It's print to default printer event a used command like that
set printer to lpt2
??? FILETOSTR(lcTextFile)
In another words. I don't see different when I used
set printer to lpt1 
??? FILETOSTR(lcTextFile)
set printer to lpt2 
??? FILETOSTR(lcTextFile)
or
set printer to lpt3 
??? FILETOSTR(lcTextFile)
I think about use
SET PRINTER TO [DEFAULT | NAME WindowsPrinterName]
but becouse this is first module (of big application) which migrate from FPD to VFP8. I try to use the same nomenclature, so user have choice print to lpt1, lpt2,lpt3, screen

Any idea ?

Andrze Multan
PS. poor english


>It prints to whatever printer is connected to LPT1. If you want to print to different printers, take a look >at Direct writing to spooler without GDI response File #9957.

>>Thank you.
>>It's works. But now always printing on default printer. How You sugest fix this (next) problem ?
>>
>>Andrzej Multan
>>
>>>Try
>>>SET PRINTER TO lpt1
>>>??? FILETOSTR(lcTextFile)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform