Disable formfeed

After every printjob vb generates a formfeed
I'm using a matrix-printer for address-labels
How can i disable the formfeed after the printjob
gaAsked:
Who is Participating?
 
DalinConnect With a Mentor Commented:
Ga
Get rid of the "Printer.EndDoc" statement.
Regards
Dalin
0
 
gaAuthor Commented:
When i'm not using the printer.enddoc statement, how
can i send my printjob to the printer without closing the
application
0
 
DalinCommented:
ga,
you use the same code to send your stuff to the printer, such as Printer.Print myText...
Printer.EndDOc is to terminate the printing operation and do a form feed (like a printer.Newpage).  You can use Printer.EndDoc when you do want to have a new page (or your printing job end).
Regards
Dalin
0
 
gaAuthor Commented:
When I don't use the printer.enddoc statement nothing is printed
until I close the application.
the printer data will be send to the printer after the
printer.enddoc statement, or when the application is closed.
0
 
DalinCommented:
ga,
That is the limitation of VB.

However, you can still use theold DOS GWBAsic type of commend to print line by line.


            Open "PRN" For Output As #1

            Print #1, YourStuff

Regards
Dalin
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.