ehDevicePageReceive event Fires twice
Hi,
I am using the example SendEachPageAsNewPDFFile from RBWiki. It seems
that ehDevicePageReceive fires twice. The first time the PDF file is there
but is not complete (cannot open) the second time the PDF is completed. Is
there a reason why this is happening? I want to do further processing as
soon as the file is complete. What is the best way to do this.
Thanks
I am using the example SendEachPageAsNewPDFFile from RBWiki. It seems
that ehDevicePageReceive fires twice. The first time the PDF file is there
but is not complete (cannot open) the second time the PDF is completed. Is
there a reason why this is happening? I want to do further processing as
soon as the file is complete. What is the best way to do this.
Thanks
This discussion has been closed.
Comments
Initially a "message" page is sent to the device which does not contain any
drawcommands or file information. This page object is ignored by the file
device when sent to its ReceivePage routine. You can take a look at the
TppDevice.IsMessagePage property to see how to tell if a page is going to be
used as output.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com