I want to embed bitmaps in pcl successfully

Asked By 30 points N/A Posted on -

I want to embed a graphics file in PCL or HPGL. I have also tried converting the bmp to pcl but unfortunately failed. Is there any solution?

Answered By 0 points N/A #141587

I want to embed bitmaps in pcl successfully



For you to successfully embed a graphics file in PCL or HPGL, you will need to have  your graphics converted to PCL binary file first.  The easiest method you can use to do this is to open your file and after that print to file.  

Note that the outcome you get from the above method can be a bit messy as well as unacceptable and for that matter it will involve editing the binary file it produced.  

You can use a software that does this cleanly and effectively so that you can be able to even assign a macro ID to the PCL converted file.  Once you have converted the bmp to PCL macro, you will have to download the macro to the printer by doing the following: copy /b <macrofile> lpt<#> ,  where <macrofile> represents the image converted to pcl macro and <#> is the printer port.

After that you can go ahead and send PCL command to the printer in order to execute your macro to print the image. The following is the command to execute the macro:  ESC&f2X




Login/Register to Answer

Related Questions