Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Directing output to printer using @...Say
Message
De
27/04/1999 17:54:20
 
 
À
27/04/1999 15:01:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00212617
Message ID:
00212782
Vues:
23
If I'm not mistaken, DBase 3 is DOS based and probably runs in a DOS window and would therefore not use the Windows interface, however, FPW2.6a and above is for Windows, runs in Windows and therefore has to conform to the Windows interface, etc. Just a thought... :)


>I'm not an old dbase guy (just happen to have an old dbase report I'm rewriting), so I'm asking this out of ignorance. When I run dbase 3 in windows I can issue SET DEVICE TO PRINT and immediately see output directed to the printer line by line with @...SAY (Output is not spooled). Am I forced to spool output with VFP? I guess there's nothing wrong with that, I just assumed I'd see the same output behavior as DBASE.
>
>>Hiya Rich ---
>>
>>
>>>
>>>You sort of answered your own question here.
>>>
>>>SET PRINT ON redirects @...SAY to the printer. (SET DEVICE TO PRINT redirects ? commands to the printer. Or did I get them backwards?)
>>>
>>
>>You've got them backwards but, hey, not bad for memory of old stuff.
>>
>>>SET PRINTER TO [anything] flushes the printer buffer. FoxPro buffers direct output to the printer until you change printers (or pretend to).
>>>
>>
>>Eloquently stated.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform