|
From: Solomon P. <pi...@sh...> - 2021-08-02 23:36:21
|
On Mon, Aug 02, 2021 at 02:38:57PM -0400, Solomon Peachy wrote:
> I do have sample output and parse-escp2 seems to accept it, though I still
> need to make sense of it all. :)
Ok, I've worked my way through the dumps, and I've learned a few more
things:
ESC(D == 40 38 50 14 (== printhead res 180*720)
ESC(i == 00 (== default weave?)
ESC(S == d4 10 00 00 64 23 52 00 (== 6" width, 7480" length!)
FP 03 00 00 ec 00 (== zero margin offset of -19, or -0.75mm)
HQ mode:
ESC(U == 02 02 01 a0 05 == 1440dpi base, 720p, 720v, 1440h
ESC(m == 70 (PrintMethod in media tables)
ESC(e == 00 23 (escp2_ink_type in resolutions table, == 35pl?)
Standard mode:
ESC(U == 02 02 02 a0 05 (== 1440dpi base, 720p, 720v, 720h)
ESC(m == 50
ESC(e == 00 22 (== 34)
Fast mode:
ESC(U == 04 04 02 a0 05 (== 1440dpi base, 360p, 360v, 720h)
ESC(m == 40
ESC(e == 00 21 (== 33)
There are no "PP", "PM", "MI", "EX", or "SN" remote commands in the
dumps, nor anything that indicates explicit print size or cutter
control, just the typical ESCi ESC(v, ESC($ sequences until the "JE"
command after a form feed which I presume cuts+ejects the print.
Also, I see these in the dump, but I haven't found how to interpret yet:
HD 03 00 00 03 02 # set driver info ?
LB 03 00 00 01 01 # sent before FP
1b ( g 04 00 30 2d 00 00 # seen right before image data starts
I can insert the LB sequence into an inputslots InitSequence, but I'm
not sure what to do about that ESC(g sequence.
- Solomon
--
Solomon Peachy pizza at shaftnet dot org (email&xmpp)
@pizza:shaftnet dot org (matrix)
High Springs, FL speachy (libra.chat)
|