Operating System - HP-UX
1826511 Members
3584 Online
109694 Solutions
New Discussion

I'm trying to print a dpf file on printer slaved on the back Terminal

 
Abbey
Occasional Contributor

I'm trying to print a dpf file on printer slaved on the back Terminal

Using the lp or cat command I'm unable to print dpf files on Hp-ux 11i. The printer
basically prints garbage.

These printer are connected on a parallel port on the back a dumb terminals. I also tried this on network connected printer on Hp-ux 11i and the result was the same.

Any help will appreciated greatly appreciated,

The following are the commands I used:
lp -dprinter_name myfile.pdf
cat myfile.pdf > /dev/prta01

P.S /dev/prta01 is linked to ttyta01, the pr
files device handle the transparent printing.




2 REPLIES 2
Bill Hassell
Honored Contributor

Re: I'm trying to print a dpf file on printer slaved on the back Terminal

Your printer does not understand PDF files. As far as I know, there is no printer that can print a PDF file. There are basically 2 langiages for printers: ASCII (and enancements to ASCII called PCL) and Postscript. To print a PDF file (or GIF or JPG, etc) you'll have to locate a program that can convert the file to a useable format.


Bill Hassell, sysadmin
Rob_132
Regular Advisor

Re: I'm trying to print a dpf file on printer slaved on the back Terminal

Printing a .pdf file directly with lp will not work. To print the file properly, load the file into Adobe Acrobat reader and print from the application. If you don't have an Adobe Acrobat reader, you can get it here:

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


Hope this helps!

Rob