From unknown Mon Mar 16 04:10:08 2026
X-Loop: owner@bugs.x2go.org
Subject: Bug#740: [X2Go-Dev] Bug#740: Ship a default, small-footprint, F/LOSS PDF viewer with x2goclient
Reply-To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 740@bugs.x2go.org
Resent-From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Mon, 12 Jan 2015 12:10:02 +0000
Resent-Message-ID: <handler.740.B740.142106450720247@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 740
X-X2Go-PR-Package: x2goclient
X-X2Go-PR-Keywords: 
Received: via spool by 740-submit@bugs.x2go.org id=B740.142106450720247
          (code B ref 740); Mon, 12 Jan 2015 12:10:02 +0000
Received: (at 740) by bugs.x2go.org; 12 Jan 2015 12:08:27 +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 freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id A92755DEAA
	for <740@bugs.x2go.org>; Mon, 12 Jan 2015 13:08:25 +0100 (CET)
Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98])
	by freya.das-netzwerkteam.de (Postfix) with ESMTPS id 463BE19F8;
	Mon, 12 Jan 2015 13:08:25 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 3BA533C051;
	Mon, 12 Jan 2015 13:08:25 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de
Received: from grimnir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id Ns6sg20p0r5s; Mon, 12 Jan 2015 13:08:25 +0100 (CET)
Received: from grimnir.das-netzwerkteam.de (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTPS id ED0583B9F8;
	Mon, 12 Jan 2015 13:08:24 +0100 (CET)
Received: from bifrost.das-netzwerkteam.de (bifrost.das-netzwerkteam.de
 [178.62.101.154]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP;
 Mon, 12 Jan 2015 12:08:24 +0000
Date: Mon, 12 Jan 2015 12:08:24 +0000
Message-ID: <20150112120824.Horde.GR5SbUkGngxyZ_44usjtnA2@mail.das-netzwerkteam.de>
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: Stefan Baur <X2Go-ML-1@baur-itcs.de>, 740@bugs.x2go.org
In-Reply-To: <54B3A4DE.8030307@baur-itcs.de>
User-Agent: Internet Messaging Program (IMP) H5 (6.2.2)
Accept-Language: en,de
Organization: DAS-NETZWERKTEAM
X-Originating-IP: 178.62.101.154
X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101
 Firefox/32.0 Iceweasel/32.0
Content-Type: multipart/signed; boundary="=_g2oNK9Mr4yppPb20esRKmw1";
 protocol="application/pgp-signature"; micalg=pgp-sha1
MIME-Version: 1.0

This message is in MIME format and has been PGP signed.

--=_g2oNK9Mr4yppPb20esRKmw1
Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Stefan,

On  Mo 12 Jan 2015 11:41:34 CET, Stefan Baur wrote:

> package: x2goclient
> severity: wishlist
>
> Hi, this is actually a sub-bug of
> http://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=3D738.
>
> 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

This sounds like a good approach. As you noticed I am not so convinced=20=
=20
about=20the new print concept proposal of yours, but having a PDF viewer=20=
=20
that=20looks the same for every deployed Windows X2Go Client is indeed a=20=
=20
means=20for increasing usability.

+1 from my side

Mike

--=20

DAS-NETZWERKTEAM
mike=20gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.x=
fb

--=_g2oNK9Mr4yppPb20esRKmw1
Content-Type: application/pgp-signature
Content-Description: Digitale PGP-Signatur
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAABAgAGBQJUs7k4AAoJEJr0azAldxsxvVgQAKw0gcFEFKQjf8FkOEKEASrW
G0fhkAQ94FF9We7wumhV9DUh3N3H0B361JhJPXXxeOJaV6P+y8lt0uMTuo6RgBrG
BwFcnRl27EEKD5iwmLx7DLVNM5hl7sPpGGRm8jBvhCR1zlsufEagXpx6+rWM6epv
2FWgxGfPvMfDbaIfPgFJGc509/nZGogrTCs/lxALTLb1T6ObN3qXknGDCDuyWpfy
NTW3lwwderSkGy5+b4khPcDcz4TiW5Mi84SlDvnkW/aB5TQ40+PKCQyS4y8QzHUp
0RnqKF6qGRdwwymsN+e7XJmZjzLbuo2AJjciZd8QEEiVSQHSFAuF6L17m1rpbZjS
C48uMj4VPywVqkGE6ZY7HlzO95mpUjYqy7F9ueTX6nRlhhzdV17zHyaqcowb+bnz
m2JRROSGbFiSqyP6DnZk35YATZMJ48L+sGzlC8arz+ojS9s8I8TdZlOLpE/W/ueT
2QagjNKV8gYD6FrWpAggXwLjDGhKH0+V1a+X3Vnr0cMQKqDXIUF90YuPhrtimynm
IGryjBKgmDqpOkFCq/Gg9Lpa9QK5fEw/98eEhCRiTYeuA3+4S0IcjWkYP0UZIHEa
8nPDEb/k3iVY2eJqrvSZUXYixocPeX/RW1VfTQzkjJ/8rHY+XdpzUrul1fvVolkl
epi2IENGbfKmsnN2t4Av
=XHMo
-----END PGP SIGNATURE-----

--=_g2oNK9Mr4yppPb20esRKmw1--
