Groups | Blog | Home
all groups > dotnet framework > june 2007 >

dotnet framework : image (bmp) to PCL



Yourik
6/14/2007 12:30:01 AM
We are trying to convert an image into a PCL format but unfortanately our
efforts are not paying off. The reason for this conversion is because we
would like to print on a continuous paper (on dot matrix printers) but if we
send the data directly the printer does not recognize the end of the page
(since the page is continuous) and will still eject the paper after the print
is done.

Peter Duniho
6/14/2007 10:05:24 AM
On Thu, 14 Jun 2007 00:30:01 -0700, Yourik
[quoted text, click to view]

It's been awhile, but my recollection from when I did a lot of work with
printing code is that for continuous feed printers, there is still an
upper limit to how large an image you can print (because the whole
printout needs to be within the limits of the coordinate system), and the
printer will still do a final page eject when you reach the end of the
job, regardless of how the job is sent to the printer.

I'm not really clear on why you believe that sending the job to the
printer as raw PCL instead of going through the Graphics class will
improve the situation, but if you feel that it should, I'm fairly
confident that this newsgroup is not the best place to look for the
answer. This newsgroup is for .NET Framework programming problems, and
I'm pretty sure that you're not going to find the solution to your issue
in the .NET Framework.

Yourik
6/15/2007 10:07:04 PM
Hi Pete,

Thanks for the reply. Our problem is that when you send the info through the
printing API the printer will continue ejecting the paper until it reaches
the end of the paper. Now, since we are using continuous paper, this means if
we were to print 100 pages the printer would continue to eject paper even
after the 100 records are printed (because we it hasn't reached the end of
the paper). On the other hand if use PCL we can send escape sequences to
control the printer manually and be able to stop that paper at the end of the
100th record.

BTW, I'm not sure under which newsgroup I need to post this. The most
appropriate one that I found is .Net. I couldn't find any newsgroups that
correspond to .Net printing.

Thanks,
Yourik

[quoted text, click to view]
AddThis Social Bookmark Button