Re: Print with mupdf?

2018-09-21 Thread tomas
On Fri, Sep 21, 2018 at 09:55:02PM +0200, to...@tuxteam.de wrote:

[...]

>   http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Whitepapers_For_Reference
> 
> ...it doesn't download for me at the moment (server connection times
> out). I'll try later.

Ah, got an alternative:

  https://open.library.ubc.ca/media/download/pdf/831/1.0090209/2

Cheers
-- t


signature.asc
Description: Digital signature


Re: Print with mupdf?

2018-09-21 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, Sep 21, 2018 at 04:04:06PM +, Curt wrote:

[...]

> https://pdfs.semanticscholar.org/8898/277e40cca945a674f6765ed31d733dd90aaa.pdf

If I got it right, it's

  "On-Line Smooth Trajectory Planning for Manipulators"

which doesn't seem to be accessible from the link given at linuxcnc.org.
I'm a bit pressed ATM, but I'll see later.

> As I'm something of a jerk myself I found the paper of particular
> relevance.
> 
> YMMV.
> 
> ;-)

;-)

Cheers
- -- t
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlulTeEACgkQBcgs9XrR2kYdfwCfQhmZ1/QvClmEEGFo6CkCBfwq
DtIAn2s24M7arxofQj+MQ9vxnukoTR2b
=MUY9
-END PGP SIGNATURE-



Re: Print with mupdf?

2018-09-21 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, Sep 21, 2018 at 10:08:44AM -0400, Gene Heskett wrote:

[...]

> 

That would be

  http://batman.mech.ubc.ca/~ial/publication/theses/sonja.pdf

in

  http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Whitepapers_For_Reference

...it doesn't download for me at the moment (server connection times
out). I'll try later.

I'll have a look at the other things too.

Cheers
- -- t
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlulTJYACgkQBcgs9XrR2kaLpgCffgYcjGI1YSj/WNDM/Hi0KrkI
lRMAn2hBvh+s+qRapsslJOsfJxVQK1/7
=b6IJ
-END PGP SIGNATURE-



Re: Print with mupdf?

2018-09-21 Thread Curt
On 2018-09-21,   wrote:
>
>> Probably a good question Tomas, but I've no recent experience with it. 
>> Installed now, and looking for a pdf to look at, I found the phd thesis 
>> of Sonja MacFarland, dated in 2001, that probably covers some of the 
>> math in the LinuxCNC trajectory planner, which was last updated about a 
>> year ago [...]
>
> This sounds interesting in itself. Care to share a link?
>

I thought so, too, but only managed to find this paper from 2003, written in
collaboration with Elizabeth Cross.

 Jerk-Bounded Manipulator Trajectory Planning:
 Design for Real-Time Applications

https://pdfs.semanticscholar.org/8898/277e40cca945a674f6765ed31d733dd90aaa.pdf

As I'm something of a jerk myself I found the paper of particular
relevance.

YMMV.

;-)

-- 
“An oak is a tree. A rose is a flower. A deer is an animal. A sparrow is a
bird. Russia is our fatherland. Death is inevitable.” Russian school book.



Re: Print with mupdf?

2018-09-21 Thread Gene Heskett
On Friday 21 September 2018 05:59:16 to...@tuxteam.de wrote:

> On Fri, Sep 21, 2018 at 05:30:22AM -0400, Gene Heskett wrote:
> > On Friday 21 September 2018 03:05:46 to...@tuxteam.de wrote:
> > > What's wrong with gv? [...]
> >
> > Probably a good question Tomas, but I've no recent experience with
> > it. Installed now, and looking for a pdf to look at, I found the phd
> > thesis of Sonja MacFarland, dated in 2001, that probably covers some
> > of the math in the LinuxCNC trajectory planner, which was last
> > updated about a year ago [...]
>
> This sounds interesting in itself. Care to share a link?
>


> > I see it has "print all", and "print-marked" options that use lpr,
> > so one would have to setup some defaults to make it use the correct
> > printer, and printer profile in a more than one printer environment.
> > Getting that /right/ might take some experimentation.
>
> Yes, but that'd be the Right Unix Way (TM), not every app bringing
> along its little world and trampling on other's front gardens >;-)

True.

> > It properly handled the graphics symbols commonly used in math, but
> > of what I looked at, no color graphics, so let me look at something
> > I am quite familiar with. But I wasn't able to navigate its broken
> > directory reader in its open selector to gain access to those docs.
> > Thats a showstopper. The slider that should allow one to scan a
> > directory tree alternates between a small marker one can drag with a
> > mouse, but on a second drag attempt it jumps to full height of the
> > buttons space, and allows no more scanning of the /usr/share/doc
> > directory while still in the a's. Total show stopper here if it's
> > incapable of navigating a directory with thousands of entries.
>
> I'll do some research on gv if nobody bears me to it. Gv builds on
> ghostscript and /should/ do color (famous last words)

I have no doubts it will do the color stuffs just fine. The code at its 
core is at least 30yo and did fine printing it to a cgp-220 ink 
squirter. Which had all the resolution of a 7 dot x 9 pin dot matrix pin 
pounder, so it did far more damage to the image than the code did.

It is the file open dialog that cripples it, sucking dead toads thru soda 
straws, but theres a move afoot on the left coast here to outlaw straws 
now. Probably another of PETA's wild ideas predicated on the toad being 
alive before it encountered the straw. :)

Since it (ghostscript) was purely a cli driven codebase 30 years ago, 
taking all its option settings from command line arguments, the trouble 
I encountered can be laid on the table in front of the coder who added 
the GUI file open dialog in more recent history. A quick look at "man 
gv" shows that the cli arguments have not all been stripped out. If 
curious try to see the diffs between gv -h, and ghostscript -h. I note 
that ghostscript still carry's the Artifex copyright notice:

gene@coyote:/media$ ghostscript -h
GPL Ghostscript 9.05 (2012-02-08)
Copyright (C) 2010 Artifex Software, Inc.  All rights reserved.

Whereas gv has even stripped that out. Both should be able to handle 
pdf's up to 1.3 but the pdf spec has been advanced since, I think to 
1.5? but don't have data to show that other than writing a script to get 
that from the headers of a quarter terabyte of pdf's I have here.

All this of coarse can be seen by any user who cares to look, so I'm 
carrying a bucket of very cold ashes to Newcastle with this post.

> cheers
> -- tomás

Take care now, Tomas.

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



Re: Print with mupdf?

2018-09-21 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, Sep 21, 2018 at 05:30:22AM -0400, Gene Heskett wrote:
> On Friday 21 September 2018 03:05:46 to...@tuxteam.de wrote:
> > What's wrong with gv? [...]

> Probably a good question Tomas, but I've no recent experience with it. 
> Installed now, and looking for a pdf to look at, I found the phd thesis 
> of Sonja MacFarland, dated in 2001, that probably covers some of the 
> math in the LinuxCNC trajectory planner, which was last updated about a 
> year ago [...]

This sounds interesting in itself. Care to share a link?

> I see it has "print all", and "print-marked" options that use lpr, so one 
> would have to setup some defaults to make it use the correct printer, 
> and printer profile in a more than one printer environment. Getting 
> that /right/ might take some experimentation.

Yes, but that'd be the Right Unix Way (TM), not every app bringing along
its little world and trampling on other's front gardens >;-)

> It properly handled the graphics symbols commonly used in math, but of 
> what I looked at, no color graphics, so let me look at something I am 
> quite familiar with. But I wasn't able to navigate its broken directory 
> reader in its open selector to gain access to those docs. Thats a 
> showstopper. The slider that should allow one to scan a directory tree 
> alternates between a small marker one can drag with a mouse, but on a 
> second drag attempt it jumps to full height of the buttons space, and 
> allows no more scanning of the /usr/share/doc directory while still in 
> the a's. Total show stopper here if it's incapable of navigating a 
> directory with thousands of entries.

I'll do some research on gv if nobody bears me to it. Gv builds on ghostscript
and /should/ do color (famous last words)

cheers
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlukwPQACgkQBcgs9XrR2kaohwCfcNF0dqqYcNLe6nudK9mRPCGY
4BQAn0cnkoIikoSM1xWdzxOjuXsJ1G4a
=RR44
-END PGP SIGNATURE-



Re: Print with mupdf?

2018-09-21 Thread Gene Heskett
On Friday 21 September 2018 03:05:46 to...@tuxteam.de wrote:

> On Thu, Sep 20, 2018 at 12:15:40PM -0400, Gene Heskett wrote:
>
> [...]
>
> > Considering the src, and licenseing, thats not surprising.
> > ghostscript was written to get away from that, was gpl'd but no
> > support from Artifex, but has since been relegated to print only
> > functions, stripping out what was an excellent at the time 20 years
> > back, a truely excellent screen renderer and a page file at a time
> > printer driver [...]
>
> What's wrong with gv? That's ghostview's younger sister, and (as
> ghostview) a GUI around ghostscript's X backend. Displays pdf and
> postscript fine around here.
>
Probably a good question Tomas, but I've no recent experience with it. 
Installed now, and looking for a pdf to look at, I found the phd thesis 
of Sonja MacFarland, dated in 2001, that probably covers some of the 
math in the LinuxCNC trajectory planner, which was last updated about a 
year ago.

Very interesting reading about properly driving a robot for both smooth 
motions and minimum wasted time. Several hundred pages of method and 
math that exceeds my math abilities.

I see it has "print all", and "print-marked" options that use lpr, so one 
would have to setup some defaults to make it use the correct printer, 
and printer profile in a more than one printer environment. Getting 
that /right/ might take some experimentation.

It properly handled the graphics symbols commonly used in math, but of 
what I looked at, no color graphics, so let me look at something I am 
quite familiar with. But I wasn't able to navigate its broken directory 
reader in its open selector to gain access to those docs. Thats a 
showstopper. The slider that should allow one to scan a directory tree 
alternates between a small marker one can drag with a mouse, but on a 
second drag attempt it jumps to full height of the buttons space, and 
allows no more scanning of the /usr/share/doc directory while still in 
the a's. Total show stopper here if it's incapable of navigating a 
directory with thousands of entries.


> Cheers
> -- t
Take care Tomas.

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



Re: Print with mupdf?

2018-09-21 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, Sep 20, 2018 at 12:15:40PM -0400, Gene Heskett wrote:

[...]

> Considering the src, and licenseing, thats not surprising. ghostscript 
> was written to get away from that, was gpl'd but no support from 
> Artifex, but has since been relegated to print only functions, stripping 
> out what was an excellent at the time 20 years back, a truely excellent 
> screen renderer and a page file at a time printer driver [...]

What's wrong with gv? That's ghostview's younger sister, and (as
ghostview) a GUI around ghostscript's X backend. Displays pdf and
postscript fine around here.

Cheers
- -- t
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlukmEoACgkQBcgs9XrR2kZTXgCZATZpj8v7R+xXxd0Zk3CUdXDG
5FcAn2Sy59UQc5oTX4WmbSS+p4L64w7h
=kgOP
-END PGP SIGNATURE-



Re: Print with mupdf?

2018-09-20 Thread Gene Heskett
On Thursday 20 September 2018 15:34:07 Brian wrote:

> On Thu 20 Sep 2018 at 11:24:53 -0400, Gene Heskett wrote:
> > On Thursday 20 September 2018 09:31:57 Curt wrote:
> > > On 2018-09-20, Siard  wrote:
> > > >> > > > Is there any way to print from mupdf? It's very fast for
> > > >> > > > viewing PDFs but of limited use to me if it can't print.
> > > >> > >
> > > >> > > Using a mupdf option? No.
> > > >> >
> > > >> > Have you seen:
> > > >> > gv, epdfview, qpdfview, xpdf
> > > >>
> > > >> evince, atril
> >
> > I'm with you on the native format. Evince is purty, but doesn't
> > print some stuff correctly if you want it in dead tree format. Never
> > heard of mupdf, so can't comment, whats so special about it?
>
> "some stuff"? 0.1%, 0.01%, 0.001%?
20% or more are DNP if the wrong commands for page size are used, and 
they look like they are correct for letter sized stuff.  Due to lack of 
available A4 paper on this side of the pond, that A4 has not been tested 
here.
 
> > okular does it all, very well.
>
> okular has been tried on unstable without cups-browsed running?

I do not know that, but its good on an r-pi 3b, running jessie lite, 
printing over the network to this machine as a printer server, with two 
printers and around 5 profiles, and from this machine and 4 other wintel 
boxes all running wheezy. I think cups-browsed is a requirement though.

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



Re: Print with mupdf?

2018-09-20 Thread Brian
On Thu 20 Sep 2018 at 15:30:06 +, Curt wrote:

> On 2018-09-20, Gene Heskett  wrote:
> > On Thursday 20 September 2018 09:31:57 Curt wrote:
> >
> >> On 2018-09-20, Siard  wrote:
> >> >> > > > Is there any way to print from mupdf? It's very fast for
> >> >> > > > viewing PDFs but of limited use to me if it can't print.
> >> >> > >
> >> >> > > Using a mupdf option? No.
> >> >> >
> >> >> > Have you seen:
> >> >> > gv, epdfview, qpdfview, xpdf
> >> >>
> >> >> evince, atril
> >> >
> > I'm with you on the native format. Evince is purty, but doesn't print 
> > some stuff correctly if you want it in dead tree format. Never heard of 
> > mupdf, so can't comment, whats so special about it?
> 
> Lightweight, old-timer.  And
>  
>  The renderer in MuPDF is tailored for high quality anti-aliased graphics. It
>  renders text with metrics and spacing accurate to within fractions of a pixel
>  for the highest fidelity in reproducing the look of a printed page on screen.
> 
> https://mupdf.com/
> 
> But she don't print.

Mantra - "do one thing and do it well."

And then get criticised for doing it (being a viewer)..

lp was created for printing. :)

-- 
Brian.



Re: Print with mupdf?

2018-09-20 Thread Brian
On Thu 20 Sep 2018 at 11:24:53 -0400, Gene Heskett wrote:

> On Thursday 20 September 2018 09:31:57 Curt wrote:
> 
> > On 2018-09-20, Siard  wrote:
> > >> > > > Is there any way to print from mupdf? It's very fast for
> > >> > > > viewing PDFs but of limited use to me if it can't print.
> > >> > >
> > >> > > Using a mupdf option? No.
> > >> >
> > >> > Have you seen:
> > >> > gv, epdfview, qpdfview, xpdf
> > >>
> > >> evince, atril
> > >
> I'm with you on the native format. Evince is purty, but doesn't print 
> some stuff correctly if you want it in dead tree format. Never heard of 
> mupdf, so can't comment, whats so special about it?

"some stuff"? 0.1%, 0.01%, 0.001%? 

> okular does it all, very well.

okular has been tried on unstable without cups-browsed running?

-- 
Brian.



Re: Print with mupdf?

2018-09-20 Thread Gene Heskett
On Thursday 20 September 2018 11:30:06 Curt wrote:

> On 2018-09-20, Gene Heskett  wrote:
> > On Thursday 20 September 2018 09:31:57 Curt wrote:
> >> On 2018-09-20, Siard  wrote:
> >> >> > > > Is there any way to print from mupdf? It's very fast for
> >> >> > > > viewing PDFs but of limited use to me if it can't print.
> >> >> > >
> >> >> > > Using a mupdf option? No.
> >> >> >
> >> >> > Have you seen:
> >> >> > gv, epdfview, qpdfview, xpdf
> >> >>
> >> >> evince, atril
> >
> > I'm with you on the native format. Evince is purty, but doesn't
> > print some stuff correctly if you want it in dead tree format. Never
> > heard of mupdf, so can't comment, whats so special about it?
>
> Lightweight, old-timer.  And
>
>  The renderer in MuPDF is tailored for high quality anti-aliased
> graphics. It renders text with metrics and spacing accurate to within
> fractions of a pixel for the highest fidelity in reproducing the look
> of a printed page on screen.
>
> https://mupdf.com/
>
> But she don't print.

Considering the src, and licenseing, thats not surprising. ghostscript 
was written to get away from that, was gpl'd but no support from 
Artifex, but has since been relegated to print only functions, stripping 
out what was an excellent at the time 20 years back, a truely excellent 
screen renderer and a page file at a time printer driver.  ARexx on the 
amiga was an excellent, do it all language, and I wrote a file processor 
all those years ago that could do duplex on a simple printer. Took me 
most of 3 days to do a 505 page book. But the output was good stuff. Got 
a bit tedious if the file went past 500 pages though as the disk drives 
of the day didn't have room for all those page files. Ghostscript itself 
took a while to build when it was around the 5.0 to 5.2 mark, and has 
lost quite a bit of weight since, and sas C had problems with some of 
its constructs.  They weren't legal C-89 code.
>
> > okular does it all, very well.

Everything I've loaded into okular has rendered well, and its not at all 
fussy about the printer, leaving the ugly warts and details to cups. One 
could say it Just Works.

> >> > You could consider PDF-XChange Viewer. It is a Windows program,
> >> > but works perfectly with Wine.
> >>
> >> Excuse me but why in hell would he do that?  I mean that's quite
> >> some overhead just to print a lousy pdf, and as you offer no clue
> >> concerning the outstanding benefits that might accrue from running
> >> a Windows pdf viewer in Wine rather than some cozy, native program
> >> (unless I inadvertently cut out some of your reasoning below, in
> >> which case I will be shot at dawn, not to worry) I'm curious as all
> >> get out.
> >>
> >> Me personally I'm recommending 'Alf's PDF Viewer Like Vim' (aka
> >> apvlv), though I've never used it (but just might one of these
> >> days, you betcha) because I like the name (and it seems to be
> >> lightweight like, um, mupdf). And it prints!
> >>
> >>:pr[int]
> >>
> >> Print the current document



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



Re: Print with mupdf?

2018-09-20 Thread Curt
On 2018-09-20, Gene Heskett  wrote:
> On Thursday 20 September 2018 09:31:57 Curt wrote:
>
>> On 2018-09-20, Siard  wrote:
>> >> > > > Is there any way to print from mupdf? It's very fast for
>> >> > > > viewing PDFs but of limited use to me if it can't print.
>> >> > >
>> >> > > Using a mupdf option? No.
>> >> >
>> >> > Have you seen:
>> >> > gv, epdfview, qpdfview, xpdf
>> >>
>> >> evince, atril
>> >
> I'm with you on the native format. Evince is purty, but doesn't print 
> some stuff correctly if you want it in dead tree format. Never heard of 
> mupdf, so can't comment, whats so special about it?

Lightweight, old-timer.  And
 
 The renderer in MuPDF is tailored for high quality anti-aliased graphics. It
 renders text with metrics and spacing accurate to within fractions of a pixel
 for the highest fidelity in reproducing the look of a printed page on screen.

https://mupdf.com/

But she don't print.

> okular does it all, very well.
>
>> > You could consider PDF-XChange Viewer. It is a Windows program, but
>> > works perfectly with Wine.
>>
>> Excuse me but why in hell would he do that?  I mean that's quite some
>> overhead just to print a lousy pdf, and as you offer no clue
>> concerning the outstanding benefits that might accrue from running a
>> Windows pdf viewer in Wine rather than some cozy, native program
>> (unless I inadvertently cut out some of your reasoning below, in which
>> case I will be shot at dawn, not to worry) I'm curious as all get out.
>>
>> Me personally I'm recommending 'Alf's PDF Viewer Like Vim' (aka
>> apvlv), though I've never used it (but just might one of these days,
>> you betcha) because I like the name (and it seems to be lightweight
>> like, um, mupdf). And it prints!
>>
>>:pr[int]
>>
>> Print the current document
>
>
>


