>Hi Mark, > >I am using REPORT FORM TO PRINTER command for printing to the receipt printer. > >I used VFP 9 report writer. > >I already select Epson driver when i designing the report. > >I am using. EPSON TM-U210B Partical Cut receipt printer. > > >Holden
The problem with using a VFP report is you have NO idea how long the receipt needs to be. I use the Epson OPOS ADK (App Dev Kit) OCX to control the printer. Then you do not need any Windows printer set up in the printers control panel, and you do not use a VFP report form. This ADK is free from Epson once you register at https://www.epsonexpert.com/
Another option is to create a generic text printer in the Windows Control Panel, use the SET PRINTER TO command to set the printer to that text printer, and use ??? to output your lines to the receipt printer. You will need to know escape sequences for the printer for paper cutting, etc.
If you are interested in example VFP OPOS code that I use, click the FoxPro Tools link at http://www.mctweedle.com