Home
Top.Mail.Ru Yandeks.Metrika
Forum: "WinAPI";
Current archive: 2002.01.08;
Download: [xml.tar.bz2];

Down

Print to Epson printer Find similar branches


amamed_3071   (2001-11-03 10:09) [0]

Who has a print code for dos on an Epson printer with printer commands (ESC @ .....)
I need started printing sets paper options and font size line down and print end Printer connected to som port



Mbo   (2001-11-03 10:43) [1]

ESC @ 64 Initialize
13 CR
10 Line Feed
12 Form Feed
Esc C 0 67 Page Length Inches
Esc 3 51 n / 216 Line Spacing
Esc I 108 Left Margin
Esc P 80 10cpi
Esc M 77 12 cpi



amamed_3071   (2001-11-03 10:59) [2]

Well, how will it be used right on the som port?
COMPort.Sendtext ("ESC @")
COMPort.Sendtext ("ESC I 5") ....



Mbo   (2001-11-03 11:53) [3]

First, does SendText not put CR / Lf at the end? If yes, then it is necessary character by character
it is necessary to send ESC codes - 27, @ - 64
# 27 # 64 or
const ESC = 27
chr (ESC) + "@"
and without spaces



Pages: 1 whole branch

Forum: "WinAPI";
Current archive: 2002.01.08;
Download: [xml.tar.bz2];

Top





Memory: 0.54 MB
Time: 0.024 c
14-22407
KL
2001-11-03 00:47
2002.01.08
Beta Testing !!!


3-21949
Hermit
2001-12-05 13:22
2002.01.08
Current record value


3-21898
Delirium
2001-11-30 18:56
2002.01.08
Is it possible to asynchronously run the stored procedure?


1-22113
Yuraz
2001-12-19 20:25
2002.01.08
Brothers why


1-22039
Yuri btr
2001-12-18 10:46
2002.01.08
Form





afrikaans albanian Arabic armenian azerbaijani basque belarusian bulgarian catalan Chinese (Simplified) Chinese (Traditional) croatian Czech danish Dutch English estonian filipino finnish French
galician georgian German greek haitian Creole hebrew Hindi hungarian icelandic Indonesian Irish italian Japanese Korean latvian lithuanian macedonian malay maltese norwegian
persian polish portuguese Romanian russian serbian slovak Slovenian Spanish swahili Swedish ภาษาไทย turkish Ukrainian urdu Tiếng Việt welsh yiddish bengali bosnian
cebuano Esperanto gujarati hausa hmong igbo javanese kannada Khmer lao latin maori marathi mongolian nepali punjabi somali tamil telugu yoruba
zulu
English French German Italian Portuguese Russian Spanish