LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-02-2017, 03:27 AM   #1
UnstoppableN
LQ Newbie
 
Registered: Feb 2017
Posts: 1

Rep: Reputation: Disabled
Print many paged pdf-files with multiple images from commandline with cups


We are using a linux server with cups to print pdf-files from command-line. This has always worked in the past but recently we added more images to our pdf's and this caused an error. The printer stopt printing after 25 pages of the 400 page file.

We called the supplier of our printer and they said we should use adobe as application and choose "print as image" in the advanced print options.

When we do this, all pages are printed correctly. But we don't want to do this manually each time we have a large pdf-file. We would prefer if cups did this for us or if we could add an extra action in our bash script.

Currently we use this command to print from command line:
lpr -r -P clx952_duplex_bw -o MediaType=Preprinted -o JCLFrontCoverOption=BlankPreprinted -o JCLFrontCoverType=Color "$pdfFile"

Is there an easy way to support these bigger pdf's by altering this command or our cups settings?
 
Old 02-03-2017, 03:50 PM   #2
pandanuma
Member
 
Registered: May 2005
Location: greatwhitenorth
Distribution: deb99+
Posts: 134
Blog Entries: 10

Rep: Reputation: 37
a quick search for 'command line print linux' might suggest a work around...
one such work around might be to print the job in batches with page-range
page-ranges=1-25,26-50,51-75
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] lp doesn't print file to pdf directory after installing cups-pdf using synaptic mrcj Debian 1 10-09-2013 07:18 PM
Firefox print to PDF (and CUPS) only saves the first 1 or 2 pages to PDF ziphem Linux - Software 1 05-08-2011 10:43 PM
Puppy 4.0 CUPS Won't Print Out PDF Files, Screenshots, or Anything!! cbarnes Linux - Newbie 1 09-30-2008 07:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration