Solved

How to print TIF images through PCL

Posted on 2004-08-25
5
1,937 Views
Last Modified: 2013-12-15
Hello experts:

I am new to PCL programming. I want to print TIF Images from different trays with overlay.
I wrote a test file which can print some text in that test file through the tray I asked, but how can I print the image through different trays and how to ask the printer to print my files with the settings I defined in PCL scripts?  I am using HP LaserJet 9000 and PCL 5 and i am trying to do this through DOS command window and later I will try it in Java code.

Thanks

karen
0
Comment
Question by:kerzner
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 38

Accepted Solution

by:
hdhondt earned 100 total points
ID: 11899438
You need to convert the TIF data to PCL. In other words you need to know how to decode the TIF format (and there are many different possibilities: PC or Mac byte order, RGC or CMYK, various forms of compression, etc) and you need to know how to send a PCL raster image to the printer. As you already know how to change trays etc, you probably have a PCL command reference manual. If you don't have one, go to

http://search.hp.com/gwuseng/redirect.html?type=REG&qt=PCL+5+Printer+LanguageTechnical++Reference+Manual&url=http%3A//h20000.www2.hp.com/bc/docs/support/SupportManual/bpl13210/bpl13210.pdf&pos=1

Look up the Raster Graphics section in that manual for details. For info on TIFF format you can start with

partners.adobe.com/asn/developer/pdfs/tn/TIFF6.pdf

If the HP 9000 supports direct TIFF printing (I don't think it does, but I'm not sure) you can use PJL commands to set the default tray and then send the TIFF file.
0
 
LVL 1

Author Comment

by:kerzner
ID: 11903207
Hello hdhondt,

If i don't print from DOS, I don't need to convert TIF into PCL format, do I? I am wondering if I use java or VB to print the TIF through the PCL 5e driver, and insert PCL script between the print jobs, is that possible?
Thanks
0
 
LVL 38

Expert Comment

by:hdhondt
ID: 11911109
No, you *always* need to convert from TIFF to PCL (except for those printers that support TIFF directly). However, with Windows you can open the TIFF file into any image viewer and print from that. In that case the driver will do the conversion for you. If you use Java or VB you still need to do the conversion, although there is a possibility that someone has a set of functions that will do the job. Expect to pay for them though - if you can find them.
0
 
LVL 1

Author Comment

by:kerzner
ID: 12040223
I used something else (application printing), but this was a good discussion.
0
 
LVL 38

Expert Comment

by:hdhondt
ID: 12042482
Thanks for the points anyway
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Causes of paper jams:The following are the main causes of paper jams. Guides:If the guides for the paper are not set correctly they may cause the paper to enter at an angle. You should ensure that the guides are set correctly for the paper type a…
Printers have changed substantially in the last 30 or so years, not just in technical capabilities but in cost and usage as well.  Printers were originally used for interfacing with the operator, not necessarily for printing copy or pictures. In …
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question