Solved

How to print TIF images through PCL

Posted on 2004-08-25
5
1,927 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
  • 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

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 …
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

911 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now