[Solved] Pdf Printing in Solaris


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting [Solved] Pdf Printing in Solaris
# 8  
Old 11-26-2012
Do you have:
Code:
lo4:/export/home/vbe $ which gs
/usr/sfw/bin/gs
lo4:/export/home/vbe $ which  pdf2ps             
/usr/sfw/bin/pdf2ps

# 9  
Old 11-26-2012
no gs in /usr/sbin /usr/bin /usr/ccs/bin /usr/openwin/bin /usr/dt/bin /usr/platform/SUNW,SPARC-Enterprise-T5120/sbin /opt/sun/bin /opt/SUNWexplo/bin

no pdf2ps in /usr/sbin /usr/bin /usr/ccs/bin /usr/openwin/bin /usr/dt/bin /usr/platform/SUNW,SPARC-Enterprise-T5120/sbin /opt/sun/bin /opt/SUNWexplo/bin /opt/SUNWsneep/bin /opt/CTEact/bin /opt/emc/SYMCLI/V6.5.2/bin
# 10  
Old 11-26-2012
Do you have a /usr/sfw/ directory? ... It is not in your path... ( normal...)
# 11  
Old 11-26-2012
no gs in /usr/bin /opt/EMCpower/bin /etc/emc/bin /etc
no pdf2ps in /usr/bin /opt/EMCpower/bin /etc/emc/bin /etc

I have /usr/sfw.
does it need to be in path and how can I put this in my path

Regards
# 12  
Old 11-26-2012
go and see in /usr/sfw/bin what you have then...
# 13  
Old 11-26-2012
in /usr/sfw/bin

there are many files and I can see pdf2ps and gs files too.

i searched gs and found it here
/usr/sfw/bin/gs
/appl/lost+found/#01322068/comn/java/classes/oracle/apps/fnd/oam/bobj/manager/gs
/appl/lost+found/#00005825/apps_st/comn/java/classes/oracle/apps/fnd/oam/bobj/manager/gs

I also found pdf2ps in same directory
/usr/sfw/bin/pdf2ps

Regards
# 14  
Old 11-26-2012
And I am quite sure you also have acroread there also...
Since I started saying you can with acroread, try
Code:
/usr/sfw/bin/acroread -toPostScript < /<yourPDF_file>.pdf | lp -d <yourPrinter>

I let you search how to use pdf2ps...

Last edited by vbe; 11-26-2012 at 12:20 PM.. Reason: added full path to acroread...
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