Link to home
Start Free TrialLog in
Avatar of glaporte
glaporte

asked on

Printing Single Line without formfeed on Dot matrix Printer

How would you print a single line at a time to a dot matrix printer without the driver causing a formfeed. The line actually has to print on the paper. Just buffering lines until you have a page full is not what is needed. Microsoft had raw.drv for 16 bit apps that worked. Haven't seen anything for 32 programming. Thanks.
ASKER CERTIFIED SOLUTION
Avatar of dnavarro
dnavarro

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

Oops, I meant:

PRINT#1, "This is my text";

--Dave
Avatar of glaporte

ASKER

Use CreateFile() for opening the port.
WriteFile() to write to the port.
CloseHandle() for closing the port.