Re: Advice on how to add the Epson SL-D700

Solomon Peachy <[email protected]>
Newsgroups gmane.linux.printing.gimp-print.devel
Message-ID <[email protected]>
On Mon, Aug 02, 2021 at 07:36:10PM -0400, Solomon Peachy wrote:
>  ESC(U == 02 02 01 a0 05 (== 1440dpi base, 720p, 720v, 1440h)
>  ESC(U == 02 02 02 a0 05 (== 1440dpi base, 720p, 720v, 720h)
>  ESC(U == 04 04 02 a0 05 (== 1440dpi base, 360p, 360v, 720h)

I'm trying to translate this into the <resolution> table in the 
model.xml file.

Am I correct in translating these as:

  <resolution translate="text" name="1440x720sw" text="1440 x 720">
   <physicalResolution>1440 720</physicalResolution>
   <parameter type="integer" name="escp2_base_res">720</parameter>
  </resolution>
  <resolution translate="text" name="720x720sw" text="720 x 720">
   <physicalResolution>720 720</physicalResolution>
   <parameter type="integer" name="escp2_base_res">720</parameter>
  </resolution>
  <resolution translate="text" name="720x360sw" text="720 x 360">
   <physicalResolution>720 360</physicalResolution>
   <parameter type="integer" name="escp2_base_res">360</parameter>
  </resolution>

(I only included the properties that apply to my question..)

Meanwhile, I've managed to mangle the XML files into enough semblance of 
shape that the dumps at least look sane, though there remains one major 
difference in Gutenprint's output vs what the Windows driver emits:

 Gutenprint:

   1b  (  S 08 00 e0 10 00 00 80 16 00 00 
   1b  (  C 04 00 80 16 00 00 
   1b  (  c 08 00 30 fd ff ff 5a 19 00 00 

 Windows:

   1b  (  S 08 00  d4 10 00 00 64 2e 52 00 

If I'm reading this correctly, it looks like the windows driver always 
tells the printer it has a huuuuuge paper size (6x7480") and doesn't 
set any explicit page height/margins, whereas Gutenprint does.

This is in addition to the stuff that the Windows drivers send that I'm 
still unable to interpret:

    HD 03 00 00 03 02           # set driver info, can ignore?
    LB 03 00 00 01 01           # sent before FP?

    1b  (  g 04 00 30 2d 00 00   # sent after the "print method" and "dot size" commands

I've hard-coded the LB into <preInitRemoteSequence> but that ESC(g still 
eludes explanation.

Thanks,

 - Solomon
-- 
Solomon Peachy			      pizza at shaftnet dot org (email&xmpp)
                                      @pizza:shaftnet dot org   (matrix)
High Springs, FL                      speachy (libra.chat)

_______________________________________________
Gimp-print-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gimp-print-devel
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEE3H5Sx9DyiyB5hnENrGLLO/XVulEFAmEQEuMACgkQrGLLO/XV
ulFSeQ/9G0CEg6ggLOCVLn+SuN6jcmFcysbxEv6tLlQsUXVfdguwzGQnOgvxuebj
H73FIbqcNTNIqjs7ILNZnNXqjPARd2KMvC+RuOisA2jxzIYYCqZhuA3PjFnNJ0wE
bkj/cFfQ7r5bZgC+mCU9TPBRnU8mXLLTEMbb7vRO7TPFRNCC/Ci8z3n8eYrLkG+R
Bl1KhMdeA9YWemNjPqY+9aIJIgN+HWqckGhNUHiungv/fQG1B6cxfESSPg4nGzjG
gurYAq2Yf86GeQnnCPrL88Y/vJ5MBwxB0JpM+1Ipa4Z32jKwsl+tsO0DHnqBtD5T
E95K/6/njE0tPLZw+fDnYhjQLwJ9ALg7TXIb09iBYMVJxbwk2eAOHnurs1h5VUVh
4YUhL5QBxQrs+bjH6HC7GiMRxC2uHdbZ4mgePhGbWshUoTExRiHL2+fTfr/mIf4Q
MIKiNB6WTC/PEU+8FaXRGj376XJhDp10vLfZ+ZlJJfdmAL9yXEbvejWgL5ml+Wou
YBLh/LAfY6d0lNHygMKajfgatjzDZDrNb8OocAzPIibffcynry4eEPo+jt/g7zkn
j3FLWKbImKM/Irg2yeLUd9i7YIGQVDD0qGpwCtpjqGDZ+7uMG33ShwtqMHlAKaiS
Gp0QH7QrsAPGmpnIfRiPTHDwkO2pY3pcwycTq4h3+fISE+cqAwg=
=6mlC
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.