Operating System - HP-UX
1836636 Members
1526 Online
110102 Solutions
New Discussion

Re: How do I print tiff files using lp or some other utility in HP-UX 10.20

 
Basheer Azeemuddin
Occasional Advisor

How do I print tiff files using lp or some other utility in HP-UX 10.20

I have HP Laserjet 5Si printers defined as unix printers. When I print tiff files using lp command, it prints all garbage. Do I need something new to print these tiff files
Basheer
2 REPLIES 2
Alex Glennie
Honored Contributor

Re: How do I print tiff files using lp or some other utility in HP-UX 10.20

From DocId: KBRC00001699 + some additional notes/info .....

sys: 9000 model; 735 os: 10.20
Cust has a color laserjet 5 printer and wants to print a tiff file.

Option 1) download xv from the web (shareware) and open file with xv and save
as postscript. Then print the postscript file with lp, lp -opostscipt -
dprintername filename.ps

Xv should be found at http://hpux.connect.org.uk/ ....

Option 2) Open file with imageview and use xwd to send window to printer
xwd | xpr -device pjetxl | lp -oraw -dprintername

Another option is to print from imageview. See the manpage for imageview for
instructions I think it needs SharedPrint utility installed & configured too ...

Drawback with imageview is it came as part of the Mpower product (apps CD and is purchaseable) ......




Stefan Schulz
Honored Contributor

Re: How do I print tiff files using lp or some other utility in HP-UX 10.20

HI,

the problem is not the spooler but the format the printer understands. Your Laserjet 5si just don't understand TIFF files so you get all garbage.

What you need is a programm which will convert your Tiff file in a format your printer understands (PS, PCL ...)

So you need an imageconverting/-manipulating software. Have a look at the porting center (e.g. http://hpux.asknet.de). There you will find GIMP, xv, ImageMagick and others.

This programms will open your Tiff and print it directly or convert it to PostScript/PCL.

Hope this helps

Regards Stefan
No Mouse found. System halted. Press Mousebutton to continue.