borderAndreaVB free resources for Visual Basic developersborder
borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2017 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Next Topic (Bill Printing) New Topic New Poll Post Reply
AndreaVB Forum : Printing : Printing invoice in contiinous paper using USB Dot matrix printer
Poster Message
imagetvr
Level: Trainee

Registered: 05-01-2015
Posts: 3

icon Printing invoice in contiinous paper using USB Dot matrix printer

I wish to print Invoice in Continuous statonery (Roll Paper ) width of paper 4  inches


My problem , after printing one bill printer skips and giving lot of space between two bills. (Paper ejected after printing Bill ). My Requirement is printer must stop printing after completing Invoice. ( no gaps required ) and user tear off that bill and continue to print next Invoice.

I am Using TVS RP 45 shoppe (USB DOT Matrix Printer).
NOTE: I am not interested in Text file Printing (Print #1 ) method. In this I cannot use different Fonts and font size. I wish to print shop name and address printed in Big font.
Please help me
MY Code is here
Printer.Font = "Arial"
Printer.FontBold = True
Printer.FontSize = 12
Printer.CurrentX = 3400
Printer.CurrentY = 50
Printer.Print " XXXXXXXXXXXXXXXX "
Printer.Font = "Arial"
Printer.FontBold = False
Printer.FontSize = 10
Printer.CurrentX = 3400
Printer.CurrentY = 350
Printer.Print "  XXXXXXXXXXXXXXXXXXXXX  "
Printer.CurrentX = cx - TextWidth(custdue)
printer.CurrentY = cy + 300
Printer.FontSize = 10
Printer.Print Format(custdue, "00.00")
cy = cy + 600
Printer.Line (6000, cy)-(7800, cy)   '-h line
Printer.EndDoc

12-06-2017 at 07:53 AM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : Printing : Printing invoice in contiinous paper using USB Dot matrix printer
Next Topic (Bill Printing) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
borderAndreaVB free resources for Visual Basic developersborder
borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2017 Andrea Tincaniborder