how to send escape sequence to printer
-
Hi all, I have to use EPSON LX 300+ for my printing job. So I want to send an escape sequences to printer to be able to format the text before printing, but I cant recognize how hould I do this ?? forexample I wrote this for Form Feed(corresponds 12 for decimal) (char)27+(char)12 but nothing effected. Is there anyone who shows me a some sample code, or give me a some hints are greatly appreciated.. thanx. :omg: metin.
meTin.eRGoktas
-
Hi all, I have to use EPSON LX 300+ for my printing job. So I want to send an escape sequences to printer to be able to format the text before printing, but I cant recognize how hould I do this ?? forexample I wrote this for Form Feed(corresponds 12 for decimal) (char)27+(char)12 but nothing effected. Is there anyone who shows me a some sample code, or give me a some hints are greatly appreciated.. thanx. :omg: metin.
meTin.eRGoktas
http://support.microsoft.com/?scid=kb%3BEN-US%3B322090 I just sent a 12 (without the esc).
-
http://support.microsoft.com/?scid=kb%3BEN-US%3B322090 I just sent a 12 (without the esc).
thanks, but still not clear, forexample document says below for horizontal/vertical skip. How my code should be if m = 1,n=100 according to documentation. Format ASCII ESC f m n Hex 1B 66 m n Decimal 27 102 m n Parameter range 0 £ n £ 127 m = 0, 1 Moves the print position depending on the value of m, as follows: m = 0 Prints n spaces in the current pitch. 1 Performs n line feeds, in the current line spacing Moves the horizontal print position to the left-margin position.
meTin.eRGoktas