how to print a PDF file in UNIX


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers how to print a PDF file in UNIX
# 1  
Old 05-12-2011
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 must have a PDF converter (pref Post script) then just send the converted pdf to the printer. i checked our printer setting and they read as lp -sc -d <printer name>. our unix* is on SOLARIS.

please help... Smilie
# 2  
Old 05-12-2011
Do you have a acrobat reader on your box?
in which case you could :
Code:
# acroread -toPostScript | lp -c -oduplex -dlp0 <filename>

But its some time ago since last time I used this... and so may not be anymore the case...
This User Gave Thanks to vbe For This Post:
# 3  
Old 05-13-2011
tks vbe, it almost worked(the command is spot on), it just couldn't recognize the PDF directory (which is the global c: directory). i even copied the pdf file to one of the directories in UNIX and print it from there but it came back with an Error msg...
"Failed to contact service for _default: not-found", which i'm not sure what _default is it refering to...
 
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. 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

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

4. Shell Programming and Scripting

Batch job in unix server to move the pdf file from unix to windows.

Hi Experts, I have a requirement where i need to setup a batch job which runs everymonth and move the pdf files from unix server to windows servers. Could some body provide the inputs for this. and also please provide the inputs on how to map the network dirve in the unix like that... (1 Reply)
Discussion started by: ger199901
1 Replies

5. UNIX for Advanced & Expert Users

How to read pdf file in UNIX environment?

Hi, I had a PDF file in Windows, I ftp'ed it to UNIX environment. Now, I couldnot read the same file in the UNIX environment. Is there any possible way to read this file? I need to give this file as input Thanks, Geetha (4 Replies)
Discussion started by: iamgeethuj
4 Replies

6. UNIX for Dummies Questions & Answers

help to print text file in unix system

I am using SCO Unix to print text file. But the word size is too large, it is always over page (A4) when I print. Does Any one know how to use command change word size and make it fit on the page to print text file. I use command: lp -d (printer name) textFileName (16 Replies)
Discussion started by: wendyz
16 Replies

7. UNIX for Dummies Questions & Answers

Writing to pdf in Unix?

Is there an easy way to print to a pdf file in Unix? Now I'm using lpr command to print to a network printer , but I need to have a pdf version of the file as well! Can someone help me? -Rune (2 Replies)
Discussion started by: runeho
2 Replies

8. UNIX for Dummies Questions & Answers

How to view ps and pdf file under unix

Hello, I'd like to view ps and pds file under Unix(Xwindow) who could tell me the which software/command can work? Thanks! Vicky (2 Replies)
Discussion started by: vicky20000
2 Replies

9. UNIX for Dummies Questions & Answers

Print to file in UNIX

I ask this about a Tru64 system that I do not have access to... Is it possible to use lpr to print to file? Taking for granted that the default print in /etc/printcap has HP PCL filters, how can I create a PCL file from text? Thanks, kristy (2 Replies)
Discussion started by: kristy
2 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