Hi,
I will try that.
By the way, could you advise me on the proble below
My application is using the Epson ESC/POS command
for printing to the printer. I can't use the OPOS as
the printer is not supported under it.
?? is sent to the printer driver whileas ??? will bypass the
printer driver to the printer directly.
I want to use ?? as I can specify the fonts to use
as I need to cater for multilanguage printing.
However, when I run the following code,
my ?? command is not working. Any ideal why ?
It output the following below and any way to
stop the paper cut and use the ??/? and ???
together ?.
Hello World
<===== paper cut, why when I didn't init any paper cut
Hello World
yHello World
Code sample
==========
SET CONSOLE OFF
SET PRINTER TO default
SET DEVICE TO printer
SET PRINTER ON
* set right justification through the printer driver
SET PRINTER FONT "control",10
lCmd = CHR(121)
?? (lcmd)
* printout should be right justification
SET PRINTER FONT "ARIAL",10
lcmd = "Hello world"+CHR(13)+CHR(10)
?? (lcmd)
* set bold on using ESC/POS directly to the printer
lcmd = CHR(27)+CHR(69)+CHR(1)
??? (lcmd)
??? "Hello world" + CHR(13)+CHR(10)
* set right justification through the printer driver
SET PRINTER FONT "control",10
lCmd = CHR(121)
?? (lcmd) <=== this is printing y instead of taking a printer command
SET PRINTER FONT "ARIAL",10
lcmd = "Hello world"+CHR(13)+CHR(10)
?? (lcmd)
SET PRINTER TO
SET PRINTER off
SET CONSOLE On
SET DEVICE TO screen
Best Regards
Virusim