Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RAWPRINT5.FLL
Message
De
29/09/1999 11:50:28
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Divers
Thread ID:
00268322
Message ID:
00270556
Vues:
25
>Thank you, Rick

PMFJI: Just checking in after some time out of town... A clarification to Rick's notes -- you can use RawPrint to send any kind of output to the printer or serial port -- not dependent on a report form. So, for your example, just do

SET DEVICE TO PRINT
SET PRINTER TO xxx.TXT
@ 1,0 say 'xxxxxx'
@ 2,0 say 'yyyyyy'
SET DEVICE TO SCREEN
SET PRINTER TO

Then invoke RawPrint to 'squirt' the xxx.txt file out to the printer, as in Rick's code.

We use this technique extensively for some home-grown mail merge output. Also, you can use STRTOFILE() to save your output first directly from a memvar character string, and the RawPrint.Fll even lets you send the character string right out the port without the need to create the intermediate text file -- which could be a big aid in performance if you have a lot of these to do in a loop or something... RawPrint is definitely a COOL TOOL!

HTH

Rob
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform