-
Apr 13th, 2012, 01:04 PM
#1
Thread Starter
New Member
changing international character set in epson
ESC/POS commands for Epson Printers.
I'm trying to change the character set in my Epson printer.
the ESC/POS command should be: ESC GS t n
where the value for n should be 13 (for hebrew in this case).
but I don't know how to send the command to the printer.
can anyone help me???
Last edited by shaden; May 2nd, 2012 at 06:38 AM.
-
Apr 13th, 2012, 01:27 PM
#2
Re: changing international character set in epson
Welcome to the forum!
How are you printing to the EPSON right now - using some kind of "PRINT #1" statement?
Usually you need to send an escape sequence - something like
Print #1, Chr(27) & "xyz";
It's been years since I've done this - show some code so we can make sure how you are using the printer.
-
Apr 13th, 2012, 01:30 PM
#3
Re: changing international character set in epson
Windows programs normally do not resort to a given printer's native control commands or escape sequences. This is the responsibility of the printer driver.
A program should be using the unified printer control operations language, generally via GDI calls that lie beneath a given programming language's printer support statements.
To use the full range of character sets on a given printer, normally that printer driver should handle the mapping between Unicode characters and the font you "print in" and the various character sets the actual printer supports.
If you really have to (or merely insist on) doing things the hard way, you might read How To Send Raw Data to a Printer Using the Win32 API from Visual Basic.
Just "printing" escape sequences to a printer will not work, since everything goes through GDI and the printer driver.
-
Apr 30th, 2012, 01:26 PM
#4
Thread Starter
New Member
Re: changing international character set in epson
I have only very basic knowledge in programming.
thanks.
Last edited by shaden; May 2nd, 2012 at 06:40 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|