X2Go Bug report logs - #740
Ship a default, small-footprint, F/LOSS PDF viewer with x2goclient

Package: x2goclient; Maintainer for x2goclient is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goclient is src:x2goclient.

Reported by: Stefan Baur <X2Go-ML-1@baur-itcs.de>

Date: Mon, 12 Jan 2015 10:45:02 UTC

Severity: wishlist

Done: Stefan Baur <X2Go-ML-1@baur-itcs.de>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#740; Package x2goclient. (Mon, 12 Jan 2015 10:45:02 GMT) (full text, mbox, link).


Acknowledgement sent to Stefan Baur <X2Go-ML-1@baur-itcs.de>:
New Bug report received and forwarded. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Mon, 12 Jan 2015 10:45:02 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.x2go.org (full text, mbox, reply):

From: Stefan Baur <X2Go-ML-1@baur-itcs.de>
To: submit@bugs.x2go.org
Subject: Ship a default, small-footprint, F/LOSS PDF viewer with x2goclient
Date: Mon, 12 Jan 2015 11:41:34 +0100
-----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-----


Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#740; Package x2goclient. (Mon, 12 Jan 2015 12:10:02 GMT) (full text, mbox, link).


Acknowledgement sent to Mike Gabriel <mike.gabriel@das-netzwerkteam.de>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Mon, 12 Jan 2015 12:10:02 GMT) (full text, mbox, link).


Message #10 received at 740@bugs.x2go.org (full text, mbox, reply):

From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: Stefan Baur <X2Go-ML-1@baur-itcs.de>, 740@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#740: Ship a default, small-footprint, F/LOSS PDF viewer with x2goclient
Date: Mon, 12 Jan 2015 12:08:24 +0000
[Message part 1 (text/plain, inline)]
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=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

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

+1 from my side

Mike

-- 

DAS-NETZWERKTEAM
mike gabriel, 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.xfb
[Message part 2 (application/pgp-signature, inline)]

Acknowledgement sent to Stefan Baur <X2Go-ML-1@baur-itcs.de>:
Extra info received and filed, but not forwarded. (Tue, 27 Jan 2015 15:00:02 GMT) (full text, mbox, link).


Message #13 received at 740-quiet@bugs.x2go.org (full text, mbox, reply):

From: Stefan Baur <X2Go-ML-1@baur-itcs.de>
To: x2go-dev@lists.x2go.org, 740-quiet@bugs.x2go.org
Subject: Re: [X2Go-Dev] Printing Feature
Date: Tue, 27 Jan 2015 15:54:21 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 27.01.2015 um 15:33 schrieb Madog:

First, please don't crosspost, especially not to unrelated lists.
I am answering on X2Go-Dev, as this should be the most appropriate one
since you're actually referencing a bug that is still open (albeit
without you knowing about it by the time you wrote your mail).


> I think my issue is a development issue, but may be wrong.  I used
> to be able to print with x2go (Wheezy server, windows client
> 4.0.2.1 at the moment) so that print jobs automatically routed to
> my default printer.
> 
> For some time, the print links come down to my x2go client, but I
> have either to open the link in adobe and print manually from
> Adobe, or set the x2go session preferences to first open the print
> job as a pdf on my client and then print from adobe.  I've tried
> older version of adobe (as a test, not a "desired" solution) with
> the same results, though it's possible that this issue started with
> comparatively recent Adobe versions.
> 
> Am hoping at some point to be able to print off of x2go and have
> things print directly to the printer without the extra print clicks
> in Adobe. Obviously not "a hair on fire", but something that made
> x2go more user friendly.

There is bug #740 to deal with that.
http://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=740

In the meantime, you could just try the manual approach, download the
SumatraPDF portable exe, tell x2goclient.exe to run that instead of
Adobe, and pick the proper parameters (see bug report for the
available options).

Also, you're a few client versions behind, probably worth to upgrade.

- -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)

iQEcBAEBAgAGBQJUx6adAAoJEG7d9BjNvlEZGRAH/jS9mDc10R/PPzflhO0tp3lu
KgDEIzb/9EwLVoyt8UiBp8olsi0AhQu7q1qThtGsGY0b7Fu4wiEqA6cUu1SFfMb+
xKA3zSAMMq/z30lxTwlphMGG5brn/181JoIgbnH+w8jik+pfzc4JWp9Lxp2Ca2Qb
HFUVdLuz8CdJoC9qF0h4S244QedbQGSeca3jlighdEWdfKGT7zv7MUyZuOGY5djG
fn7UpshIJl1qSiHkteEOBsapwExFNnRgNSjS4FmLcoGOdk/fSR9ityiibRBgv3hj
8pudJPU8COgnCzAGBtGdrjMmOjcoJjlhJ0EuT0pi8/y8Jn8+uDzvzOQtg1wXMTY=
=E/K7
-----END PGP SIGNATURE-----


Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#740; Package x2goclient. (Tue, 26 Sep 2017 08:45:01 GMT) (full text, mbox, link).