-- 
“An oak is a tree. A rose is a flower. A deer is an animal. A sparrow is a
bird. Russia is our fatherland. Death is inevitable.” Russian school book.



Re: Print with mupdf?

2018-09-20 Thread Gene Heskett
On Thursday 20 September 2018 09:31:57 Curt wrote:

> On 2018-09-20, Siard  wrote:
> >> > > > Is there any way to print from mupdf? It's very fast for
> >> > > > viewing PDFs but of limited use to me if it can't print.
> >> > >
> >> > > Using a mupdf option? No.
> >> >
> >> > Have you seen:
> >> > gv, epdfview, qpdfview, xpdf
> >>
> >> evince, atril
> >
I'm with you on the native format. Evince is purty, but doesn't print 
some stuff correctly if you want it in dead tree format. Never heard of 
mupdf, so can't comment, whats so special about it?

okular does it all, very well.

> > You could consider PDF-XChange Viewer. It is a Windows program, but
> > works perfectly with Wine.
>
> Excuse me but why in hell would he do that?  I mean that's quite some
> overhead just to print a lousy pdf, and as you offer no clue
> concerning the outstanding benefits that might accrue from running a
> Windows pdf viewer in Wine rather than some cozy, native program
> (unless I inadvertently cut out some of your reasoning below, in which
> case I will be shot at dawn, not to worry) I'm curious as all get out.
>
> Me personally I'm recommending 'Alf's PDF Viewer Like Vim' (aka
> apvlv), though I've never used it (but just might one of these days,
> you betcha) because I like the name (and it seems to be lightweight
> like, um, mupdf). And it prints!
>
>:pr[int]
>
> Print the current document



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



Re: Print with mupdf?

2018-09-20 Thread Jason
On Wed, Sep 19, 2018 at 10:01:04PM -0500, Greg Marks wrote:
> With the PDF file open in mupdf, you can enter this Bash command in a
> terminal to print the PDF:
> 
>pdfviewercommand="\/usr\/lib\/mupdf\/mupdf-x11 -r [1-9][0-9]\+" ; 
> pdfpid=$(ps -lu $(whoami) | grep mupdf | sed 's/^[^ ]\+ \+[^ ]\+ \+[^ ]\+ 
> \+\([0-9]\+\) .*/\1/g') ; pdffile=$(cat /proc/$pdfpid/cmdline | tr '\0' '\40' 
> | sed "s/^$pdfviewercommand \+\(.*\)/\1/g" | sed 's/ \+$//g') ; 
> directory=$(pwdx $pdfpid | cut -d' ' -f 2) ; lpr $directory/$pdffile

Wow!

> Of course, you'd want to create an alias or a function for this.
> With a little bit more work, you could have it offer you options in
> the event that more than one PDF is open.
> 

I might be best served trying a few of the other suggested PDF viewers;
there are probably others that can compete with the opening speed of
mupdf that also offer printing.

Thanks everyone for the suggestions.
-- 
Jason



Re: Print with mupdf?

2018-09-20 Thread Curt
On 2018-09-20, Siard  wrote:
>> > > > 
>> > > > Is there any way to print from mupdf? It's very fast for viewing
>> > > > PDFs but of limited use to me if it can't print.
>> > > 
>> > > Using a mupdf option? No.
>> > 
>> > Have you seen:
>> > gv, epdfview, qpdfview, xpdf
>> 
>> evince, atril
>
> You could consider PDF-XChange Viewer. It is a Windows program, but works
> perfectly with Wine.

Excuse me but why in hell would he do that?  I mean that's quite some
overhead just to print a lousy pdf, and as you offer no clue concerning
the outstanding benefits that might accrue from running a Windows pdf
viewer in Wine rather than some cozy, native program (unless I
inadvertently cut out some of your reasoning below, in which case I will
be shot at dawn, not to worry) I'm curious as all get out.

