-
June 12th, 2017, 02:58 AM
#1
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
Code:
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
Last edited by 2kaud; June 12th, 2017 at 03:29 AM.
Reason: Added code tags
-
June 12th, 2017, 07:15 AM
#2
Re: Printing invoice in contiinous paper using USB Dot matrix printer
Check your printer settings.
Always use [code][/code] tags when posting code.
-
June 12th, 2017, 10:21 AM
#3
Re: Printing invoice in contiinous paper using USB Dot matrix printer
Originally Posted by DataMiser
Check your printer settings.
In this type printer Only Roll Paper with 4 inch only to printed. No more paper settings
-
June 12th, 2017, 01:56 PM
#4
Re: Printing invoice in contiinous paper using USB Dot matrix printer
There are usually settings for how much paper to feed for tear off
Always use [code][/code] tags when posting code.
-
July 17th, 2017, 01:56 AM
#5
Re: Printing invoice in contiinous paper using USB Dot matrix printer
Sometimes you can trick the Printer by setting a form length of ZERO (or 1) -
Then when you have finished printing your Sale Docket, perform as many "print" statements so that the paper skips up to the tear-off point
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|