Link to home
Start Free TrialLog in
Avatar of ga
ga

asked on

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
ASKER CERTIFIED SOLUTION
Avatar of Dalin
Dalin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ga
ga

ASKER

When i'm not using the printer.enddoc statement, how
can i send my printjob to the printer without closing the
application
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
Avatar of ga

ASKER

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.
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