D
Deadly_Bait
I've gone through every post I could find and have found 3 solutions,
but none of them are working for me.
The situation:
My app will be used by field technicians to print service invoices out
in the field. They will be printing to HP printers via IrDA.
The problem is that I can't format and print my invoices.
The first solution I found was FieldSoftware's PrinterCE tool, but my
employer is a small pest control business and can't afford to buy this
for me. It would work perfectly, as I could format the invoices
properly, but it's not an option for me.
The second solution I read about was creating an HTML document and
somehow printing that. This would be great if someone could explain
to me how I could print an HTML file. I found the HP Mobile Printer
SDK, but it doesn't support printing HTML files. It only supports a
handful of text/picture files and I don't know if I could even convert
my HTML file to a format that the printer SDK could even use. Any
ideas on this?
The third solutions seems to be using PInvoke. I've never used it
before, but I poked around have a general idea of how it works. It
sounds like I'm supposed to use some methods in coredll.dll, but I
can't figure out which ones. I can't even figure out what methods are
in that file. Someone mentioned "dumpbin /all coredll.dll", but when
I ran that I got an error that said I was missing mspdb71.dll, which
Google knows nothing about. Is there a site somewhere that lists the
members I could PInvoke in that file? Is that the file I'm even
supposed to be using?
Any help would be much appreciated. I've been spinning my wheels for
several days now, going through forums and websites.
Thanks in advance,
Deadly_Bait
but none of them are working for me.
The situation:
My app will be used by field technicians to print service invoices out
in the field. They will be printing to HP printers via IrDA.
The problem is that I can't format and print my invoices.
The first solution I found was FieldSoftware's PrinterCE tool, but my
employer is a small pest control business and can't afford to buy this
for me. It would work perfectly, as I could format the invoices
properly, but it's not an option for me.
The second solution I read about was creating an HTML document and
somehow printing that. This would be great if someone could explain
to me how I could print an HTML file. I found the HP Mobile Printer
SDK, but it doesn't support printing HTML files. It only supports a
handful of text/picture files and I don't know if I could even convert
my HTML file to a format that the printer SDK could even use. Any
ideas on this?
The third solutions seems to be using PInvoke. I've never used it
before, but I poked around have a general idea of how it works. It
sounds like I'm supposed to use some methods in coredll.dll, but I
can't figure out which ones. I can't even figure out what methods are
in that file. Someone mentioned "dumpbin /all coredll.dll", but when
I ran that I got an error that said I was missing mspdb71.dll, which
Google knows nothing about. Is there a site somewhere that lists the
members I could PInvoke in that file? Is that the file I'm even
supposed to be using?
Any help would be much appreciated. I've been spinning my wheels for
several days now, going through forums and websites.
Thanks in advance,
Deadly_Bait