Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Check Printer Status
Message
De
28/08/2000 07:01:24
 
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00408150
Message ID:
00409718
Vues:
16
>>I uses the following code in VB6 for printing to a dot matrix
>>printer:
>>
>>Open "LPT1" For Output As #1
>>Print #1, Trim(strCustName)
>>Close #1
>>
>>How could I check whether the printer is ready or not? Thanks.
>
>Why not use the printer object instead?
>eg.
>
>Printer.print "My text Here"
>Printer.EndDoc

Which property determine the status of the Printer is ready?
If I didn't create a printer in the Windows Control Panel, will this
works? Thanks.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform