LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 01-21-2005, 07:01 PM   #1
hussar
Member
 
Registered: Oct 2003
Location: Heidelberg, Germany
Distribution: Slackware 11.0; Kubuntu 6.06; OpenBSD 4.0; OS X 10.4.10
Posts: 345

Rep: Reputation: 30
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.)
 
Old 01-22-2005, 12:16 AM   #2
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

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

--Ian
 
Old 01-22-2005, 03:44 AM   #3
hussar
Member
 
Registered: Oct 2003
Location: Heidelberg, Germany
Distribution: Slackware 11.0; Kubuntu 6.06; OpenBSD 4.0; OS X 10.4.10
Posts: 345

Original Poster
Rep: Reputation: 30
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.
 
Old 01-22-2005, 09:17 PM   #4
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 61
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
 
Old 01-23-2005, 06:53 AM   #5
hussar
Member
 
Registered: Oct 2003
Location: Heidelberg, Germany
Distribution: Slackware 11.0; Kubuntu 6.06; OpenBSD 4.0; OS X 10.4.10
Posts: 345

Original Poster
Rep: Reputation: 30
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Printer prints only the first page zupermanz Linux - Hardware 3 05-31-2005 06:24 AM
CUPS only prints the test page mldqj *BSD 1 04-07-2005 10:21 AM
Printer only prints first page! zhangmaike Linux - Hardware 0 12-05-2004 04:38 PM
CUPS Test Page prints, not from firefox andymadigan Debian 16 08-27-2004 12:37 AM
mandrake 10 prints a page at every startup! grendel-IT Mandriva 7 07-26-2004 01:15 PM


All times are GMT -5. The time now is 05:36 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration