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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only