Need to convert bmp to pcl in vb.net

G

Guest

I need to read a bitmap file containing a signature and convert it to a PCL
file.

I can print the bitmap to a file printer using the HP PCL driver and this
produces a file that I can use. I am using the PrintDocument object and
setting the PrinterSettings to specify the filename so the user isn't
prompted for it. The problem is there is a dialog that flashes briefly
showing "Page 1 of"... and I absolutely can't have this flashing on the
screen. Is there any way I can suppress this dialog?

If not, is there some sample code showing to create the PCL from a bitmap?

Thanks in advance!
 
G

Guest

I found how to suppress the dialog... I needed to add the following line of
code:

doc.PrintController = new StandardPrintController()
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top