Re: POS Printer
- From: "vvf" <vvf@xxxxxxx>
- Date: Sat, 20 Sep 2008 00:20:15 +0300
Hi Joe,
I thought it would be easy to print to a simple POS Printer (Star SP 200,
parallel port) but for some reason it seems really difficult for me. I
think
I have all the theory right, but I just can't print correctly text to it.
My first suspicion is Unicode, only because it has been the source of many
similar
problems in the recent past.
Thanks for your help, Indeed, that was the problem. The funny thing is that
I initially had a CStringA in my code but before taking the application to
the test site, I thought it would be a good idea to write all the things
that I wanted to test in a file and then have my application read that file
and send it to the printer. I quickly wrote something to read from the file
but I used a CString instead of a CStringA...
Anyway, everything is working fine except that the printer ignores the
escape codes. It does have a "hex-dump" mode and I can confirm that all the
codes are received correctly, but for some reason it ignores them. I read
the printer's manual but that did not help me so I wrote to the
manufacturer. Hopefully they have a solution for me.
Thanks again for all your help.
.
- References:
- Re: POS Printer
- From: Joseph M . Newcomer
- Re: POS Printer
- Prev by Date: Re: Ini File vs Registry
- Next by Date: Changing MS defaults for CProperty*** Tab Tooltip
- Previous by thread: Re: POS Printer
- Next by thread: RE: https://accountservices.msn.com/EmailPage.srf?emailid=5d4c1ef525bf
- Index(es):