Re: Questions about Gutenprint

שחר בן חמו <[email protected]> Tue, 3 Jun 2025 15:04:59 +0300
Newsgroups gmane.linux.printing.gimp-print.devel
Message-ID <CAKiRKx0dQc79Aqkvq6-5Ku16bHAe-P2DUifhHkXb9oX8b0_7PQ@mail.gmail.com>
--===============8769323641385561306==
Content-Type: multipart/alternative; boundary="0000000000002ec4910636a9b1d7"

--0000000000002ec4910636a9b1d7
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Dear Till,

Thank you for explaining the WSL-based approach. I have two follow-up
questions:

1) The WSL method makes sense in a development environment, but for a
commercial photobooth product I need something easy for customers to
install with minimum effort as possible. Do you know of any examples where
a company has packaged Gutenprint under WSL (or a similar Linux-in-Windows
driver stack) as a polished, customer-friendly installer? Is it possible?

2) From your experience, do you think working with DEVMODE or Win32 APIs
might work with the original driver for my needs (2=C3=976 strip-cut option
automatically)?

=E2=80=AB=D7=91=D7=AA=D7=90=D7=A8=D7=99=D7=9A =D7=99=D7=95=D7=9D =D7=92=D7=
=B3, 3 =D7=91=D7=99=D7=95=D7=A0=D7=99 2025 =D7=91-14:11 =D7=9E=D7=90=D7=AA =
=E2=80=AATill Kamppeter=E2=80=AC=E2=80=8F <=E2=80=AA
[email protected]=E2=80=AC=E2=80=8F>:=E2=80=AC

> You can run Linux printer drivers under Windows. The central component
> needed
> for that is WSL (Windows Subsystem for Linux). With this the driver work
> in a
> Linux environment embedded in Windows and makes itself available to
> Windows'
> printing environment as an emulation of a driverless IPP printer
> (Mopria-compatible).
>
> See this HOWTO:
>
> https://openprinting.github.io/wsl-printer-app/
>
> and also the older version, without Snap and compiling components, so
> easier in
> case you need to modify Gutenprint:
>
> https://openprinting.github.io/wsl-printer-app-compile/
>
> I hope this helps
>
>     Till
>
>
> On 6/1/25 13:34, =D7=A9=D7=97=D7=A8 =D7=91=D7=9F =D7=97=D7=9E=D7=95 wrote=
:
> > Dear Gutenprint Team,
> >
> > I=E2=80=99m developing a Windows-based photobooth product and am curren=
tly
> exploring
> > options for automatic printing with strip cutting (specifically, cuttin=
g
> a 4x6"
> > photo into two 2x6" strips) using dye-sublimation printers such as the
> DNP DS-
> > RX1/DS620, Mitsubishi CP-D80/D90, and Citizen CX/CY series.
> >
> > I understand that Gutenprint offers support for some of these printers
> on Linux
> > via CUPS and has implemented advanced capabilities such as multi-cut an=
d
> strip
> > printing through custom PPDs. I=E2=80=99ve read references to Gutenprin=
t=E2=80=99s
> support for
> > enabling 2-inch cutting with these printers, which is exactly what I
> need.
> >
> > However, since my target environment is Windows, I am trying to
> determine
> > whether Gutenprint or any related components (e.g., via a
> CUPS-on-Windows setup,
> > or exporting PPD capabilities to another stack) could be feasible in my
> case.
> > Alternatively, I=E2=80=99m considering using the Windows Print Spooler =
and Win32
> API
> > with the manufacturers=E2=80=99 official drivers, potentially modifying=
 DEVMODE
> settings
> > to toggle the cutter programmatically.
> >
> > Given that background, I=E2=80=99d like to ask:
> >
> >   *
> >
> >     Do you believe Gutenprint (or any part of its architecture) can be
> >     effectively used on Windows to enable the kind of strip cutting I
> need?
> >
> >   *
> >
> >     Is there any way to leverage the Gutenprint drivers or PPD logic
> outside of
> >     CUPS (e.g., as a reference for building Windows-compatible
> workflows)?
> >
> >   *
> >
> >     In your experience, does the Windows Print Spooler/DEVMODE approach
> offer
> >     enough control to reliably achieve 2x6 cutting, or is Gutenprint
> (via CUPS/
> >     Linux) a more stable route?
> >
> > Any guidance or thoughts you could share would be deeply appreciated.
> I'm happy
> > to provide more technical details if needed.
> >
> > Thank you for your time and for the fantastic work on Gutenprint.
> >
> > Best regards,
> > Shahar.
> >
> >
> >
> > _______________________________________________
> > Gimp-print-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/gimp-print-devel
>
>

--0000000000002ec4910636a9b1d7
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"rtl"><p dir=3D"ltr">Dear Till,</p>
<p dir=3D"ltr">Thank you for explaining the WSL-based approach. I have two =
follow-up questions:</p><p dir=3D"ltr">1)=C2=A0The WSL method makes sense i=
n a development environment, but for a commercial photobooth product I need=
 something easy for customers to install with minimum effort as possible. D=
