Click here to Skip to main content
16,020,706 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
hi,

I want to print my forms of vb.net using dot matrix printer??
Presently i am using this code...

VB
Me.PrintForm1.PrintAction = Printing.PrintAction.PrintToPrinter
Me.PrintForm1.Print()

But it creates problem as follows....

When i click the print button it prints on A4 size paper(as we want),after printing the complete A4 Size paper comes out (not a problem) but wen i print next form, at this time previous A4 paper goes back into the printer upto 3 to 4 inches.This will create problem while printing the next form.
i have to stop moving printed page into printer wen i print second page.
so that my print will come in proper format in a4 size paper.

Please help me out.
Thanks in advance for any suggestions.

parshu
Posted
Updated 27-Apr-11 21:26pm
v2

1 solution

Check your printer driver settings: You may well have the page length set to something silly...

Most DM printers have a formfeed button: line the paper up manually and press it. If the printer does not stop with the page properly aligned on the next sheet, check in the manual for how to set the form length on teh printer panel.

I'm amazed a DM printer is still alive - let alone that you can still get paper for it!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900