Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replacement for ???
Message
De
13/10/2010 09:58:18
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
12/10/2010 16:24:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01485091
Message ID:
01485272
Vues:
40
>>I've just run into some code in a client's application that sends a formatted string (the concatenation of multiple reports and documents) directly to a printer using ???. The process has worked without modification for over 20 years and the client is not willing to give the functionality since it is an integral part of their business. Lately, under certain conditions only the first page of output will be printed. I guess I'm surprised that it still works at all. However...what is a good replacement for "???" in this situation? Obviously, we need to bypass the printer driver.
>
>Hilmar has a download#9991 which I believe can help in this sort of situation (haven't used it myself).

That one still uses "???" for the final output. What my class does is simplify the generation of the text-file that is to be printed - with a detail method that gets called once for each record, groupheader and groupfooter methods that get called every time the break expressions change, etc. - and where the programmer "plugs in" the commands to generate the text.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform