printing a macro in vb.net

  • Thread starter Thread starter Shane
  • Start date Start date
S

Shane

I am trying to print a macro which is really just a bunch
of pcl code that represents a form of mine to the
printer. I have been able to do this using the
winspool.drv api calls so that I can send the macro byte
by byte to the printer.

The problem is the printer views this as a print job
rather than a macro that should be loaded into printer
memory. So after a minute or two it delets and or spits
out the printjob rather than keeping the macro loaded in
printer memory. In Dos you could just load the macro and
then turn it on and off by sending control sequences to
the printer. Is there a way to do this in windows with
vb.net
 
-----Original Message-----
I am trying to print a macro which is really just a bunch
of pcl code that represents a form of mine to the
printer. I have been able to do this using the
winspool.drv api calls so that I can send the macro byte
by byte to the printer.

The problem is the printer views this as a print job
rather than a macro that should be loaded into printer
memory. So after a minute or two it delets and or spits
out the printjob rather than keeping the macro loaded in
printer memory. In Dos you could just load the macro and
then turn it on and off by sending control sequences to
the printer. Is there a way to do this in windows with
vb.net
.

I've done a little more research I think what I am looking
for is called passthrough it was mentioned for some early
development work... What I can't find is how I would do
that in vb.net

thanks
 
Back
Top