Acknowledgement sent to Stefan Baur <kontakt@baur-itcs.de>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Tue, 26 Sep 2017 08:45:02 GMT) (full text, mbox, link).


Message #18 received at 740@bugs.x2go.org (full text, mbox, reply):

From: Stefan Baur <kontakt@baur-itcs.de>
To: 740@bugs.x2go.org, Oleksandr Shneyder <o.shneyder@phoca-gmbh.de>
Subject: Ship a default, small-footprint, F/LOSS PDF viewer with x2goclient
Date: Tue, 26 Sep 2017 10:27:26 +0200
Alex and I had a look at this bug while @ X2Go: The Gathering 2017.

We currently have a drop-down list of printers to choose from, and the
option to specify a custom print command instead (using a checkbox and a
text field).

The idea would be:
- SumatraPDF becomes the new default PDF viewer for X2GoClient for
  Windows and gets bundled with it, just like VcXsrv.
- You will be able to de-select it during X2GoClient installation, if
  you prefer using your own PDF viewer and want to save a few megabytes
  of storage.
- There will be the following options using SumatraPDF "behind the
  scenes" in the print dialog:
  - An option to always print to the system default printer
  - The current "choose a printer" dialog, which will set a default for
    X2GoClient only
  - An option to always prompt the user to select a printer when a print
    job is being sent.
- The option to specify a custom print command in the print dialog will
  remain. It will default to a SumatraPDF call with sample parameters on
  Windows systems.
- The option to specify a viewer command for PDFs in the "Show as PDF"
  dialog will remain, and will default to SumatraPDF on Windows systems.

This feature request ist currently awaiting funding.
It is expected to take no longer than 8 hours to implement, once funded.

-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


Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#740; Package x2goclient. (Wed, 11 Oct 2017 10:35:02 GMT) (full text, mbox, link).


Acknowledgement sent to Stefan Baur <X2Go-ML-1@baur-itcs.de>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Wed, 11 Oct 2017 10:35:02 GMT) (full text, mbox, link).


Message #23 received at 740@bugs.x2go.org (full text, mbox, reply):

From: Stefan Baur <X2Go-ML-1@baur-itcs.de>
To: 740@bugs.x2go.org, Oleksandr Shneyder <o.shneyder@phoca-gmbh.de>
Subject: Re: [X2Go-Dev] Bug#740: Ship a default, small-footprint, F/LOSS PDF viewer with x2goclient
Date: Wed, 11 Oct 2017 12:26:50 +0200
[Message part 1 (text/plain, inline)]
Am 26.09.2017 um 10:27 schrieb Stefan Baur:

> This feature request ist currently awaiting funding.
> It is expected to take no longer than 8 hours to implement, once funded.

I can report that we have a sponsor for 4 out of those 8 hours.  Now for
the remaining 4 ... any volunteers? ;-)

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

[signature.asc (application/pgp-signature, attachment)]

Acknowledgement sent to Stefan Baur <X2Go-ML-1@baur-itcs.de>:
Extra info received and filed, but not forwarded. (Tue, 30 Jan 2024 13:40:01 GMT) (full text, mbox, link).


Message #26 received at 740-quiet@bugs.x2go.org (full text, mbox, reply):

From: Stefan Baur <X2Go-ML-1@baur-itcs.de>
To: 740-quiet@bugs.x2go.org
Subject: Migrating to gitlab/Closing/Archiving
Date: Tue, 30 Jan 2024 14:37:33 +0100
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


Marked Bug as done Request was from Stefan Baur <X2Go-ML-1@baur-itcs.de> to 740-quiet@bugs.x2go.org. (Tue, 30 Jan 2024 13:40:02 GMT) (full text, mbox, link).


Notification sent to Stefan Baur <X2Go-ML-1@baur-itcs.de>:
Bug acknowledged by developer. (Tue, 30 Jan 2024 13:40:02 GMT) (full text, mbox, link).


Bug archived. Request was from Stefan Baur <X2Go-ML-1@baur-itcs.de> to 740-quiet@bugs.x2go.org. (Tue, 30 Jan 2024 13:40:02 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Sat Apr 20 02:24:47 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.