Solved

How to print TIF images through PCL

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Sudden printer install problems 6 59
Canon ImageProGraf IPF 510 calibration 3 58
Receipt Printer for web based app 3 87
Windows Installer (VBSCRIPT) Rename Printer 3 31
If you use a Brother DCP 130C or similar Brother printer, at some point you might encounter the following problem: after you change the ink cartridge, the printer displays an "ink empty" message. Sometimes you just need to follow the instructions…
This seems to be a very common error related to the Samsung printer driver. First, this is the error we're talking about: Log: System Type: Error Event: 7000 Agent Time: 3:37:24 am 22-Apr-09 Event Time: 6:07:24 pm 21-Apr-09 UTC Source: Se…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
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…

821 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