>Hi
>
>I am installing a visual foxpro point of sale application. Im am using
>epson thermal printers for receipts ect. 2 or 3 times a day my customer
>complains of a Spool 32 error. As another vendor supplied the hardware,
>so I got around the problem by outputting the printing to a DOS text file
>and then doing a RUN command to copy the text file out to LPT1:
>
>This works fine but now I get the Black windows associated with a run command
>within visual foxpro. can I stop the window appearing or any thoughts on the
>spool 32 error
There are a bunch of different ways to address this; you might take a look at my DIRPRTCLASS, downloadable from the Files section here on UT, or using the CopyFile() WinAPI, as described in the FAQ and WinAPI sections. There are several other files here on UT as well that address the topic.