Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Send Control Codes
Message
De
20/10/1998 21:42:19
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Send Control Codes
Divers
Thread ID:
00148742
Message ID:
00148742
Vues:
43
I need to send control codes to a printer running in WIN NT 4, using VFP/ and or FPE 2.6.

The help states that I can use _PSCODE and _PECODE and then PRINTJOB .. ENDPRINTJOB

I have tried this:
SET PRINTER ON
_PECODE = CHR(27)+"i" && ESC i
PRINTJOB
?? "HULLO"
ENDPRINTJOB
SET PRINTER TO

ALL I get is the codes PRINTED on the paper but no effect.
The Help also says that _PECODE is old and to use the report writer instead.

I created a report with a field in the header with the value CHR(27)+"i"

ALL this does is print out the code not send them to the printer.
Can anyone tell me how this sending of codes is done.

I need to send a code to a printer (NT) to clear its buffer and then print a single page report using REPORT FORM...

Thanks

Bernard
Répondre
Fil
Voir

Click here to load this message in the networking platform