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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Use CreateFile() for opening the port.
WriteFile() to write to the port.
CloseHandle() for closing the port.
WriteFile() to write to the port.
CloseHandle() for closing the port.
PRINT#1, "This is my text";
--Dave