Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GetPrinter
Message
De
04/06/2007 12:58:22
Andy Roth
Neyenesch Printers
Californie, États-Unis
 
 
À
04/06/2007 12:20:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Divers
Thread ID:
01230276
Message ID:
01230293
Vues:
18
>>Hi,
>>I had a program in VFP5 that used SET PRINTER TO PRINTNAME getprinter()
>>to set the printer. In VFP9 that blows up
>>I did:
>>PRINTNAME=getprinter()
>>SET PRINTER TO $PRINTNAME
>>
>>but the report does not go to the selected printer. It always defaults to the
>>printer on the network the report was made and tested on.
>>
>>Any help would be great.
>>
>>Andy
>
>Firstly, try
>SET PRINTER TO NAME (PRINTNAME)

I did this:

PrintName= getprinter()

SET PRINTER TO NAME (PrintNAME)

?PrintName
WAIT

Showed the correct printer name but it did not do the that printer
REport is being called by:
REPORT FORM proofti3 NOCONSOLE TO PRINTER
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform