12

I would like to print some pages from a large pdf file within Zathura (typically the current, or a range of pages).

What is the syntax to do that?

Edit: The solution was quite obvious... By the developer himself:

Select the page range in the printing dialog?

So yes, there is a printing dialog, the classic Gtk+ printing dialog with the common options that allows me to do whatever I might want. I just need to type :print. I was actually expecting from Zathura to type arguments to select the printer and other stuffs.

At least, next time someone wonders how to print with Zathura, he might find this post.

3
  • Do you mean in batch mode (i.e. without using the "Print" dialog)? Also, do you mean print to file or print to a "real" printer? Commented Nov 8, 2013 at 15:05
  • Would you please consider removing your solution from the question and posting it as an answer? Then either mark it or the other answer that mentions this as "accepted" as there is a solution to this unlike the current accepted answer. Commented Oct 10, 2015 at 10:10
  • 1
    I wondered how to print in Zathura, and found this post. Thanks! +1 Commented Oct 27, 2015 at 9:16

2 Answers 2

4

When doing :print you'll have a printing dialog as mentioned in the slm' closed ticket. You can then choose pages range.

2
  • 1
    This is no new information compared with the question. Commented Feb 24, 2014 at 12:36
  • 1
    This answer was written before question enhancement. it was just a simple solution to print pages range. We can see the author's (@maxime) comment : _ I feel bad, there is actually a print popup window... _. But now, it's completely deprecated. Commented Aug 28, 2014 at 15:58
1

I saw no way to do this using the :print command. Nothing was mentioned about this capability in the man pages or on the documentation on the project's website, so I'm inclined to think that it's not currently available.

I created an issue in their issue tracker to either:

  1. explain how to do this
  2. implement this feature down the road

This is the ticket: Possible to print a range of pages from a PDF?

4
  • I feel bad, there is actually a print popup window... I I thought the exact same thing as you and I didn't wanted to type "print" without knowing if it will print the document without confirmation. And after some search on the internet I only found old messaging saying that it was not possible or that it was the same syntax than lpr, etc. I wanted a clear answer. Commented Nov 8, 2013 at 15:24
  • @Maxime - yeah a lot of times with these stripped down types of tools their nice initially but then start to feel too constrictive b/c they're missing some perceived basic feature. You could always print directly from the command line, I believe you can say you want to print a range of pages, there are Q&A's about that on this site. Might be something to get you by in the short term. Commented Nov 8, 2013 at 15:53
  • 2
    See this Q&A: unix.stackexchange.com/questions/89121/… Commented Nov 8, 2013 at 15:58
  • Yes thank you. In fact my question my related to this one: unix.stackexchange.com/questions/99392/… so the :print command makes Zathura to crash so I might be interested by learning how to use lpr (and its options). Commented Nov 8, 2013 at 16:16

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.