Question : printing on roll paper in vb.net

I should print text (prices,...) on certain places on preprinted bill forms which are rolled, and have size of 20cm x 10cm. How can I do that in VB.NET?

Thanks,
Mario

Answer : printing on roll paper in vb.net

You need raw printing feature with lots of P/Invoke functions.
Have a look to this MSDN article and example:
http://support.microsoft.com/kb/322090

The correct sequence to print is (pseudo code):
OpenPrinter
StartDocPrinter
StartPagePrinter
SendStringToPrinter(yourdata)
EndPagePrinter
EndDocPrinter
ClosePrinter

Random Solutions  
 
programming4us programming4us