Printing with CUPS seems to be broken within the GNUstep apps

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Printing with CUPS seems to be broken within the GNUstep apps

Patrick
Hi All,

- General description :
When I try to print a document from any GNUstep app, the "print" menu
is highlighted, but nothing happens... The Print panel is never shown.
No error message.
Cups printing is working well with others apps (ImageMagick,
Firefox...) but not in GNUstep.

- Steps to reproduce :
1) openapp GWorkspace
2) Select a .txt document in the FileViewer
3) Main menu : "print" or #p

IDEM with Ink :
1) openapp Ink
2) Open a txt document (#o)
3) When the document is loaded, main menu : "print" or #p

I tried to find a test in GSTest, but I did not find any matching the
printing process.

- My context :
OS : GNU/Linux Ubuntu 18.04 (LTS)
WM : WindowMaker
GNUstep - All packages from the official deb packages of that distro :
Base : 1.25.1
Gui & Back : 0.26.2-3
Make : 2.7.0-3

Any Idea ?

Bye !

P.S. : I apologize my bad english. I hope to be clear enough.


_______________________________________________
Discuss-gnustep mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep
Reply | Threaded
Open this post in threaded view
|

Re: Printing with CUPS seems to be broken within the GNUstep apps

Yavor Doganov-3
В Sun, 08 Jul 2018 17:45:45 +0200, Patrick CARDONA написа:

> - My context :
> OS : GNU/Linux Ubuntu 18.04 (LTS)
> WM : WindowMaker GNUstep - All packages from the official deb packages
> of that distro :
> Base : 1.25.1 Gui & Back : 0.26.2-3 Make : 2.7.0-3

Strange; I cannot reproduce on Debian unstable with approximately the
same versions (only -back is 0.26.2-4 but it has unrelated changes).

> Any Idea ?

Try running Ink with --GNU-Debug=GSPrinting or perhaps additionally with
--GNU-Debug=GSCUPS and see what it prints.


_______________________________________________
Discuss-gnustep mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep
Reply | Threaded
Open this post in threaded view
|

Re: Printing with CUPS seems to be broken within the GNUstep apps

Patrick
Hi Yavor,

First, thanks for the quick answer.
I did what You suggested, et I got good info about the dialog with CUPS :

> $ openapp Ink --GNU-Debug=GSPrinting --GNU-Debug=GSCSP
> 2018-07-08 18:54:05.099 Ink[9530:9530] styleoffsets ... guessing offsets
> 2018-07-08 18:54:05.101 Ink[9530:9530] styleoffsets ... guessing offsets
> 2018-07-08 18:55:03.805 Ink[9530:9530] Bundle has not been loaded.  Loading
> in progress...
> 2018-07-08 18:55:03.807 Ink[9530:9530] User did not set a printing bundle,
> trying till something works
> 2018-07-08 18:55:03.807 Ink[9530:9530] Looking for GSCUPS.bundle
> 2018-07-08 18:55:03.821 Ink[9530:9530] Loaded printing bundle at
> /usr/lib/GNUstep/Bundles/GSPrinting/GSCUPS.bundle
> 2018-07-08 18:55:03.940 Ink[9530:9530] The default printer name is
> EPSON-XP-510-Series
>

But the Print panel still don't show up...

On 2018-07-08 17:58:11 +0200 Yavor Doganov <[hidden email]> wrote:

> В Sun, 08 Jul 2018 17:45:45 +0200, Patrick CARDONA написа:
>
>> - My context :
>> OS : GNU/Linux Ubuntu 18.04 (LTS)
>> WM : WindowMaker GNUstep - All packages from the official deb packages
>> of that distro :
>> Base : 1.25.1 Gui & Back : 0.26.2-3 Make : 2.7.0-3
>
> Strange; I cannot reproduce on Debian unstable with approximately the same
> versions (only -back is 0.26.2-4 but it has unrelated changes).
>
>> Any Idea ?
>
> Try running Ink with --GNU-Debug=GSPrinting or perhaps additionally with
> --GNU-Debug=GSCUPS and see what it prints.
>
>
> _______________________________________________
> Discuss-gnustep mailing list
> [hidden email]
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep
>


_______________________________________________
Discuss-gnustep mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep
Reply | Threaded
Open this post in threaded view
|

Re: Printing with CUPS seems to be broken within the GNUstep apps

Yavor Doganov-3
В Sun, 08 Jul 2018 19:26:02 +0200, Patrick CARDONA написа:

>> Ink[9530:9530] Loaded printing bundle at
>> /usr/lib/GNUstep/Bundles/GSPrinting/GSCUPS.bundle 2018-07-08
>> 18:55:03.940 Ink[9530:9530] The default printer name is
>> EPSON-XP-510-Series

> But the Print panel still don't show up...

Very odd... it seems like some method does not return or it gets stuck
somewhere.  Could you please run it again like this:

$ Ink --GNU-Debug=NSPrinting

(No need to prepend "openapp" since the executable, or at least a symlink
pointing to it, is in your PATH.)


_______________________________________________
Discuss-gnustep mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep
Reply | Threaded
Open this post in threaded view
|

Re: Printing with CUPS seems to be broken within the GNUstep apps

Patrick
On 2018-07-09 00:12:12 +0200 Yavor Doganov <[hidden email]> wrote:

> В Sun, 08 Jul 2018 19:26:02 +0200, Patrick CARDONA написа:
>
>>> Ink[9530:9530] Loaded printing bundle at
>>> /usr/lib/GNUstep/Bundles/GSPrinting/GSCUPS.bundle 2018-07-08
>>> 18:55:03.940 Ink[9530:9530] The default printer name is
>>> EPSON-XP-510-Series
>
>> But the Print panel still don't show up...
>
> Very odd... it seems like some method does not return or it gets stuck
> somewhere.  Could you please run it again like this:
>
> $ Ink --GNU-Debug=NSPrinting
>
> (No need to prepend "openapp" since the executable, or at least a symlink
> pointing to it, is in your PATH.)
>

Hi Yavor,

This way, no significative message is shown :

> patrick@patrick-Macmini1:~$ Ink --GNU-Debug=NSPrinting
> 2018-07-09 14:22:53.871 Ink[2739:2739] styleoffsets ... guessing offsets
> 2018-07-09 14:22:53.874 Ink[2739:2739] styleoffsets ... guessing offsets
> -

Then nothing happens.

I will do the things about TextEdit and I will send You the answer soon.

Bye!
Patrick


_______________________________________________
Discuss-gnustep mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep