Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SET PRINTER TO
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00289709
Message ID:
00289727
Vues:
29
>Hi,
> I'm having some problems with a report and printing to an NT printer. I have removed all printer-related 'stuff' in the actual report .FRX file, but am still encountering difficulties. I created a test program and ran it in the VFP command window, and got the correct results. when I compiled the test program and ran the executable, the report printed out on the workstation's default printer. Here is the code:
>
>clear all
>close all
>use data\printers
>go bott
>set printer to name (printers.queue)
>report form poop noconsole to printer
>
>
>note: the value of printers.queue is a character string = \\DEV1\Okidata OL-410e
>
>Any ideas? TIA.
Try removing the printer info and compiling - no testing before compiling.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform