LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Acroread prints only one page (https://www.linuxquestions.org/questions/slackware-14/acroread-prints-only-one-page-280652/)

hussar 01-21-2005 06:01 PM

Acroread prints only one page
 
I am using Slackware current updated fairly regularly with swaret and Adobe Acrobat Reader 5.0.10. When I try to print a multi-page document with acroread, it only prints out the first page and then stops. Other print jobs which span multiple pages, for example `man -t dd | lpr` and even `man -t mke2fs | ps2pdf - mke2fs.pdf ; lpr mke2fs.pdf`, print out ok. It seems to just be acroread that won't print more than one page. I have also stopped and restarted cupsd (`/etc/rc.d/rc.cups stop ; /etc/rc.d/rc.cups start`), but that didn't get it.

Has anyone else had this problem? Can anyone offer me suggestions on how to troubleshoot this? I tried Adobe's User to User forum to try to find an answer, but this question has not been asked before (or at least I couldn't find it), and I can't figure out how to post a new question to the Adobe User to User forums. (No really, I am a fairly experienced computer user; it is not obvious even after reading their help how to do that. Please, prove me wrong if you can.)

IBall 01-21-2005 11:16 PM

You can print PDFs from the command line: lpr fileName.pdf

--Ian

hussar 01-22-2005 02:44 AM

Yes, that's true. The second example command in my initial post takes a man page converts it to pdf and then prints the pdf. What I am looking to do, however, is to print out a pdf of the gcc manpage which is 119 pages long, and I would like to print on both sides of the paper to save paper. Acroread used to let me do that by printing first the odd numbered pages, then turning the stack over and printing the even numbered pages. For some reason that I have yet to figure out, it has stopped doing that.

IBall 01-22-2005 08:17 PM

Try this:
Code:

man -t gcc | psnup -2 -d | ps2pdf - gcc.pdf
will create a pdf file of the gcc man page with 2 pages per sheet, and a dividing line.

Then try printing it with
Code:

lp -o page-set=odd gcc.pdf
and obviously use even for the other side of the page

See the CUPS user manual Here

I hope this helps
--Ian

hussar 01-23-2005 05:53 AM

Thanks! That solved the problem of getting a double-sided copy of the gcc manpage, and by putting two pages per sheet, it saved even more paper. I also was not aware of psnup, and it looks like it could be pretty useful in the future.

I'm still scratching my head over the acroread thing, but with this work-around I can try to solve the acroread problem in my spare time.

Thanks again.


All times are GMT -5. The time now is 01:50 PM.