Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printers and VFP
Message
De
19/08/1999 14:39:02
 
 
À
19/08/1999 14:29:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00255437
Message ID:
00255448
Vues:
24
>>Hi all,
>> I have some reports that use @ say commands as opposed to the report writer. Some reports just can't be done with the report writer. I'm trying to add a feature to allow users to select which printer to send reports to. Bsically I'm using the Fox function GetPrinterand making API calls to GetProfileString, WriteProfileString, and SendMessage to change the default printer temporarily, then set it back after the report runs. When I change the printer and use sendmessage to notify all apps that the default printer changes IE, Word, etc.. prints to the correct printer.. BUT VFP doesn't seem to notice I changed printers.. Maybe I'm going at this the wrong way.. not sure.. Help!
>>
>>TIA!
>
>Have you tried:
>
>SET PRINTER TO NAME (GETPRINTER())

Yes.. If yuo pick anything other than the default printer it does nothing.. if you pick the default.. it prints fine..
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform