From unknown Fri Apr 24 15:56:14 2026
MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
X-Loop: owner@bugs.x2go.org
From: owner@bugs.x2go.org (X2Go Bug Tracking System)
Subject: Bug#740 closed by Stefan Baur <X2Go-ML-1@baur-itcs.de> (Migrating
 to gitlab/Closing/Archiving)
Message-ID: <handler.740.q740.170662185831640.notifdone@bugs.x2go.org>
References: <724c673b-9eab-4ccf-8258-69d08bf52ebf@baur-itcs.de>
X-X2go-PR-Message: they-closed 740
X-X2go-PR-Package: x2goclient
X-X2go-PR-Source: x2goclient
Date: Tue, 30 Jan 2024 13:40:02 +0000
Content-Type: multipart/mixed; boundary="----------=_1706622002-32001-0"

This is a multi-part message in MIME format...

------------=_1706622002-32001-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=utf-8

This is an automatic notification regarding your Bug report
which was filed against the x2goclient package:

#740: Ship a default, small-footprint, F/LOSS PDF viewer with x2goclient

It has been closed by Stefan Baur <X2Go-ML-1@baur-itcs.de>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Stefan Baur <X2Go-ML-1=
@baur-itcs.de> by
replying to this email.


--=20
740: https://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=3D740
X2Go Bug Tracking System
Contact owner@bugs.x2go.org with problems

------------=_1706622002-32001-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 740-quiet) by bugs.x2go.org; 30 Jan 2024 13:37:38 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,
	RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED
	autolearn=ham autolearn_force=no version=3.4.2
Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.24])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 2154F5DA21
	for <740-quiet@bugs.x2go.org>; Tue, 30 Jan 2024 14:37:34 +0100 (CET)
Received: from [192.168.0.25] ([178.202.75.45]) by mrelayeu.kundenserver.de
 (mreue108 [213.165.67.113]) with ESMTPSA (Nemesis) id
 1Mzz2e-1rAEwd2tOw-00x1Yx for <740-quiet@bugs.x2go.org>; Tue, 30 Jan 2024
 14:37:33 +0100
Message-ID: <724c673b-9eab-4ccf-8258-69d08bf52ebf@baur-itcs.de>
Date: Tue, 30 Jan 2024 14:37:33 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
From: Stefan Baur <X2Go-ML-1@baur-itcs.de>
Content-Language: en-US
To: 740-quiet@bugs.x2go.org
Subject: Migrating to gitlab/Closing/Archiving
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Provags-ID: V03:K1:CeobARPouZ0OxZvBlxjCkF9mrMrTh0CXsPHAVADvSvneiaDc1VF
 rTLqA+kDFVnlBozbv/cb/UMQppAcD6KBojgrKgjILsaGR6vPYMTbyGkOiaUdG61Y0M7S96D
 Owfc9nGsmV7v8UzfAfjIWana0VN3KkDYa3pL8GDyDul5fw7R9vANd0yhKA/SI0adyExTZDt
 HtPQmTgPhwUSRsUB0DWnw==
UI-OutboundReport: notjunk:1;M01:P0:ax+LE2zJ23g=;8rmtm4gef16L8Wzyr/x2ai5NinV
 KT9kQr0pmL9qaHym7SGWVSAaj/yJeKzCu2hHNyKi5+5UQbAy/Vmwarhwxt0lLVUqdreSeZDQ9
 usRQpVj+JnBLZU4ujiCiC9cOeealafOeQAd835WCCHu1/az4JF0fevP0knilw9H5ZeFNd6Bxo
 xnfNnm7F53+qx0P00abRL+qiJTa0yAfgBLl/bhPb6z6P9kYDWIDmmVlI3u3eeFbbIfRdXiBie
 2HW7ih6mD067h2tNisEYB1KwrH6TcWyylmerRjZQuCStcPJyc8oWyz8vhXEN+Zo8alROedHam
 yVSWl1fX5ebnqLQjwnFlrsiirChjRr6PelDNYzkO7/ZG5DlAceSuFi6xE5wMLHBBIhRQDHGDY
 qOjXcpB4UEy+Pf8dGy3APlNxSEoyKRIOiS9nmz3LiD0/iehP6JpgcdSe5u+WBsG+TSO/FzXEY
 QDVHaEklqozlZ08PcPjR9B0tgSRYiWtM2oWrBnRSKf4jbsgp9pv83QXYgMwfMoIZNJhQViGMx
 sVvEGawOWhG6dHn8SsqloJ5mnIrw4ozcJZ5tj2u1fwPrFSXV+iwWU7H+YhnXhgZDGfaFB+TD1
 eVmOjeKdM13cst6E6BkvryITMJc5qpsMyaeYP3yuUeVOnNtoW1MxDSj0GYDuguEMOxDI86tlg
 +N8EmmE5pU6NaKCp5VlFck85Pww/QdwuK+iYPU6ZzhEQgUJoS6E4lwZ5JqN7RZLDgqmNND8IR
 FsrUI1XSFM2vONNjwzerMxoGjfhTqcHIpI2/zJyxBqaSH2GXONW47gPaacUJKNfucrWCXj5f3
 S1SsGce7WfDOEMychuzPK6fpYPb5ASQvgGuznbZliBBjdVpFQmZRS5Vk+fFyegKur8A5qH7cp
 rKK7whPldM6IjvQ==

