Hi Kam,
I don't know about VFP5 on WinNT, but the following works for me
on Win95 :
C_PRINTER = GETPRINTER()
IF !EMPTY(C_PRINTER)
SET PRINTER TO NAME (C_PRINTER)
REPORT FORM xxxxx NOCONSOLE TO PRINTER
ENDIF
Michel.
====================== Original message follows ===================
>Hi,
>
>I have this problem and hope somebody can help me out:
> I used Set Printer To Name command to select the printer I wanted to send output to. It wroks with ??? command and it
>doesn't seem to work with Report Form frmname To Print command.
>It always sends the output to the system default printer when I use
>the Report Form to Print command.
> I use getprinter() function return the printer I want and then do a
>set printer to name command. I thought it would send the subsequent
>output to the selected printer. But it didn't work with Report Form command. I tried not to use the Report Form command with the [Prompt] option.
> Can anybody point out the mistake I make and give me some suggestion ? By the way, I am using VFP 5.0 on Windows NT.
>
>Thanks in advance!
>
>Kam Lee
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