o you know of any examples where a company has packaged Gutenprint under WS=
L (or a similar Linux-in-Windows driver stack) as a polished, customer-frie=
ndly installer? Is it possible?</p><p dir=3D"ltr">2)=C2=A0From your experie=
nce, do you think working with=C2=A0DEVMODE or Win32 APIs might work with t=
he original driver for my needs (2=C3=976 strip-cut option automatically)?<=
/p></div><br><div class=3D"gmail_quote gmail_quote_container"><div dir=3D"r=
tl" class=3D"gmail_attr">=E2=80=AB=D7=91=D7=AA=D7=90=D7=A8=D7=99=D7=9A =D7=
=99=D7=95=D7=9D =D7=92=D7=B3, 3 =D7=91=D7=99=D7=95=D7=A0=D7=99 2025 =D7=91-=
14:11 =D7=9E=D7=90=D7=AA =E2=80=AATill Kamppeter=E2=80=AC=E2=80=8F &lt;=E2=
=80=AA<a href=3D"mailto:[email protected]">[email protected]<=
/a>=E2=80=AC=E2=80=8F&gt;:=E2=80=AC<br></div><blockquote class=3D"gmail_quo=
te" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204=
);padding-left:1ex">You can run Linux printer drivers under Windows. The ce=
ntral component needed <br>
for that is WSL (Windows Subsystem for Linux). With this the driver work in=
 a <br>
Linux environment embedded in Windows and makes itself available to Windows=
&#39; <br>
printing environment as an emulation of a driverless IPP printer <br>
(Mopria-compatible).<br>
<br>
See this HOWTO:<br>
<br>
<a href=3D"https://openprinting.github.io/wsl-printer-app/" rel=3D"noreferr=
er" target=3D"_blank">https://openprinting.github.io/wsl-printer-app/</a><b=
r>
<br>
and also the older version, without Snap and compiling components, so easie=
r in <br>
case you need to modify Gutenprint:<br>
<br>
<a href=3D"https://openprinting.github.io/wsl-printer-app-compile/" rel=3D"=
noreferrer" target=3D"_blank">https://openprinting.github.io/wsl-printer-ap=
p-compile/</a><br>
<br>
I hope this helps<br>
<br>
=C2=A0 =C2=A0 Till<br>
<br>
<br>
On 6/1/25 13:34, =D7=A9=D7=97=D7=A8 =D7=91=D7=9F =D7=97=D7=9E=D7=95 wrote:<=
br>
&gt; Dear Gutenprint Team,<br>
&gt; <br>
&gt; I=E2=80=99m developing a Windows-based photobooth product and am curre=
ntly exploring <br>
&gt; options for automatic printing with strip cutting (specifically, cutti=
ng a 4x6&quot; <br>
&gt; photo into two 2x6&quot; strips) using dye-sublimation printers such a=
s the DNP DS- <br>
&gt; RX1/DS620, Mitsubishi CP-D80/D90, and Citizen CX/CY series.<br>
&gt; <br>
&gt; I understand that Gutenprint offers support for some of these printers=
 on Linux <br>
&gt; via CUPS and has implemented advanced capabilities such as multi-cut a=
nd strip <br>
&gt; printing through custom PPDs. I=E2=80=99ve read references to Gutenpri=
nt=E2=80=99s support for <br>
&gt; enabling 2-inch cutting with these printers, which is exactly what I n=
eed.<br>
&gt; <br>
&gt; However, since my target environment is Windows, I am trying to determ=
ine <br>
&gt; whether Gutenprint or any related components (e.g., via a CUPS-on-Wind=
ows setup, <br>
&gt; or exporting PPD capabilities to another stack) could be feasible in m=
y case. <br>
&gt; Alternatively, I=E2=80=99m considering using the Windows Print Spooler=
 and Win32 API <br>
&gt; with the manufacturers=E2=80=99 official drivers, potentially modifyin=
g DEVMODE settings <br>
&gt; to toggle the cutter programmatically.<br>
&gt; <br>
&gt; Given that background, I=E2=80=99d like to ask:<br>
&gt; <br>
&gt;=C2=A0 =C2=A0*<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0Do you believe Gutenprint (or any part of its archi=
tecture) can be<br>
&gt;=C2=A0 =C2=A0 =C2=A0effectively used on Windows to enable the kind of s=
trip cutting I need?<br>
&gt; <br>
&gt;=C2=A0 =C2=A0*<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0Is there any way to leverage the Gutenprint drivers=
 or PPD logic outside of<br>
&gt;=C2=A0 =C2=A0 =C2=A0CUPS (e.g., as a reference for building Windows-com=
patible workflows)?<br>
&gt; <br>
&gt;=C2=A0 =C2=A0*<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0In your experience, does the Windows Print Spooler/=
DEVMODE approach offer<br>
&gt;=C2=A0 =C2=A0 =C2=A0enough control to reliably achieve 2x6 cutting, or =
is Gutenprint (via CUPS/<br>
&gt;=C2=A0 =C2=A0 =C2=A0Linux) a more stable route?<br>
&gt; <br>
&gt; Any guidance or thoughts you could share would be deeply appreciated. =
I&#39;m happy <br>
&gt; to provide more technical details if needed.<br>
&gt; <br>
&gt; Thank you for your time and for the fantastic work on Gutenprint.<br>
&gt; <br>
&gt; Best regards,<br>
&gt; Shahar.<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; _______________________________________________<br>
&gt; Gimp-print-devel mailing list<br>
&gt; <a href=3D"mailto:[email protected]" target=3D"_b=
lank">[email protected]</a><br>
&gt; <a href=3D"https://lists.sourceforge.net/lists/listinfo/gimp-print-dev=
el" rel=3D"noreferrer" target=3D"_blank">https://lists.sourceforge.net/list=
s/listinfo/gimp-print-devel</a><br>
<br>
</blockquote></div>

--0000000000002ec4910636a9b1d7--


--===============8769323641385561306==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============8769323641385561306==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Gimp-print-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gimp-print-devel

--===============8769323641385561306==--