>I have reports that are saved to a binary memo field. I want to send those reports directly to the printer, bypassing the windows print drivers.
>
>I know that VFP 3.0 can do this, its available in the system menu under "Print", but I can't find a way to do it with code. In order to print the saved reports, presently I am copying the memo to a file, and using the dos copy command. "run copy filename.txt lpt1". This meathod brings up a dos window and is not an acceptable way to print the reports.
>
>Can anyone help?
>
>Thanks Harvey
I believe you can use the VFP 'COPY FILE' command to do this, just make sure that safety is set OFF because LPT1 will be seen as a File Exists, overwrite condition. I could be wrong, but it seems like I tried this once and was successful.
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