- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Print PDF files with a postscript printer
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
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
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
тАО04-12-2006 02:52 AM
тАО04-12-2006 02:52 AM
Print PDF files with a postscript printer
I would like to print PDF files onto a postscript printer. My OS is HP-UX 11.23.
I know that I can use ghostscript but I would like the spooler to make the conversion so that I can do : lp -dXXX file.pdf
I have already done it under Solaris, Linux and AIX by adding a filter to the spooler. I am afraid it is not possible under HP-UX.
My printer is a network printer using JetDirect.
Thanks for any help
Jose
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2006 03:02 AM
тАО04-12-2006 03:02 AM
Re: Print PDF files with a postscript printer
acroread -toPostScript
- or -
cat sample.pdf | acroread -toPostScript | lp
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2006 08:35 PM
тАО04-12-2006 08:35 PM
Re: Print PDF files with a postscript printer
I won't print PDF files directly but through a program that does a "lp" command. That's why I want the spooler to make the conversion. This is possible with others UNIX such as Solaris and AIX.
Has anyone got an idea ?
Jose
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2006 12:53 PM
тАО04-13-2006 12:53 PM
Re: Print PDF files with a postscript printer
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2006 09:37 PM
тАО04-13-2006 09:37 PM
Re: Print PDF files with a postscript printer
This is exactly what I did. It works now.
Jose
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2006 07:45 PM
тАО05-21-2006 07:45 PM
Re: Print PDF files with a postscript printer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2006 07:47 PM
тАО05-22-2006 07:47 PM
Re: Print PDF files with a postscript printer
Sorry I was mistaking about Linux. I only added a filter on Solaris and AIX. I had a request about Linux but it was cancelled before I found a solution. Sorry for the inconvenience.
Jose
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2006 01:14 PM
тАО05-23-2006 01:14 PM
Re: Print PDF files with a postscript printer
If the filter is written in script, would you mind sending me the sample? I'd like to try it out with my Linux box! Thank you very much!
Regards,
Raymond.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2006 06:39 PM
тАО05-23-2006 06:39 PM
Re: Print PDF files with a postscript printer
On Solaris, I had to install Ghostscript that converts PDF to Postscript. Then, I installed the following filter in the folder /etc/lp/fd :
Input types: any
Output types: postscript
Printer types: any
Printers: any
Filter type: slow
Command: cat > /tmp/$$.ps && /usr/sfw/bin/gs -q -sDEVICE=laserjet -dNOPAUSE -dBATCH -sOutputFile=\|'lp -d prt-007 -' /tmp/
$$.ps && rm /tmp/$$.ps
I am afraid this won't work on Linux but maybe it could help.
Jose
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2006 01:21 PM
тАО05-24-2006 01:21 PM
Re: Print PDF files with a postscript printer
Raymond.