Control: close -1
Control: archive -1

This feature request is now being tracked over on our Gitlab instance: 
<https://gitlab.x2go.org/x2go/client/x2goclient/-/issues/3>

Kind Regards,
Stefan Baur
-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243


------------=_1706622002-32001-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.x2go.org; 12 Jan 2015 10:40:09 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED
	autolearn=ham version=3.3.2
Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.130])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 0AFF65DEAA
	for <submit@bugs.x2go.org>; Mon, 12 Jan 2015 11:40:06 +0100 (CET)
Received: from [192.168.0.3] ([78.43.170.197]) by mrelayeu.kundenserver.de
 (mreue004) with ESMTPSA (Nemesis) id 0M9tU4-1Y3zeX2Rz6-00B6hn for
 <submit@bugs.x2go.org>; Mon, 12 Jan 2015 11:40:05 +0100
Message-ID: <54B3A4DE.8030307@baur-itcs.de>
Date: Mon, 12 Jan 2015 11:41:34 +0100
From: Stefan Baur <X2Go-ML-1@baur-itcs.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
MIME-Version: 1.0
To: submit@bugs.x2go.org
Subject: Ship a default, small-footprint, F/LOSS PDF viewer with x2goclient
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Provags-ID:  V03:K0:EmRh6wZO03NJ+HzRt8nKjlDpQj+WZKgWHCkMBB3R1Ux3/Kx2TWl
 lYMyAGDkHc/mFck1/4Ge0YNCjfyAzsLd+PW7Zs4MsMwVxjtgrhGjw44S7D8nQxyY9KyBZuj
 Knxwci17bkiH8BMa3IaGLTSqyH0JU4AwgW3mIdDIWpj+oWrLMBHfW7gbhCkm0jWdYE+BCbj
 /4Ug1Nq8ePPSDqpgXw5fg==
X-UI-Out-Filterresults: notjunk:1;

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

package: x2goclient
severity: wishlist

Hi, this is actually a sub-bug of
http://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=738.

I am fling it as a separate bug because I believe this particular part
of Bug 738 can be resolved rather quickly.

Currently, X2GoClient offers the free choice of X-Servers to be used
with it, but ships with VcXsrv as default and has some "sane" default
settings configured for it, too, so X2GoClient works out of the box.
Whoever wishes to deviate from that path, is, however, free to do so -
X2GoClient has an option to specify a custom X-Server of the user's
choice.

I would like to take a similar approach for printing.
At present, no default PDF viewer is shipped with X2GoClient, and the
user has to fiddle with whichever PDF viewer they choose to get the
parameters right.

SumatraPDF is a free (F/LOSS) PDF viewer that offers a portable
version, i.e. it is a single, self-contained executable that doesn't
require any installation.

It also supports a wide range of command line parameters so it is
ideal for scripted background use (like "open PDF, print to default
printer, close application").

Quoting from http://www.sumatrapdfreader.org/manual.html:

> Printing related cmd-line arguments: -print-to-default $file.pdf
> prints a PDF file on a default printer -print-to $printer_name
> $file.pdf prints a PDF on a given printer -print-dialog $file.pdf
> opens a PDF file and shows a print dialog to select printer and
> printing options -exit-on-print when -print-to-default or -print-to
> is used, will
exit after printing

So, basically, "-exit-on-print -print-to-default" is all we'd need for
basic functionality.
If we want to do "enumPrinters" within X2GoClient,
"-exit-on-print -print-to $printer" will also already work.
If we want to leave printer selection to SumatraPDF, "-print-dialog"
has to be used, and we'd probably have to submit a patch to the
SumatraPDF project that "-exit-on-print" be made to work with
"-print-dialog" as well, as the current description seems to indicate
that this is not the case.

Thus, I would ask that some helpful soul steps up and please
a) includes SumatraPDF's standalone executable in the Windows
X2GoClient package
b) adds the proper code to X2GoClient so client-side printing defaults
to using SumatraPDF in the X2Go program directory unless the user has
created a custom configuration.

The rationale for this bug is that adding this feature would increase
usability of X2GoClient just as shipping a default X-Server does.

Portable version of SumatraPDF can be found here:
https://kjkpub.s3.amazonaws.com/sumatrapdf/rel/SumatraPDF-3.0.zip
Sources are here:
https://github.com/sumatrapdfreader/sumatrapdf

- -Stefan


- -- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQEcBAEBAgAGBQJUs6TeAAoJEG7d9BjNvlEZZvQH/ikythSLIBTJ9cCN7/qPik3T
k0iB5JE9N3cCc9MyWfQU46oI7k5r+M4aN692hVrAdFraEfeAxdVomtzTKI5/v4IP
f8/HlvW8lU+b/8Wnx/YNFuzvAIK4mM+9gno+t9JnFLptI1P3iAd6tQ5R563NKk1y
2AYM3unC24xzFXIbFNsFMA6mT7Ow94K8mGMALn/H3j1kGtbmF/FeuTHKmrmC/w7F
e3WO8oXjNxL+PBumCb5mZngk3Y8aECHJSQVks8710MTyYNoJRCgYqx4hOAC3ObhJ
J6+hTbretKya2/ba/meka/v7hU0ze2ahevpH7y9y1aMAtVIi8laEcQ+k4TPwvr4=
=af+t
-----END PGP SIGNATURE-----

------------=_1706622002-32001-0--
