Information générale
Catégorie:
Gestionnaire de rapports & Rapports
>>>
>>>Michelle,
>>>
>>>You still need to clear out the EXPR, TAG, and TAG2 fields from the first record of the report .FRX file. If you do that, it'll work.
>>
>>
>>I forgot about that mess in there. But I just moved the call to his code to right before the REPORT command and it's working now. So it must over-write it or something.
>>
>>Thanks,
>>
>>Michelle
>
>Using the SETPRNTR() function you DO NOT need to delete the EXPR and TAG/TAG2 fields for the correct printer to work. What happens to your formatting in the report is another story.
>
>SETPRNTR() just sets the default printer in WIN.INI and broadcasts this info to all open apps. VFP just prints to the default printer.Every time!
>
>Have been using this piece of code for years with no probs.
>
>Also you could just copy the string of the printer name from the printer (START/SETTINGS/PRINTERS window and pass this to SETPRNTR() and it works.
>
>I have clients who use 3 different printers for different circumstances/located at different places and the reports are pumped out without user intervention every time.
>
>Bernard
Thanks for the info.
Michelle
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement