Re: Okular vs printer, okular 1, printer 0
On Tuesday 24 February 2015 11:20:19 Petter Adsen wrote:
> On Tue, 24 Feb 2015 11:14:23 -0500
>
> Gene Heskett <gheskett@wdtv.com> wrote:
> > On Tuesday 24 February 2015 10:16:24 Gene Heskett wrote:
> > > On Tuesday 24 February 2015 04:47:14 Curt wrote:
> > > > On 2015-02-24, Gene Heskett <gheskett@wdtv.com> wrote:
> > > > >> Why not print a page range?
> > > >
> > > > I fail to understand why you don't print a test page from the CUPS
> > > > interface, after having selected duplex printing as a default
> > > > printing option. I don't know what this would tell us if it did
> > > > (or didn't) work, but less trees might suffer in the interim.
> > > > Perhaps duplex printing as a default option in the CUPS web
> > > > interface is unavailable.
> > >
> > > Apparently that only works using the brother drivers. I can run it
> > > in postscript mode too, but in that mode the cups test page crashes
> > > it, and it crashes at the end of any print job sent to it, in all
> > > cases needing a power cycle to restore it for the next job.
> > >
> > > The brother drivers have all the duplex operations visible in the
> > > localhost:631 access, but there is absolutely no facility in wheezy
> > > that can use it, those options are in the printer dialogs presented
> > > by any other program from geany thru evince and okular, all show
> > > the duplex operations ghosted out and unavailable.
> > >
> > > The point being that all of this worked flawlessly for
> > > ubuntu-10.04.4 LTS.
> > >
> > > Someone said that libpoppler can't do duplex, but wheezy is
> > > supposed to be newer. I have the old drive mounted, so I'll just go
> > > check libpoppler versions.
> > >
> > > Here is what I can find:
> > > root@coyote:/etc/default# ls -l `locate poppler|grep '/opt' -`
> > > -rwxr-xr-x 1 root root 2127836 Jun 11 2012
> > > /mnt/ltsslash/opt/calibre/lib/libpoppler.so.25 -rwxr-xr-x 1 root
> > > root 2127836 Jun 11 2012 /opt/calibre/lib/libpoppler.so.25
> > > -rw-r--r-- 1 root root 49076 Nov 25
> > > 10:23 /opt/trinity/lib/libpoppler-tqt.so lrwxrwxrwx 1 root
> > > root 23 Nov 25 10:22 /opt/trinity/lib/libpoppler-tqt.so.0 ->
> > > libpoppler-tqt.so.0.0.0 -rw-r--r-- 1 root root 49080 Nov 25
> > > 10:23 /opt/trinity/lib/libpoppler-tqt.so.0.0.0
> > > root@coyote:/etc/default# ls -l `locate poppler|grep '/usr/lib' -`
> > > -rw-r--r-- 1 root root 167400 Nov 8
> > > 2011 /mnt/ltsslash/usr/lib/kde4/okularGenerator_poppler.so
> > > lrwxrwxrwx 1 root root 24 Apr 4
> > > 2013 /mnt/ltsslash/usr/lib/libpoppler-glib.so.4 ->
> > > libpoppler-glib.so.4.0.0 -rw-r--r-- 1 root root 191248 Mar 28
> > > 2013 /mnt/ltsslash/usr/lib/libpoppler-glib.so.4.0.0 lrwxrwxrwx 1
> > > root root 23 Aug 15 2014 /mnt/ltsslash/usr/lib/libpoppler-qt4.so.3
> > > -> libpoppler-qt4.so.3.2.0 -rw-r--r-- 1 root root 453476 Mar 28
> > > 2013 /mnt/ltsslash/usr/lib/libpoppler-qt4.so.3.2.0 lrwxrwxrwx 1
> > > root root 19 Apr 4 2013 /mnt/ltsslash/usr/lib/libpoppler.so.5 ->
> > > libpoppler.so.5.0.0 -rw-r--r-- 1 root root 1853748 Mar 28
> > > 2013 /mnt/ltsslash/usr/lib/libpoppler.so.5.0.0 lrwxrwxrwx 1 root
> > > root 38 Sep 4
> > > 08:20 /mnt/ltsslash/usr/lib/pymodules/python2.6/poppler.so
> > > -> /usr/lib/pyshared/python2.6/poppler.so -rw-r--r-- 1 root root
> > > 66896 Jan 25
> > > 2010 /mnt/ltsslash/usr/lib/pyshared/python2.6/poppler.so lrwxrwxrwx
> > > 1 root root 24 Feb 3
> > > 22:15 /usr/lib/i386-linux-gnu/libpoppler-glib.so.8 ->
> > > libpoppler-glib.so.8.2.0 -rw-r--r-- 1 root root 238940 Mar 25
> > > 2013 /usr/lib/i386-linux-gnu/libpoppler-glib.so.8.2.0 lrwxrwxrwx 1
> > > root root 23 Mar 25
> > > 2013 /usr/lib/i386-linux-gnu/libpoppler-qt4.so.3 ->
> > > libpoppler-qt4.so.3.7.0 -rw-r--r-- 1 root root 345440 Mar 25
> > > 2013 /usr/lib/i386-linux-gnu/libpoppler-qt4.so.3.7.0 lrwxrwxrwx 1
> > > root root 20 Feb 3 22:15 /usr/lib/i386-linux-gnu/libpoppler.so.19
> > > -> libpoppler.so.19.0.0 -rw-r--r-- 1 root root 1922928 Mar 25
> > > 2013 /usr/lib/i386-linux-gnu/libpoppler.so.19.0.0 -rw-r--r-- 1 root
> > > root 17768 Jun 3
> > > 2012
> > > /usr/lib/i386-linux-gnu/tumbler-1/plugins/tumbler-poppler-thumbnailer.s
> > >o -rw-r--r-- 1 root root 184568 Nov 28
> > > 2012 /usr/lib/kde4/okularGenerator_poppler.so
> > >
> > > This obviously shows the version trinity installed, which I did
> > > yesterday because wheezy's kmail version 1.13.7 has broken font
> > > rendering in the message window as described in about 15 posts to
> > > the list with no solution that worked offered. I'd file a bug but
> > > my wall is so full of scribbled passwds that I cannot find the one
> > > I want the next time I need it now.
> > >
> > > kmail 1.9.5, except for a lack of a dbus port, just works.
> > >
> > > The above list is a bit confusing but if I can get that so.25
> > > version linked correctly, it would be my next attempt to solve this
> > > problem. Someone said that it was the wheezy version of it that
> > > cannot do duplex. It works, with the above gotcha's if I use a
> > > postscript level 1 driver in cups. Does anyone have a clue how old
> > > level 1 is? Several decades. We already had level 2 support in
> > > ghostscript when I built it at version 5.02 on an amiga in the
> > > middle 90's. I have a copy of the postscript level 3 specification
> > > on the shelf above me thats at least 15 years old, printed from
> > > that same amiga.
> > >
> > > I see by the above list that kde has its own, less than 10% of the
> > > size of the so.25 that calibre uses.
> >
> > FWIW, I loaded a pdf into calibre, it showed me only a thumbnail of
> > the cover page, and I crashed it looking for a print this option.
> > Apparently it can only deal with e-pubs and I don't have any
> > according to locate.
>
> <snip>
>
> This is a little besides the problem, but here
>
> https://archive.org/details/AnsiCProgrammingLanguage
>
> you can find an epub of the K&R book so you can test it in Calibre.
>
> HTH.
Not sure Petter, I went & got it, found the print dialog, and using the
foomatic postscript driver printed the first 6 pages thinking the cover page,
in color would test the color. However it skipped the cover page, printing
the next 5, and of course the printer is crashed. Will take a powerdown
reset to recover. But before printing with the postscript driver, I checked
to see if the duplex options were available in a ppd that uses brothers own
linux drivers, which did duplex just fine on ubu 10.04.4 LTS. They were
still ghosted.
So nothing is changed, and I am reminded of Thomas Edison's remark when yet
another attempt to make a light bulb failed. "well, now we know 10,000 ways
it doesn't work" ;)
Thanks Petter
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
Reply to: