Visual Basic .NET Forums  
Click here to advertise with us

Go Back   Visual Basic .NET Forums > Components & Controls > Reporting / Printing

Reporting / Printing Discussion on output-creation components such as reporting, pdf, etc.

VB.NET Forums Newsletter Signup:
Email address:


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-25-2009, 9:30 AM
VB.NET Forum Newbie
.NET Framework: .NET 2.0 (VS 2005)
 
Join Date: Jun 2009
Age: 28
Posts: 1
Reputation: 0
tgshivakumar is on a distinguished programming path ahead
Default feed problem in Receipt Printing using vb.net

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-25-2010, 10:44 AM
VB.NET Forum Newbie
.NET Framework: .NET 2.0
 
Join Date: Jan 2010
Location: India
Age: 28
Posts: 3
Reputation: 0
elizas is on a distinguished programming path ahead
Default

How to Print Receipt by POS Printer using VB.Net.
__________________
Cheers,
Eliza
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





All times are GMT -4. The time now is 10:34 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2


For advertising opportunities click here.