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:
FoxPro 2.x
Titre:
Divers
Thread ID:
00643928
Message ID:
00644210
Vues:
11
>>>>Hello,
>>>>
>>>>In FoxPro 2.6, how can I direct a report output to another printer (the printer is connected to that computer)?
>>>>
>>>>I can't get the right syntax from the help file. If anyone could give me the solution, this would be great!
>>>
>>>You specify the port printer is connected to. It can be either one of the three local parallel ports (LPT1, LPT2 or LPT3) or one of the two serial ports (COM1 or COM2). FOr example,
SET PRINTER TO LPT2
>>
>>I tried that, but I do not get the result I want. I try to accomplish the following:
>>
SELECT MyTable
>>*-- Now we want to print the output to the amyuni printer driver (PDF format):
>>*-- The printer driver captures the LPT2 port.
>>SET PRINTER TO LPT2
>>REPORT FORM rRep TO PRINTER NOCONSOLE

>>Do you have an idea how I can do this?
>
>What error do you get? If it's "Printer not ready" than LPT2 isn't captured. I doubt you can get this work.

I do not get an error message, but the Print window opens with the default printer as selected printer.
Christian Isberner
Software Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform