Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
POS Cashdrawer
Message
From
10/03/2004 17:50:16
 
 
To
09/03/2004 20:30:00
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Miscellaneous
Thread ID:
00884120
Message ID:
00885030
Views:
17
<snip>

>When do you use ?? over ???, ?? will go through the printer driver
>whileas ??? will directly go to the printer.
>
>Some ESC/POS command that I sent to printer using ?? didn't response
>for example but work when I sent it using ??? command, any ideal why ?
>
> * actual command is chr(27)+chr(83)+chr(1)
> * but I sent using the control font, hence
> * chr(27) is not sent with it
> SET PRINTER FONT "control",10
> ?? chr(27)+chr(83)+chr(1)
>

No idea. Maybe it's something to do with how you've used SET PRINTER TO ...
I don't see that in you're example

>
>You mention using Advanced Printer Driver so that you could use FoxPro Report Formats. Could you sent me a sample of your Advance Printer driver
>sample as I also need to convert the API structure for VFP use since most
>of the example given are in VB & C and the document that I get from their
>website is rather brief.

Do you mean a sample of communicating with the printer using StatusAPI? I converted their VB sample to Fox, so if that's what you need, I can post it here.


>Next, what do you mean by use FoxPro Report format
>with Advance Printer driver ? Any sample for my reference.

Instead of using ?/?? to print to the printer, you can design the output in a Fox Report Format (FRX/FRT) and use the REPORT FORM command to print to the Epson TM Printer Driver that was created when you installed the Advanced Printer Driver.

>Finally, I need to use printer reply status from the ESC/POS or Advanced Printer Driver from the parallel interface as my application is a kiosk,
>any printer out or paper out must stop all operation.

I don't know if that's possible with parallel, but I'm sure it is using the Epson StatusAPI and serial or USB.

Hope this helps. Let me know if StatusAPI is what you're looking for and if you would like to see my Fox example.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform