Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #180604 > unrolled thread

Alternative for printer-driver-cups-pdf?

Started byFelix Natter <fnatter@gmx.net>
First post2017-05-02 18:20 +0200
Last post2017-05-03 11:40 +0200
Articles 8 — 4 participants

Back to article view | Back to linux.debian.user


Contents

  Alternative for printer-driver-cups-pdf? Felix Natter <fnatter@gmx.net> - 2017-05-02 18:20 +0200
    Re: Alternative for printer-driver-cups-pdf? Brian <ad44@cityscape.co.uk> - 2017-05-02 19:10 +0200
      Re: Alternative for printer-driver-cups-pdf? Felix Natter <fnatter@gmx.net> - 2017-05-02 20:10 +0200
        Re: Alternative for printer-driver-cups-pdf? Lisi Reisz <lisi.reisz@gmail.com> - 2017-05-02 20:30 +0200
        Re: Alternative for printer-driver-cups-pdf? Brian <ad44@cityscape.co.uk> - 2017-05-02 20:40 +0200
          Re: Alternative for printer-driver-cups-pdf? Felix Natter <fnatter@gmx.net> - 2017-05-03 11:30 +0200
        Re: Alternative for printer-driver-cups-pdf? Jason <electron@emypeople.net> - 2017-05-02 21:10 +0200
          Re: Alternative for printer-driver-cups-pdf? Felix Natter <fnatter@gmx.net> - 2017-05-03 11:40 +0200

#180604 — Alternative for printer-driver-cups-pdf?

FromFelix Natter <fnatter@gmx.net>
Date2017-05-02 18:20 +0200
SubjectAlternative for printer-driver-cups-pdf?
Message-ID<tCIGS-AC-15@gated-at.bofh.it>
hello Debian users!

does anybody know an alternative for PDF printing (from any application
that can print) to printer-driver-cups-pdf?

The output of printer-driver-cups-pdf (in jessie and sid)
is really bad, see:
http://www2.inf.fh-brs.de/~fnatte2s/freeplane.pdf
(might not be viewable by in-browser pdf-viewer, save and open with
evince/okular to see the broken content: jagged edges, useless font rendering)

The application I am using (Freeplane 1.6) cannot produce PDFs on its
own (due to incompatibility with the new SVG rendering).

There was a bug #847462, but it's resolved and didn't seem to help.

Any hints?

Cheers and Best Regards,
-- 
Felix Natter

[toc] | [next] | [standalone]


#180607

FromBrian <ad44@cityscape.co.uk>
Date2017-05-02 19:10 +0200
Message-ID<tCJth-17y-37@gated-at.bofh.it>
In reply to#180604
On Tue 02 May 2017 at 18:12:18 +0200, Felix Natter wrote:

> does anybody know an alternative for PDF printing (from any application
> that can print) to printer-driver-cups-pdf?
> 
> The output of printer-driver-cups-pdf (in jessie and sid)
> is really bad, see:
> http://www2.inf.fh-brs.de/~fnatte2s/freeplane.pdf
> (might not be viewable by in-browser pdf-viewer, save and open with
> evince/okular to see the broken content: jagged edges, useless font rendering)
> 
> The application I am using (Freeplane 1.6) cannot produce PDFs on its
> own (due to incompatibility with the new SVG rendering).
> 
> There was a bug #847462, but it's resolved and didn't seem to help.
> 
> Any hints?

brian@desktop:~$ file freeplane.pdf 
freeplane.pdf: PostScript document text conforming DSC level 3.0

Do you want to start again? :)

What application produced this PostScript file?

-- 
Brian.

[toc] | [prev] | [next] | [standalone]


#180611

FromFelix Natter <fnatter@gmx.net>
Date2017-05-02 20:10 +0200
Message-ID<tCKpk-1FQ-21@gated-at.bofh.it>
In reply to#180607

[Multipart message — attachments visible in raw view] — view raw

hello Brian,

Brian <ad44@cityscape.co.uk> writes:
> On Tue 02 May 2017 at 18:12:18 +0200, Felix Natter wrote:
>
>> does anybody know an alternative for PDF printing (from any application
>> that can print) to printer-driver-cups-pdf?
>> 
>> The output of printer-driver-cups-pdf (in jessie and sid)
>> is really bad, see:
>> http://www2.inf.fh-brs.de/~fnatte2s/freeplane.pdf
>> (might not be viewable by in-browser pdf-viewer, save and open with
>> evince/okular to see the broken content: jagged edges, useless font rendering)
>> 
>> The application I am using (Freeplane 1.6) cannot produce PDFs on its
>> own (due to incompatibility with the new SVG rendering).
>> 
>> There was a bug #847462, but it's resolved and didn't seem to help.
>> 
>> Any hints?
>
> brian@desktop:~$ file freeplane.pdf 
> freeplane.pdf: PostScript document text conforming DSC level 3.0
>
> Do you want to start again? :)

I tried renaming the file to freeplane.ps, and get the same result when
viewing with evince ;-)

> What application produced this PostScript file?

Freeplane, a java mind map editor. I strongly assume that this is the
built-in java printing functionality. A screenshot of the printing
dialog is attached.

Thanks and Best Regards,
-- 
Felix Natter

[toc] | [prev] | [next] | [standalone]


#180612

FromLisi Reisz <lisi.reisz@gmail.com>
Date2017-05-02 20:30 +0200
Message-ID<tCKIF-1NJ-7@gated-at.bofh.it>
In reply to#180611
On Tuesday 02 May 2017 19:04:55 Felix Natter wrote:
> I tried renaming the file to freeplane.ps, and get the same result when
> viewing with evince ;-)

Renaming is generally a waste of time in Linux, which looks at the file not 
the file extension.  You are thinking of Another OS. ;-)

Lisi

[toc] | [prev] | [next] | [standalone]


#180613

FromBrian <ad44@cityscape.co.uk>
Date2017-05-02 20:40 +0200
Message-ID<tCKSl-1R1-11@gated-at.bofh.it>
In reply to#180611
On Tue 02 May 2017 at 20:04:55 +0200, Felix Natter wrote:

> hello Brian,

Hello Felix.
 
> Brian <ad44@cityscape.co.uk> writes:
> > On Tue 02 May 2017 at 18:12:18 +0200, Felix Natter wrote:
> >
> >> does anybody know an alternative for PDF printing (from any application
> >> that can print) to printer-driver-cups-pdf?
> >> 
> >> The output of printer-driver-cups-pdf (in jessie and sid)
> >> is really bad, see:
> >> http://www2.inf.fh-brs.de/~fnatte2s/freeplane.pdf
> >> (might not be viewable by in-browser pdf-viewer, save and open with
> >> evince/okular to see the broken content: jagged edges, useless font rendering)
> >> 
> >> The application I am using (Freeplane 1.6) cannot produce PDFs on its
> >> own (due to incompatibility with the new SVG rendering).
> >> 
> >> There was a bug #847462, but it's resolved and didn't seem to help.
> >> 
> >> Any hints?
> >
> > brian@desktop:~$ file freeplane.pdf 
> > freeplane.pdf: PostScript document text conforming DSC level 3.0
> >
> > Do you want to start again? :)
> 
> I tried renaming the file to freeplane.ps, and get the same result when
> viewing with evince ;-)

Which you would. Renaming the file does not alter its contents. The
point is that freeplane file has not been produced by cups-pdf. It is
not (as you assert) the output of printer-driver-cups-pdf.
 
> > What application produced this PostScript file?
> 
> Freeplane, a java mind map editor. I strongly assume that this is the
> built-in java printing functionality. A screenshot of the printing
> dialog is attached.

If freeplane produced the PostScript file it is highly unlikely any
post-processing of it would produce any better output.

The print dialog is not quite gtkprint (see the one for Firefox or
Evince). Whatever it is doing, it does not appear to be producing a PDF
with the PDF printer it displays. (Producing a PDF is the raison d'être
for cups-pdf).

-- 
Brian.

[toc] | [prev] | [next] | [standalone]


#180628

FromFelix Natter <fnatter@gmx.net>
Date2017-05-03 11:30 +0200
Message-ID<tCYLD-3gi-7@gated-at.bofh.it>
In reply to#180613
Brian <ad44@cityscape.co.uk> writes:

> On Tue 02 May 2017 at 20:04:55 +0200, Felix Natter wrote:
>
>> hello Brian,
>
> Hello Felix.

hi Brian,

>> Brian <ad44@cityscape.co.uk> writes:
>> > On Tue 02 May 2017 at 18:12:18 +0200, Felix Natter wrote:
>> >
>> >> does anybody know an alternative for PDF printing (from any application
>> >> that can print) to printer-driver-cups-pdf?
>> >> 
>> >> The output of printer-driver-cups-pdf (in jessie and sid)
>> >> is really bad, see:
>> >> http://www2.inf.fh-brs.de/~fnatte2s/freeplane.pdf
>> >> (might not be viewable by in-browser pdf-viewer, save and open with
>> >> evince/okular to see the broken content: jagged edges, useless font rendering)
>> >> 
>> >> The application I am using (Freeplane 1.6) cannot produce PDFs on its
>> >> own (due to incompatibility with the new SVG rendering).
>> >> 
>> >> There was a bug #847462, but it's resolved and didn't seem to help.
>> >> 
>> >> Any hints?
>> >
>> > brian@desktop:~$ file freeplane.pdf 
>> > freeplane.pdf: PostScript document text conforming DSC level 3.0
>> >
>> > Do you want to start again? :)
>> 
>> I tried renaming the file to freeplane.ps, and get the same result when
>> viewing with evince ;-)
>
> Which you would. Renaming the file does not alter its contents. The
> point is that freeplane file has not been produced by cups-pdf. It is
> not (as you assert) the output of printer-driver-cups-pdf.
>
>> > What application produced this PostScript file?
>> 
>> Freeplane, a java mind map editor. I strongly assume that this is the
>> built-in java printing functionality. A screenshot of the printing
>> dialog is attached.
>
> If freeplane produced the PostScript file it is highly unlikely any
> post-processing of it would produce any better output.

Makes sense, yes. On the other hand, Freeplane's print preview looks
just fine.

> The print dialog is not quite gtkprint (see the one for Firefox or
> Evince). Whatever it is doing, it does not appear to be producing a PDF
> with the PDF printer it displays. (Producing a PDF is the raison d'être
> for cups-pdf).

Yes, if I do not select [x] Print to File, no output is produced. So it
looks like the openjdk print dialog is broken, or wrongly used.

The print preview in Freeplane looks fine, though. So I will have a look
at the source code and maybe work with the openjdk people on fixing
this.

Many Thanks and Best Regards,
-- 
Felix Natter

[toc] | [prev] | [next] | [standalone]


#180615

FromJason <electron@emypeople.net>
Date2017-05-02 21:10 +0200
Message-ID<tCLlo-2hy-13@gated-at.bofh.it>
In reply to#180611
On Tue, 02 May 2017 20:04:55 +0200
Felix Natter <fnatter@gmx.net> wrote:

>hello Brian,
>
>Brian <ad44@cityscape.co.uk> writes:
>> On Tue 02 May 2017 at 18:12:18 +0200, Felix Natter wrote:
>>
>>> does anybody know an alternative for PDF printing (from any application
>>> that can print) to printer-driver-cups-pdf?
>>> 
>>> The output of printer-driver-cups-pdf (in jessie and sid)
>>> is really bad, see:
>>> http://www2.inf.fh-brs.de/~fnatte2s/freeplane.pdf
>>> (might not be viewable by in-browser pdf-viewer, save and open with
>>> evince/okular to see the broken content: jagged edges, useless font
>>> rendering)
>>> 
>>> The application I am using (Freeplane 1.6) cannot produce PDFs on its
>>> own (due to incompatibility with the new SVG rendering).
>>> 
>>> There was a bug #847462, but it's resolved and didn't seem to help.
>>> 
>>> Any hints?
>>
>> brian@desktop:~$ file freeplane.pdf 
>> freeplane.pdf: PostScript document text conforming DSC level 3.0
>>
>> Do you want to start again? :)
>
>I tried renaming the file to freeplane.ps, and get the same result when
>viewing with evince ;-)
>
>> What application produced this PostScript file?
>
>Freeplane, a java mind map editor. I strongly assume that this is the
>built-in java printing functionality. A screenshot of the printing
>dialog is attached.
>
>Thanks and Best Regards,


According to the screenshot you included, the 'Print to File' option is
checked. This is my guess as to why a postscript was produced. That option
should not be checked when printing to cups-pdf.

Jason

[toc] | [prev] | [next] | [standalone]


#180632

FromFelix Natter <fnatter@gmx.net>
Date2017-05-03 11:40 +0200
Message-ID<tCYVk-3kJ-27@gated-at.bofh.it>
In reply to#180615
hi Jason,

Jason <electron@emypeople.net> writes:
> According to the screenshot you included, the 'Print to File' option is
> checked. This is my guess as to why a postscript was produced. That option
> should not be checked when printing to cups-pdf.

Yes, that makes sense. If I don't check this, no output is produced.
So the openjdk printing dialog seems broken or is wrongly used.
But there is some hope: The print preview looks fine.

I will work with Freeplane and OpenJDK to try to fix this.

Many Thanks and Best Regards,
-- 
Felix Natter

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web