- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Printing PDF file from Unix
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2004 11:46 PM
тАО11-07-2004 11:46 PM
One of our new application running on HP Unix 11.X produces all the necessary reports in PDF format.
Is it possible to print PDF files from HPUX using lp command? Please help me with the procedure.
Thanks & Regards
Jayamohan
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2004 11:50 PM
тАО11-07-2004 11:50 PM
Re: Printing PDF file from Unix
If I'm not mistaken you will need to install the acrobat viewer before you can print the pdf files.
http://www.adobe.com/products/acrobat/readstep2.html
Best regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2004 12:08 AM
тАО11-08-2004 12:08 AM
Re: Printing PDF file from Unix
Can your printer print poscript documents?
if no you need to install ghostscript utility.
http://hpux.cs.utah.edu/hppd/hpux/PostScript/ghostscript-7.07b/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2004 12:10 AM
тАО11-08-2004 12:10 AM
Re: Printing PDF file from Unix
Look at GhostScript as a possible solution in addition to Acrobat Viewer...
If using acrobat, the syntax for printing to a PS capable printer is:
cat unixfile.pdf | /opt/Acrobat5/bin/acroread -toPostScript | /bin/lp -dhplaser $3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2004 12:46 AM
тАО11-08-2004 12:46 AM
Re: Printing PDF file from Unix
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2004 02:18 AM
тАО11-08-2004 02:18 AM
Re: Printing PDF file from Unix
Thanks for the reply.
We have Postscript capable printers. Currently it is used as "ftp" printers using D-Link print server.
The requirement is, while running some batch job, the application generates the reports and it has to be printed directly in the printer. Thus, opening the pdf file using acrobat and printing may not be suitable.
Can we have some other option?
If we use HP jetadmin, can we print the pdf file directly to the Postscript capable printer by just using lp command ?
Please help..
Thanks & Regards
Jayamohan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2004 02:25 AM
тАО11-08-2004 02:25 AM
SolutionYou obviuosly missed my post. Acrobat Viewer CAN BE ran in a non-Interactive (ie for use in command line scripts or batch mode) fashion to generate postscript for printing to any PS capable printer. The following is the syntax:
cat unixfile.pdf /opt/Acrobat5/bin/acroread - toPostScript | /bin/lp -dpsprinter
You can also use ghostscript:
pdf2ps unixfile.pdf /tmp/unixfile.ps
cat /tmp/unixfile.ps | lp -dpsprinter
or
pdf2ps unixfile.pdf|/bin/lp -dpsprinter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2004 02:41 AM
тАО11-08-2004 02:41 AM
Re: Printing PDF file from Unix
This is an often overlooked feature of Acrobat Reader -- that you can run it in batch mode and use it as a converter for PDF to PS... You will need to add custom fonts if need be for some speciliased priniting if the default fonts do not suffice. Simply opy your fonts to the Addobe fonts directory...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2004 02:55 AM
тАО11-08-2004 02:55 AM
Re: Printing PDF file from Unix
If you are not sure look at
http://www.planetpdf.com/ and
http://hpux.connect.org.uk/
You will find the same advice
Steve Steel