ourherohasfallen
New member
- Joined
- Nov 10, 2013
- Messages
- 1
- Programming Experience
- 1-3
Hi everyone, I have a Epson LQ2190 Dot matrix printer. I need print without auto page feed. Example after user save their document, it will print a summarize detail in a single line. Next time they save it will continue it on next line instead of new page. Im currently tried the RAW Printing provided by Microsoft site How to send raw data to a printer by using Visual Basic .NET, but it's not work because nothing been printed. There is print queue but nothing is printed. I have tried printdocument component with this setting but it still go to new page after printing.
[XCODE]
[/XCODE]
Actually in the end i will need to print it to 2 printer. 1st printer will printer like what i describe and 2dn printer will print an official custom paper pre-printed paper with custom layout.Any suggestion i should do?.
[XCODE]
VB.NET:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
PrintDocument1.Print()
End Sub
Private Sub PrintDocument1_PrintPage(ByVal sender As Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs) Handles PrintDocument1.PrintPage
PrintDocument1.DefaultPageSettings.PaperSize = New PaperSize("Custom", 800, 100)
e.Graphics.DrawString("test print 1", Button2.Font, Brushes.Black, 10, 10)
End Sub
Actually in the end i will need to print it to 2 printer. 1st printer will printer like what i describe and 2dn printer will print an official custom paper pre-printed paper with custom layout.Any suggestion i should do?.