LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 01-03-2010, 07:34 PM   #1
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6 on my desktop, Ubuntu 12.04 LTS on my server, Ubuntu 12.04 on my netbook and the wife's PC
Posts: 1,207

Rep: Reputation: 96
Question Xane scans to a pdf which Document Viewer cannot print


Ubuntu 9.10 54 bit
XSane 0.996
Document Viewer 2.28.1
Brother MFC 240c multi function scanner, printer, fax

So I am cleaning up some old paper records from 2009. I scanned about 25 pages of old medical receipts, prescription receipts etc. as a multi page project. The destination was a pdf file. The desired file is created and I can open it in the default Document Viewer. When I try to print to my Brother HL5170DN laser printer (just one page as a test) I get a message in the print queue window:

Processing Printer warning
com.apple.print.recoverable

and the job never prints. I can print pdf files from other sources such a printing a web page to a file/pdf, pdf files downloaded or created on other computers etc.

If I print the pdf created by XSane and viewed in Document Viewer to the MFC 240c ink jet printer, the pages are about 3/4 size, not the full size pages I scanned.

Help! Please!! I am forced to do my scanning and pdf writing on an XP virtual machine running on the Ubuntu box under VMWare

Thanks,

Ken
 
Old 01-03-2010, 11:05 PM   #2
pcardout
Member
 
Registered: Jun 2003
Location: Socorro, New Mexico
Distribution: Debian ("lenny", "squeeze"), Linux Mint, XUbuntu
Posts: 218

Rep: Reputation: 24
Help printing pdfs

If I have problems with the default document viewer, I use
xpdf. After installing xpdf, click the printer icon
and select which page of your 25 to print. (Just as a test).
It may be that your file is too big and overflowing some memory?
Just take it a bit at a time.

Regarding the 3/4 size pages, try
Code:
lpr -o fitplot yourrecalcitrantfile.pdf
I found that option by looking here.
http://localhost:631/help/man-lp.htm...ON_JOB_OPTIONS

If that doesn't work -- localhost:631 is a special port for CUPS.
You can reconfigure all your printing options through this
web interface. Definitely worth knowing about if you don't
already.

You evidently are blaming particular pdfs from xsane. Would you please
confirm that you have verified that other pdfs print OK and that
routine text files print OK?

At the very worst, you could screen capture any image
Code:
Alt PrintScreen
and print it from gimp.
That is painful and is one page at a time -- but it
is a potential brute force solution.
 
Old 01-04-2010, 01:26 PM   #3
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6 on my desktop, Ubuntu 12.04 LTS on my server, Ubuntu 12.04 on my netbook and the wife's PC
Posts: 1,207

Original Poster
Rep: Reputation: 96
Thanks pcardout!

The web interface to CUPS is a neat tool. system-config-printer as supplied with Ubuntu 9.10 is in a word disappointing (compared to 8.04 when it worked). So far I have tracked down a couple of issues:

"com.apple.print.recoverable" was a result of a fight between CUPS and the Firestarter firewall. I have rules to allow anything CUPS is trying to send to the printer however, only disabling the firewall will clear the problem - will work on that later.

At the moment I cannot print any pdfs from Document Viewer. I can print from xpdf although that does not give me the choice to print only certain pages or to select the desired printer.

Interestingly... I scanned a page using XSane to a pdf. It appears in xpdf to be about 3/4 of the page length when I view it at 100%. Perhaps XSane is reducing the size when it converts to pdf. Something else to check.

It appears to me that the root cause of these issues is my switching to Ubuntu 9.10 64 bit. I had to move to this version as I could not install 8.04 on my new i7-860 based Dell desktop.

And on top of all this... of course the video drivers and flash conflict - and Office 3.1 broke my envelope template and its Insert Envelope will not print on an envelope fed through the envelope guide on my laser printer.

And the alpha of Ubuntu 10.04 - the next long term support release - the partitioner does not work if you try to retain the existing partitions on the hard drive and the video always comes up with a "low resolution" warning (even though it is not).

I guess Canonical's motto must be "if it works, break it". And Microsoft wonders why consumers still demand Windows XP. I may install CentOS on the machine and run an 8.04 VM on one monitor and and XP VM on the other.

Ken

Last edited by taylorkh; 01-20-2010 at 04:14 PM. Reason: typo - Xsane not Zsane
 
Old 01-04-2010, 02:08 PM   #4
pcardout
Member
 
Registered: Jun 2003
Location: Socorro, New Mexico
Distribution: Debian ("lenny", "squeeze"), Linux Mint, XUbuntu
Posts: 218

Rep: Reputation: 24
Using xpdf to select printer

I am glad you figured out you key problems. Permit me to assist you
around the edges.

xpdf does allow you to select both the printer and the pages to
print.

If you click the little "printer" icon to print, it brings up a screen
that second has a check box for what pages to print and first shows
a "default command to execute". You will notice that that command is
lpr. You can change the command right there. You can change it to
Code:
lpr -P theprinterIreallywant
. Sometimes I have a hard time figuring out
what theprinterIreallywant is called (as far as lpr is concerned).

I figure it out as follows. First I use that web interface for CUPS we have discussed and see what printers are shown. Then, to be doubly sure,
I do an
Code:
lpq -P theprinterIthinkIreallywant
and see if it returns valid
status or an error. Then of course you could always print a short text
file to check for real.

Finally we can talk religion. I do use Ubuntu when needed, but before
using Ubuntu, I always try Debian. The success of Ubuntu is based on Debian -- they just use Debian testing or even Debian unstable in their
releases.
Debian stable is criticized for being slow moving -- but that's
because Debian stable works. Ubuntu really is more Windows like.
They make it possible to be unaware of all the Linux command line tools, and they release unstable code.
Anyway -- there is a new debian stable,
called lenny. You might try it.

At the command line level Ubuntu and Debian are equivalent (except for the weird sudo stuff in Ubuntu ... but
I prefer just to have a root user anyway). At the GUI level, Ubuntu and
Debian are pretty similar. Debian just doesn't have that splash screen
and the brown colors. (I like blue better anyway!)
 
1 members found this post helpful.
Old 01-04-2010, 03:40 PM   #5
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6 on my desktop, Ubuntu 12.04 LTS on my server, Ubuntu 12.04 on my netbook and the wife's PC
Posts: 1,207

Original Poster
Rep: Reputation: 96
Thanks pcardout,

On the moment I am on another tear. I decided to see if I could install 8.04 from the "alternate" cd. I downloaded the iso, burned to an CD and booted. Shortly into the install process it seems that the installer cannot find the CDROM drive - even though the machine booted from it. I have found some further info on this although it pertains to OLDER CDROM drives/controllers. Mine is the latest SATA DVD reader, burner etc.

So... I am planning to rip open my box which converts an IDE hard drive to USB, connect an old IDE CDROM drive and see if I can install from that.

If that doesn't work I may put the iso on a USB flash drive, boot from another USB flash drive, mount the iso and install from it. Need to do some research on this approach although I have read that it can be done.

Can't do a network install because my flash drive boot does not recognize the built in network card - although I could install a different card.

I wonder if this machine will run CP/M? That would really scream And Wordstar, Supercalc and dBase II actually worked.

Ken

Well, it seems that my SATA controller is not recognized by 8.04 - could not find the hard drive connected after booting from my jury rigged USB CDROM. So I am stuck with 9.10.

I found a viewer called Okular which seems to work rather well with pdfs. I found an option to print the current page ONCE - have not been able to find it again I think it is time to call it a night before I install Acrobat Reader under wine.

Last edited by taylorkh; 01-04-2010 at 08:15 PM. Reason: update
 
Old 09-29-2010, 03:58 PM   #6
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6 on my desktop, Ubuntu 12.04 LTS on my server, Ubuntu 12.04 on my netbook and the wife's PC
Posts: 1,207

Original Poster
Rep: Reputation: 96
ePDFViewer does the trick - discovered it while poking around in the Software Center on 10.10 beta. Printed the offending files there and on 10.04.

Ken
 
  


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
viewer pdf cant read a big document debianlam Linux - Software 2 05-08-2008 10:21 AM
Complex document viewer _Lukes Linux - Software 4 11-20-2006 11:39 AM
HP 5510 scans but won't print mngmd Linux - Hardware 3 06-11-2005 08:40 AM
Foxit PDF Reader 1.3: A Nice PDF Viewer Cinematography Linux - Software 6 05-03-2005 05:36 PM
Xsane scans just a corner of the document Jingle Linux - Software 0 08-10-2003 01:53 PM


All times are GMT -5. The time now is 08:33 PM.

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