Solaris 10 print to pdf


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris 10 print to pdf
# 1  
Old 05-15-2016
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
# 2  
Old 05-15-2016
One way is to install the ghostscript application on Sol 10. You must install pkgutil from opencsw first.

https://www.opencsw.org/package/ghostscript/

To be clear pdf on Solaris is NOT like pdf on windows. There is an application that sends text to pdf. You have to invoke it outside of lp.
If it absolutely has to be part of "printing to a file" you will have to play around with svccfg for print services.

If I had it to do: I would simply use the app to write a file and skip printing printing to a pseudodevice. Write some code to run in a crontab entry: run the app against any file that shows up in a given directory. Execute the cron entry every minute if users have to have the data "right now".

Last edited by jim mcnamara; 05-15-2016 at 09:21 PM..
# 3  
Old 05-16-2016
Thank you.
We are now thinking about deploying linux virtual machine with cups service to act as network printer saving pdf files.
Our app uses network printers so it sounds like good solution.
# 4  
Old 05-16-2016
I guess the Cups on the Linux box uses ghostscript, too.
A print server has the disadvantage that saved files are owned by the print server i.e
root. If you have a mail server, you can probably mail back the generated PDF to the user...

Is there really no print-to-file option in your application? Or perhaps you can configure its print command, e.g. change an lp command to mylp, and have a custom mylp script?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

How to print PDF files on AIX 5.3?

Hello All, How to print PDF files on AIX 5.3 and 6.1 because i tried adobe reader with no success, any help will be highly appreciated. Thank you (8 Replies)
Discussion started by: moudmm
8 Replies

2. AIX

Print to Windows PDF printer from AIX

Hopefully this is the correct place to post this, if not please let me know. I am trying to find a way to print from AIX directly to a windows PDF printer. I don't really care if it is paid or freeware, I am just trying to get it to work. I did see a product called BullZip and I am going to... (3 Replies)
Discussion started by: DerangedNick
3 Replies

3. UNIX for Dummies Questions & Answers

Pdf file format generation error in Solaris 8 server

Hi experts. We have Solaris 8 server and we set as reporting server. We are facing problem that, it is not generating pdf files in a specified format. give your valuable suggestions that, what i have to check and what are the necessary step i have to do (4 Replies)
Discussion started by: siddulamadhu
4 Replies

4. Solaris

Setting up Solaris 10 to print to a windows print server

Guys, I have a issue that I am trying to rectify please advise. lpstat -t shows scheduler is running printer lext644 disabled since Mon Dec 02 19:48:18 2013. available.I have restarted the printer service and it shows online but the above says disabled. I have a lot of jobs in the print... (1 Reply)
Discussion started by: terrywhitejr
1 Replies

5. Shell Programming and Scripting

[Solved] Pdf Printing in Solaris

HI All I need help related to Pdf printing in Solaris.as I print pdf file in solaris it print garbage.how can I print pdf correctly. need help asap. Regards (21 Replies)
Discussion started by: smazshah
21 Replies

6. Solaris

Solaris 10, GhostPDL , PCL to PDF , pcl6 core dump

I have compiled GhostPDL that provides a shell script pcl2pdf that calls the executable pcl6. pcl6 compiled with no errors using gmake and gcc. Running pcl2pdf generates a core dump when trying to convert a pcl file to pdf. I have installed the Ghost fonts. Does anyone have GhostPDL compiled... (1 Reply)
Discussion started by: gduncan
1 Replies

7. UNIX for Dummies Questions & Answers

how to print a PDF file in UNIX

on a PROGRESS environment, i create an invoice which at printing it must generate both the .dat for the invoice that was sent to the printer and the .dat for the PDF version. we have never printed PDF files in our lp printer until recently. i've done a bit of googling and it comes down to that i... (2 Replies)
Discussion started by: pdf2ps
2 Replies

8. Shell Programming and Scripting

convert solaris file to pdf

Hi Guys, How to convert a unix text file into pdf? Please Help!!!!!!!!!!!!!!!!!! Thanks (2 Replies)
Discussion started by: Phuti
2 Replies

9. 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

10. UNIX for Dummies Questions & Answers

How to print multi page to one for pdf in unix??

I need help on printing PS and PDF file. I find it will waste a lot of paper if I print every pages. So I want to print multipage into one. But I forgot how to do it in unix. Anyone help me!!! :D ;) :p (2 Replies)
Discussion started by: sunartio
2 Replies
Login or Register to Ask a Question