[Solved] Pdf Printing in Solaris


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting [Solved] Pdf Printing in Solaris
# 15  
Old 11-26-2012
I did find acroread. please see below as its in same directory (/usr/sfw/bin)
acroread -> ../../lib/AdobeReader/Adobe/Reader8/bin/acroread

so tell me what command and where should I give so that I can print pdf
could you please explain above command and toPostScript is command.

Regards




Regards
# 16  
Old 11-26-2012
I gave you the command... acroread accepts -toPostScript for argument ( you see that as working in batch mode: You are not asking acroread to open as a GUI since you only want it to convert a file...)
This User Gave Thanks to vbe For This Post:
# 17  
Old 11-27-2012
Thanks for your help. Right now cannot print any pdf as there will be no one in office.Tomorrow will try to print and if required any help will bug you again:$

I have to prepare another system in which I have to do pdf printing so could you please share packages (gs, pdf2ps, acrobatereader) with steps so that I can configure the system. Once again thanks for your help

Regards

---------- Post updated 11-27-12 at 11:02 AM ---------- Previous update was 11-26-12 at 08:28 PM ----------

Hi
I send a print job with following command it only prints one page with information about my account and does not print anything else, as the command is completed it gives following error
Code:
/usr/sfw/bin/acroread -toPostScript < /<e12692.pdf>.pdf | lp -d hplasterjet5500pcl6
hplasterjet5500pcl6: temporary-error

Could you pls tell what is issue and why its not printing all pages

Regard

Last edited by vbe; 11-27-2012 at 06:04 AM.. Reason: code tags
# 18  
Old 11-27-2012
You should not include "<>" enclosing the filename:
Code:
/usr/sfw/bin/acroread -toPostScript < e12692.pdf | lp -d hplasterjet5500pcl6

# 19  
Old 11-27-2012
Thanks its working fine now really appreciated your supportSmilie
As i print it from os command but there is ERP application from where its still printing garbage, what could be the reason?

secondly I am trying to add another print but its unable to add as i m giving this command
Code:
lpadmin -p erp-cljCP2025 -s 192.168.0.5 -I any
lpadmin -d erp-cljCP2025
lpstat -d
no system default destination

i want to add this printer but unable to add it what should i do
Regards

Moderator's Comments:
Mod Comment Video tutorial on how to use code tags in The UNIX and Linux Forums.

Moderator's Comments:
Mod Comment Please use code tags next time for your code and data.

Last edited by vbe; 11-27-2012 at 06:05 AM..
# 20  
Old 11-27-2012
open a new thread this time in solaris forum for your printer stuff...
# 21  
Old 11-27-2012
Could you please tell why i am not able to print through ERP application as it uses Pasta for printing.

I will open case related to printer

Regards

---------- Post updated at 12:42 PM ---------- Previous update was at 12:25 PM ----------

I cannot find link to open new thread as I have tried both chorme and IE. Where is link to open new thread

Regards

---------- Post updated at 12:55 PM ---------- Previous update was at 12:42 PM ----------

hi

I am unable to print the file as it gives following error as i try to print the file.

Failed to contact service for erp-cljCP2025: not-found

Regards

---------- Post updated at 01:03 PM ---------- Previous update was at 12:55 PM ----------

I wanted to open new thread but cannot find link could you please help.

Regards
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Solaris 10 print to pdf

Hi, Is it possible to setup printer on Solaris 10 that generates PDF file? We are using quite old solaris app and would like to generate files instead of printing to paper. Thanks in advance, Adam (3 Replies)
Discussion started by: adoxxyz
3 Replies

2. Solaris

Printing pdf problem using pasta.cfg

hi folks I have issue in printing pdf while using ERP application, it's using pasta utility to print pdf. If i print from command line its successful while when ERP user give print command the printer doesnot print anything rather it gives error which is as follows ESP Ghostscript 815.01:... (12 Replies)
Discussion started by: smazshah
12 Replies

3. Homework & Coursework Questions

[solved]Perl: Printing line numbers to matched strings and hashes.

Florida State University, Tallahassee, FL, USA, Dr. Whalley, COP4342 Unix Tools. This program takes much of my previous assignment but adds the functionality of printing the concatenated line numbers found within the input. Sample input from <> operator: Hello World This is hello a sample... (2 Replies)
Discussion started by: D2K
2 Replies

4. Shell Programming and Scripting

Printing using LPR solved

Hi Guys, I am using the following command in unix for printing. pr -t -l34 "$1" | lpr -r But i was not able to see the file getting deleted. Is anything wrong with the command. ---------- Post updated at 10:56 AM ---------- Previous update was at 10:38 AM ---------- Hi... (0 Replies)
Discussion started by: Kar1234
0 Replies

5. Windows & DOS: Issues & Discussions

Linux to Windows Printing: PDF starts printing from middle of page.

We are using Red Hat. We have a issue like this: We want to print from Linux, to a printer attached to a Windows machine. What we want to print is a PDF. It prints, but the printing starts from the middle of the page. In the report, there is no space at the top but still printing starts from the... (5 Replies)
Discussion started by: rohan69
5 Replies

6. Shell Programming and Scripting

Printing to PDF - Advanced usage

Hello, Just a rather long query regarding printing to PDF. I have installed the Cups-PDF printing system which enables me to send a normal text file and create a PDF of it. I then use the pdftk to merge that file with a template. My question is, that I have a database system that will need... (2 Replies)
Discussion started by: stuaz
2 Replies

7. UNIX for Dummies Questions & Answers

PDF Printing....

:confused: We have a Sco Open Unix 5.0.5 Server that I am trying to configure to allow for PDF creation. Currently the server is just using lpr to print to laser printers located throughout the facility. The goal is to be able to also print to pdf documents. There is no option for... (2 Replies)
Discussion started by: pabloescobar
2 Replies

8. Solaris

Sun Solaris 10 - SA1,2,and 3 PDF's

Dear All, Where can i get the Sun Solaris 10 ( SA 1,2, and 3) in pdf ? (4 Replies)
Discussion started by: viswanadhan
4 Replies

9. UNIX for Dummies Questions & Answers

printing in postscript or convert from pdf?

hi - go easy on me, i'm new to UNIX... i need to resample huge pdf files and make them smaller. distiller won't resize existing pdf files. i thought i could print the pdf to a postscript file and then resample that. would that work? if so, how? is this the best way forward or should... (1 Reply)
Discussion started by: jono2000
1 Replies

10. UNIX for Dummies Questions & Answers

printing PDF files

Hi all: I'm trying to resolve a print issue in HPUX. Background: An ascii report file was being produced by a program. It was being sent to the printer via internal commands, to wit: let #send_status = 0 let $send_cmd = 'lp -d lp03 /ps/tmp/edsprint/eds*.N.LIS' call... (4 Replies)
Discussion started by: abNORMal
4 Replies
Login or Register to Ask a Question