cancel
Showing results for 
Search instead for 
Did you mean: 

Print image file

SOLVED
Go to solution
j773303
Super Advisor

Print image file

Does anyone know how to print a image file?
Using lp??
Hero
9 REPLIES
Armin Feller
Honored Contributor

Re: Print image file

Hi,

I'm not sure if you want to print e.g. tif-images, but here is an example for that:

--- snip ---
PROBLEM
How can I print a .tif or other graphic image files directly from the lp
spooler?

RESOLUTION
Note: This is public domain software and is not supported by HP, however
it should give the desired results.

There is Public Domain software available from http://hpux.cae.wisc.edu/hppd
that will allow printing of .tif files from the command line.

1. Download and install tiff-3.5.2, zlib.1.1.3 and jpeg-6b.

2. Using swcopy copy all into a single depot, with tiff3.5.2
copied last.

3. Install all three packages at the same time.

4. After the packages are installed a .tif file can be printed from the
command line with the following command:

/opt/tiff-3.5/bin/tiff2ps file.tif | lp -dprinter -opostscript

Note: file.tif is the .tif image file and printer is the
postscript capable printer.
--- snap ---

Regards,
Armin
Steve Steel
Honored Contributor

Re: Print image file

Hi

This is neat

http://www.imagemagick.org/

treat your self to a great piece of software

ImageMagickTM is a robust collection of tools and libraries to read, write, and manipulate an image in many image formats (over 68 major formats) including popular formats like TIFF, JPEG, PNG, PDF, PhotoCD, and GIF. With ImageMagick you can create images dynamically, making it suitable for Web applications. You can also resize, rotate, sharpen, color reduce, or add special effects to an image and save your completed work in the same or differing image format. Image processing operations are available from the command line, as well as through C, C++, Perl, or Java programming interfaces.


Steve Steel

Do not meddle in the affairs of Unix, for it is subtle and quick to core dump
If you want truly to understand something, try to change it. (Kurt Lewin)
j773303
Super Advisor

Re: Print image file

Could it be installed by HP-UX 10.20?
Hero
Steve Steel
Honored Contributor

Re: Print image file

Hi


I have it on 10.20

hpux.connect.org.uk
30
United Kingdom
HP-UX 10.20 and 11.00 source and binary


steve Steel

Do not meddle in the affairs of Unix, for it is subtle and quick to core dump.
If you want truly to understand something, try to change it. (Kurt Lewin)
j773303
Super Advisor

Re: Print image file

Hi,

In your message

Do not meddle in the affairs of Unix, for it is subtle and quick to core dump.

Is it means the tool is not stability ??
Hero
Armin Feller
Honored Contributor
Solution

Re: Print image file

V. Nyga
Honored Contributor

Re: Print image file

Hi,

don't worry - read this and you will understand Steve
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xfa5f0fe6d0f7d61190050090279cd0f9,00.html

Volkmar
*** Say 'Thanks' with Kudos ***
Steve Steel
Honored Contributor

Re: Print image file

Hi

It is a great and stable tool . ImageMagick.


After the signature is just a quotation about unix meant purely for amusement.


Steve Steel

Quote
"We are drowning in information but starved for knowledge."
-- John Naisbitt
If you want truly to understand something, try to change it. (Kurt Lewin)
j773303
Super Advisor

Re: Print image file

Is ImageMagick also support direct print image file to local printer/remote printer?
Hero