Operating System - HP-UX
1823713 Members
4099 Online
109664 Solutions
New Discussion юеВ

How we can print PDF file from HP-UX

 
Nisar Ahmad
Regular Advisor

How we can print PDF file from HP-UX

Hi There

What is the best way to print PDF file from HP-UX ?

Thanks in advance

Nisar
5 REPLIES 5
Dave Olker
Neighborhood Moderator

Re: How we can print PDF file from HP-UX

Adobe has a downloadable version of the Acrobat reader available for HP-UX. Try downloading it from:

http://www.adobe.com/products/acrobat/readstep2.html

The reader should allow you to view and print the pdf file.

Regards,

Dave


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Nisar Ahmad
Regular Advisor

Re: How we can print PDF file from HP-UX

Hi Dave

Thanks a lot for your help

I have just installed the latest s/w.

What is the command to print a pdf file ?

Nisar
Steven E. Protter
Exalted Contributor

Re: How we can print PDF file from HP-UX

Adobe in conjunction with this product can even convert postscript files into pdf

http://hpux.connect.org.uk/hppd/hpux/PostScript/ghostscript-7.07b/

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Nisar Ahmad
Regular Advisor

Re: How we can print PDF file from HP-UX

Hi All

I just want a command to print pdf file from HP-UX command line not any gue viewer plaese

Thanks

Nisar
Dave Olker
Neighborhood Moderator

Re: How we can print PDF file from HP-UX

The Acrobat reader program has an extensive help facility. One of the sections in the help facility is called "Printing PDF documents from the command line." Here is an excerpt from the help file:



Printing PDF documents from the command line (UNIX and Linux)

Besides printing directly from within Reader by choosing File > Print, you can print PDF files from the command line. The syntax for printing from the command line is:

acroread -toPostScript

Note: If a PDF file has been secured with an Open password or does not allow printing, you will not be able to print from the command line.

For example, to print the file sample.pdf to the default printer, type the following:

% cat sample.pdf | acroread -toPostScript | lp

You can use to control your print job from the command line. Options available to Reader are the following.

To create a Language Level 1, 2, or 3 file:

-level1 or -level2 or -level3

Note : -level2 is the default setting.

To print a PDF file to a differently named PostScript file:

-pairs ...

For example, to print sample.pdf to test.ps , you would use the following syntax:

acroread -toPostScript -pairs sample.pdf test.ps
...


In other words, printing from the acrobat command line is supported and fully documented in the Acrobat help facility. Also, converting PDF files to postscript is also supported by Acrobat and explained fully in the help facility.

I hope this helps,

Dave


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo