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 Sun, Aug 08, 2021 at 01:22:45PM -0400, Solomon Peachy wrote:
>   <resolution translate="text" name="720x360sw" text="720 x 360">
>    <physicalResolution>720 360</physicalResolution>
>    <parameter type="integer" name="escp2_base_res">360</parameter>
>   </resolution>

FWIW, there's a special-case in adjusted_vertical_resolution() that seems to
things on this printer for 720x360.  I commented it out for now.

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

This turns out to be the cutter control, in units of 2880 rows/inch.  
Without it the printer cuts and stops after something like a single 
inch.

The good news is that with some hacked-in changes, I'm now able to 
print, and the color channels appear to be correct!  The bad news is 
that the ink drop/density levels are _quite_ wonky, but that was 
expected.

More seriously, there is a major page margin definition problem in play, 
and I'm not sure how to tackle it.

I think I need to add about an inch of vertical margin to start of the 
printed page, eg a 6x8" print becomes a 6x9", but with the first inch 
blank. This seems to jive with what I see in the windows dump, with the 
first vertical position command at position 1374:

   1b  (  v 04 00  5e 05 00 00   # == 1374

But from gutenprint it's this:

   1b  (  v 04 00 00 00 00 00

Interestingly, this extra inch-ish gets automatically cut off by the 
printer, and that explicit (g cutter control is relative to this first 
cut point, so as far as the user is concerned, what comes out is a 
perfect 6x8" print.

Is there a simple way to force-add this margin from within the escp2 
driver in a way that won't get reported back to the user as a page 
margin?

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/XVulEFAmEQUrAACgkQrGLLO/XV
ulHmKA/+Pa9nuXztanJpyuBeWzZUkn51tD0/SZRkmlTZcRAoZTw+wQQUqaUvJkrq
UC78jj4Srh5Sczi7b8WrKbanDFf8qevI4QPWDHRTklXPLFs7VUJfzm0uDE+u6Aob
8u/If+L9TV91jvf+9AS83swgcVU4mKH7H3BI67QPUMxQf3hQ0PtYL43C2q82XjtK
XXL6a1tAH5RFoWAQCkIDb4M4p7zWEDW+dUO7hQuot6k4r3PsJep17uGfHK4HPjXs
bVTV6D/x4hky9tFkbbB5r2/mWVSfotd4hC2pSTNrSFAFZBmnkKmRNHElk+wZK41n
TyTFfc/sIzFmOBECpj+/uQLDAZGtRaExVZaqMc/QB31L87EOAgTt8p+6SsQrxg/n
EG+fvoiRqNoHZc0ZxCJo+ctbV0e0UfvN7yZDJAUoHeZxBzcfFsP35pVh/S5GPJKy
H1u4OTwONaJWo43u/C7yQhes2TGy1XLbFRDx95gx//KRakMFWL/bgMvAzyiVoN6/
684Fg+YemOkUS6JBtmM7rMe+Cc98iM8uhFzdT7bO2S/XUzFxvO3NQcFsoh+o7kY2
8IDhpNqaRB6xRcJejra76RCy5nPsE2ysGPIXp2sqORc4+Iz1pwKxKcHuEMoCnW1n
FpDMROWMOGBBnkIhiWxvtPlHHvVoOrJIZo5cn1Q9jPXkq0UNwsY=
=+Dfu
-----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.