Re: Init sequence to disable PW sensor on EPSON

Solomon Peachy <[email protected]> Sun, 3 Apr 2022 12:59:38 -0400
Newsgroups gmane.linux.printing.gimp-print.devel
Message-ID <[email protected]>
On Sun, Apr 03, 2022 at 11:30:56AM -0400, Robert Krawitz wrote:
> It looks to me like it is the right one.  I found this in packet #634.  This is a response from the
> printer.  1.3.0 looks like the right device; I'm just not sure how to extract the data from the host
> to the printer.

Oh yuck.  Wireshark thinks the packets are Bluetooth HCI, for some reason.  

There's only a handful of OUT packets. #639 is the @EJL header:

0010                                    00 00 00 1b 01   ................
0020   40 45 4a 4c 20 31 32 38 34 2e 34 0a 40 45 4a 4c   @EJL 1284.4.@EJL
0030   0a 40 45 4a 4c 0a                                 .@EJL.

0000001b0140454a4c20313238342e340a40454a4c0a40454a4c0a

But starting at #663 things get more interesting, with the REMOTE command:

0010                                    40 40 00 49 00   .......I...@@.I.
0020   00 1b 28 52 08 00 00 52 45 4d 4f 54 45 31 53 4e   ..(R...REMOTE1SN
0030   2e 00 00 13 0b 00 de 0a d8 04 18 01 1b 02 f0 00   ................
0040   00 00 00 00 e8 05 00 00 00 00 00 00 01 01 01 01   ................
0050   01 01 01 01 01 01 00 02 01 00 00 00 00 02 f1 03   ................
0060   1b 00 00 00                                       ....

0010                                    40 40 00 0c 00   ...........@@...
0020   00 0d 0a 0d 0a 0d 0a                              .......

4040004900001b285208000052454d4f544531534e2e0000130b00de0ad80418011b02f00000000000e805000000000000010101010101010101010002010000000002f1031b000000
4040000c00000d0a0d0a0d0a

The rest of the packets are a series of command-responses, presumably querying printer parameters.

(Now I'm idly wondering if it wouldn't make sense to try and write an 
 ESC/P dissector for Wireshark..)

 - 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/XVulEFAmJJ0ncACgkQrGLLO/XV
ulHt9g/9H9Thqu/xT0HRirZJOzUvIulJMIVJX2GZRPg5I9Sui08YZLLnxqT/96Mp
r2kh50456PUH9VbofEKj9z+ix7u1GgrIFniQSs5yIpTMGPFC2opneT8gulIyG4JU
fQ6wdf6AYf3aHAumBAroBSdlZhpNZuWHQTVRwG3rU35yWJRbSyufKSk3/VILfGE3
0tFQyOtPHwJijk0TFEdS83CxV1laCFQdIE+KmVqorMzxeraGYN4vjkM8MO7K9dPM
Kjw8JqnPV/e7rYErFn4oie11vjkroS5ZC2cBR2T18AL1Xzjwt18Beo+YYMv/RQBe
+mccqr8ETHwcNQrMw3/5tE9YQgWfRAJ+VVBSkYqmgsqedH3d4HqYVcVScFyX8LLA
2kQ+HKWT7xPXAXcjfE1i0mE9GuhP2tTnWoHw93Nil9Y0N5fsUbFkRVXO1EduyYB8
F+pWWOdmTYBWWJm6LysiH1eKCBQp4p99d/9r+BwsIIHIuFXgl5zLoNPN6fmGLmR6
62JrNf44p0Mu8+w0hVoY8PRIFhmEFhjU0ZJK/gKb9kwHPgXhceRYcN1PEfCWf82W
pu1ChAC98hNTYReTjVKUt96egN3Mqti6sgp0Evivdxt+3YXOEfWQ1MFQS4D3HyrA
W33jw80gIOe7TNjNqSUEoz1ld7iWAR2K9062j3VopUZfq1OCw/8=
=Nmgz
-----END PGP SIGNATURE-----