Me personally I'm recommending 'Alf's PDF Viewer Like Vim' (aka apvlv),
though I've never used it (but just might one of these days, you betcha)
because I like the name (and it seems to be lightweight like, um,
mupdf). And it prints!

   :pr[int]
Print the current document

-- 
“An oak is a tree. A rose is a flower. A deer is an animal. A sparrow is a
bird. Russia is our fatherland. Death is inevitable.” Russian school book.



Re: Print with mupdf?

2018-09-20 Thread Siard
Henning Follmann:
> Allen Hoover:
> > Brian:
> > > Jason:
> > > > Felipe Portales:
> > > > > Glenn English:
> > > > > > Anybody know of a civilized, bug-free pdf viewer? (will
> > > > > > display full screen with no or thin borders, allows for
> > > > > > manipulating size and position)
> > > > >
> > > > > May I suggest mupdf?
> > > > 
> > > > Is there any way to print from mupdf? It's very fast for viewing
> > > > PDFs but of limited use to me if it can't print.
> > > 
> > > Using a mupdf option? No.
> > 
> > Have you seen:
> > gv, epdfview, qpdfview, xpdf
> 
> evince, atril

You could consider PDF-XChange Viewer. It is a Windows program, but works
perfectly with Wine.

www.tracker-software.com/product/pdf-xchange-viewer

The developers would love to provide a Linux port, however, but, as they
state on their site:

"Developing Linux versions would be a huge undertaking and - at least
presently - we do not have the resources available for it.
However, it should be noted that the PDF-XChange product line received a
Platinum rating from WineHQ, which means our products will operate at a
very good level of functionality via Wine."



Re: Print with mupdf?

2018-09-20 Thread Henning Follmann
On Thu, Sep 20, 2018 at 06:32:34AM -0400, Allen Hoover wrote:
> On Wed, Sep 19, 2018 at 08:59:09PM +0100, Brian wrote:
> > On Wed 19 Sep 2018 at 14:41:24 -0500, Jason wrote:
> > 
> > > On Mon, Sep 17, 2018 at 01:32:47AM -0300, Felipe Portales wrote:
> > > > El domingo, 16 de septiembre de 2018 17:15:16 -03, Glenn English 
> > > > escribió:
> > > > > Anybody know of a civilized, bug-free pdf viewer? (will display full
> > > > > screen with no or thin borders, allows for manipulating size and
> > > > > position)
> > > >
> > > > May I suggest mupdf?
> > > 
> > > Is there any way to print from mupdf? It's very fast for viewing PDFs
> > > but of limited use to me if it can't print.
> > 
> > Using a mupdf option? No.
> > 
> > -- 
> > Brian.
> 
> Have you seen:
> gv, epdfview, qpdfview, xpdf
> 

evince, atril


-- 
Henning Follmann   | hfollm...@itcfollmann.com



Re: Print with mupdf?

2018-09-20 Thread Allen Hoover
On Wed, Sep 19, 2018 at 08:59:09PM +0100, Brian wrote:
> On Wed 19 Sep 2018 at 14:41:24 -0500, Jason wrote:
> 
> > On Mon, Sep 17, 2018 at 01:32:47AM -0300, Felipe Portales wrote:
> > > El domingo, 16 de septiembre de 2018 17:15:16 -03, Glenn English escribió:
> > > > Anybody know of a civilized, bug-free pdf viewer? (will display full
> > > > screen with no or thin borders, allows for manipulating size and
> > > > position)
> > >
> > > May I suggest mupdf?
> > 
> > Is there any way to print from mupdf? It's very fast for viewing PDFs
> > but of limited use to me if it can't print.
> 
> Using a mupdf option? No.
> 
> -- 
> Brian.

Have you seen:
gv, epdfview, qpdfview, xpdf

-- 
Allen



Re: Print with mupdf?

2018-09-19 Thread Greg Marks
With the PDF file open in mupdf, you can enter this Bash command in a
terminal to print the PDF:

   pdfviewercommand="\/usr\/lib\/mupdf\/mupdf-x11 -r [1-9][0-9]\+" ; 
