feed problem in Receipt Printing

tgshivakumar

New member
Joined
Jun 25, 2009
Messages
1
Programming Experience
5-10
Hi All,

I am developing a POS receipt printing program.

When i print the item to printer, Printer is automatically doing form feed. I donot want the printer to perform form feed. It should stop after my print is over. [ withouth scrolling paper out ]

I tried RAWPrinterHelper class provided by microsoft for printing [ its not doing form feed ] , but the problem is, i am not able to set font for print information. So i am having alignment problem when data gets printed.

So i decided to go with printdocument. but its doing form feed automatically.

snippet of code which is using printdocument for printing.

Dim MyPrintObject As New clsTextPrint(strPrintInfo)
' Set font, if required
MyPrintObject.Font = New Drawing.Font("Courier New", 10)
MyPrintObject.Print()

I checked complete internet resource. not finding relevant information.

Please help me out friends.

Regards
Shiva.
 
I too am having great difficulty stopping a receipt printer from feeding out an extra 7 inches of paper before stopping.

The reason, I think, is that a Form Feed code (hex 0c) is automatically added by VB to the print file. This seems to cause some printers to get confused.

Any one got any suggestions? Can you remove the Form Feed?

Thanks,
M.
 
Last edited:
Back
Top