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.55 MB
Time: 0.019 c
14-22333
Nikolay
2001-11-03 20:12
2002.01.08
$$$$$$$$$$$$$$$$$$$$$$$$$$


1-22075
that
2001-12-19 12:40
2002.01.08
Tables in MS Word


6-22298
karafuto
2001-10-11 14:00
2002.01.08
Why do you need TIdAntiFreeze (InDy)?


7-22423
Alex_K_xelA
2001-09-21 18:55
2002.01.08
Reading sectors from a CD-ROM


3-21969
Kozhanov
2001-11-30 18:31
2002.01.08
OBDC driver options





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 Thai turkish Ukrainian urdu Vietnamese 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