pdfpid=$(ps -lu $(whoami) | grep mupdf | sed 's/^[^ ]\+ \+[^ ]\+ \+[^ ]\+ 
\+\([0-9]\+\) .*/\1/g') ; pdffile=$(cat /proc/$pdfpid/cmdline | tr '\0' '\40' | 
sed "s/^$pdfviewercommand \+\(.*\)/\1/g" | sed 's/ \+$//g') ; directory=$(pwdx 
$pdfpid | cut -d' ' -f 2) ; lpr $directory/$pdffile

Of course, you'd want to create an alias or a function for this.
With a little bit more work, you could have it offer you options in
the event that more than one PDF is open.

Best regards,
Greg Marks


> Date: Wed, 19 Sep 2018 22:37:48 -0300
> From: rv riveravaldez 
> To: Brian 
> Cc: debian-user 
> Subject: Re: Print with mupdf?
> 
> On Wed, Sep 19, 2018 at 4:59 PM, Brian  wrote:
> > On Wed 19 Sep 2018 at 14:41:24 -0500, Jason wrote:
> >
> >> On Mon, Sep 17, 2018 at 01:32:47AM -0300, Felipe Portales wrote:
> >> > El domingo, 16 de septiembre de 2018 17:15:16 -03, Glenn English 
> >> > escribió:
> >> > > Anybody know of a civilized, bug-free pdf viewer? (will display full
> >> > > screen with no or thin borders, allows for manipulating size and
> >> > > position)
> >> >
> >> > May I suggest mupdf?
> >>
> >> Is there any way to print from mupdf? It's very fast for viewing PDFs
> >> but of limited use to me if it can't print.
> >
> > Using a mupdf option? No.
> 
> Zathura
> 
> Ctrl+P?
> 
> R.


signature.asc
Description: PGP signature


Re: Print with mupdf?

2018-09-19 Thread rv riveravaldez
On Wed, Sep 19, 2018 at 4:59 PM, Brian  wrote:
> On Wed 19 Sep 2018 at 14:41:24 -0500, Jason wrote:
>
>> On Mon, Sep 17, 2018 at 01:32:47AM -0300, Felipe Portales wrote:
>> > El domingo, 16 de septiembre de 2018 17:15:16 -03, Glenn English escribió:
>> > > Anybody know of a civilized, bug-free pdf viewer? (will display full
>> > > screen with no or thin borders, allows for manipulating size and
>> > > position)
>> >
>> > May I suggest mupdf?
>>
>> Is there any way to print from mupdf? It's very fast for viewing PDFs
>> but of limited use to me if it can't print.
>
> Using a mupdf option? No.

Zathura

Ctrl+P?

R.



Re: Print with mupdf?

2018-09-19 Thread Brian
On Wed 19 Sep 2018 at 14:41:24 -0500, Jason wrote:

> On Mon, Sep 17, 2018 at 01:32:47AM -0300, Felipe Portales wrote:
> > El domingo, 16 de septiembre de 2018 17:15:16 -03, Glenn English escribió:
> > > Anybody know of a civilized, bug-free pdf viewer? (will display full
> > > screen with no or thin borders, allows for manipulating size and
> > > position)
> >
> > May I suggest mupdf?
> 
> Is there any way to print from mupdf? It's very fast for viewing PDFs
> but of limited use to me if it can't print.

Using a mupdf option? No.

-- 
Brian.



Print with mupdf?

2018-09-19 Thread Jason
On Mon, Sep 17, 2018 at 01:32:47AM -0300, Felipe Portales wrote:
> El domingo, 16 de septiembre de 2018 17:15:16 -03, Glenn English escribió:
> > Anybody know of a civilized, bug-free pdf viewer? (will display full
> > screen with no or thin borders, allows for manipulating size and
> > position)
>
> May I suggest mupdf?

Is there any way to print from mupdf? It's very fast for viewing PDFs
but of limited use to me if it can't print.

Thanks,
-- 
Jason