I'm trying to print, in a pdf file, just one page from another large pdf file. Does anyone have a clue? I'm using foxit reader, and when I try ctrl+P appears just the installed printers as an option to print. There is no print to file button like in other programs such as libreoffice. Thanks in advance.


An alternative would be to extract the required page with pdftk. E.g to extract page 10 of infile.pdf and save it as outfile.pdf:

pdftk infile.pdf cat 10 output outfile.pdf

Use printer-driver-cups-pdf - this program creates a system pdf printer for you.

sudo apt install printer-driver-cups-pdf

will install and enable the printer.

The output from the printer by default, will appear in your home_directory/PDF (~/PDF)

  • Won't that already be installed though? The OP states that (emphasis mine) "There is no print to file button like in other programs such as libreoffice". If the other tools have the print to PDF option, then this package is already installed, right?
    – terdon
    Apr 16 '19 at 19:24
  • @terdon I think libreoffice has a direct "save as PDF", and I'm not entirely sure that it would do a single page, as opposed to the cups-pdf option with allows for a pretty full range of print functions, like print page 5 of 8. Apr 16 '19 at 20:21
  • It does, but that is separate from the print dialog. I get the impression from the OP that the print to file works everywhere except foxit reader. Which seems odd.
    – terdon
    Apr 17 '19 at 8:27
  • Thanks for helping Charles Green. It worked Apr 17 '19 at 13:15
  • @terdon Foxit is a funny kindof a program - I have used it in the past, but have not found enough benefits to continue to use it. Apr 17 '19 at 13:23

Not the answer you're looking for? Browse other questions tagged or ask your own question.