LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices

Reply
 
LinkBack Search this Thread
Old 10-15-2011, 02:57 PM   #1
vsyed786
LQ Newbie
 
Registered: Jun 2011
Posts: 9

Rep: Reputation: Disabled
unable to print using acroread on a node.....Acro read problem(lp: Error - stdin )


Hello All

We are trying to Print pdf file using acroread.But it is working on test instance but not on DR node.Acroread version is 5.0.10 on both nodes.We have a printer server configured.It is able to print if we give a command on test node but not working on DR node
Please help....
The step are mentioned below.

Thanks in advance


ON DR node

[applmgr@hmps692 ~]$ ls
a.sql compat-db-4.1.25-9.i386.rpm tes1.pdf
ATMIWIPMSRNB_34910068_1.PDF java_permissions.sql test.pdf
bkp nohup.out test.ps
bkup_files PRDSP_hdby768.xml test.txt
cmclean.sql switch_conc_managers.sql utl_test.sql
[applmgr@hmps692 ~]$ cat ATMIWIPMSRNB_34910068_1.PDF | /usr/bin/acroread -toPostScript -shrink -size letter| lp -c -d pdby641
lp: Error - stdin is empty, so no job has been sent.
[applmgr@hmps692 ~]$

Test node

[applmgr@hdby769 ~]$ ls ATMIWIPMSRNB_34910068_1.PDF
ATMIWIPMSRNB_34910068_1.PDF
[applmgr@hdby769 ~]$ cat ATMIWIPMSRNB_34910068_1.PDF | /usr/bin/acroread -toPostScript -shrink -size letter| lp -c -d pdby641
request id is pdby641-935821 (1 file(s))
[applmgr@hdby769 ~]$

Regards and Thanks
Viquar
 
Old 01-17-2012, 04:06 PM   #2
PDF_Susan
LQ Newbie
 
Registered: Jan 2012
Location: Woodstock, GA
Posts: 4

Rep: Reputation: Disabled
I'll be bold and suggest you take a look at our jPDFPrint library, which is designed to print PDF files without having to set up a printer driver or add any extra software. You'll find documentation and code samples on the page I linked, and you can download and test it at no charge. With jPDFPrint, your application or server can print PDF documents automatically and efficiently from local files, URL's and even Java input streams. This allows you to print documents that are created runtime or that are served from web servers or database servers.
HTH!

Last edited by unSpawn; 04-07-2012 at 02:06 PM. Reason: //Remove link to commercial SW
 
Old 01-18-2012, 04:28 AM   #3
Reuti
Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 11.4
Posts: 970

Rep: Reputation: 184Reputation: 184
You can first check leaving the printer out of the game:

Quote:
Originally Posted by vsyed786 View Post
[applmgr@hmps692 ~]$ /usr/bin/acroread -toPostScript -shrink -size letter < ATMIWIPMSRNB_34910068_1.PDF | less
To be sure it’s the same version also on the command line: can you run it with the option -v too please. The file in question is the same and not empty by accident due to copying?
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Acroread print hugly when page is rotated Pier Gentoo 1 01-20-2011 04:43 AM
[SOLVED] acroread fails to print under cups. kaz2100 Linux - Software 1 06-18-2010 12:53 AM
Acroread is Read Only ostrowlaw Suse/Novell 5 07-08-2009 09:17 AM
Acroread won't print in KDE Ashrack Linux - Software 9 02-19-2007 03:31 AM
acroread cannot read ps2pdf file peter72 Linux - Software 2 12-11-2005 04:58 PM


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

Main Menu
 
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
Open Source Consulting | Domain Registration