Bug 425076

Summary: Print to File - can't print a specific page(s)
Product: [Applications] okular Reporter: BingMyBong <bingmybong>
Component: printingAssignee: Okular developers <okular-devel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bingmybong, nate
Priority: NOR    
Version: 1.10.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description BingMyBong 2020-08-06 15:42:22 UTC
SUMMARY
Print a PDF document to PDF does not allow you to print just a few selected pages.

STEPS TO REPRODUCE
1. run okular and load an existing PDF
2. Select print function
3. Choose Print to File (PDF)

OBSERVED RESULT
4. Only option allowed is to print complete file

EXPECTED RESULT
Be allowed to print a selection of pages to a PDF file.  

The reason for wanting to do this is that i just received a PDF file containing boarding passes for 2 people each separated by a blank page and i wanted to split the file up and send the 2 people their own boarding passes and without the blank pages. 


SOFTWARE/OS VERSIONS
opensuse:tumbleweed:20200803
Qt: 5.15.0 KDE Frameworks: 5.72.0 - KDE Plasma:  5.19.4 - kwin 5.19.4
kmail2 5.14.3 (20.04.3) - akonadiserver 5.14.3 (20.04.3) - Kernel:  5.7.11-1-default  - 

ADDITIONAL INFORMATION
If i leave the printer set to a physical printer, i can then select the pages i want.  If i then change the printer to "Print to File", it leaves the choices intact but totally ignores it and prints the complete file to a new PDF. The newly printed PDF exists on the disk with its new name but if you load it in okular, it thinks its reading the original file as it shows the original name in the title.
Comment 1 Nate Graham 2020-08-10 17:54:56 UTC

*** This bug has been marked as a duplicate of bug 252596 ***