Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions ppd/pdftops.c
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,19 @@ ppdFilterPDFToPS(int inputfd, // I - File descriptor input stream
num_pstops_options, &pstops_options);
}

if (pdftopdfapplied)
{
//
// pdftopdf has already put the pages into the requested or the printer's
// default output order, so tell pstops not to reverse them again from
// the PPD's default output order.
//

num_pstops_options = cupsAddOption("OutputOrder",
"Normal",
num_pstops_options, &pstops_options);
}

//
// Create data record to call the pstops filter function
//
Expand Down
Loading