I tried to write a byte to the parallel port in this way:
BOOL bWriteFile,bCloseHandle, bWait=FALSE, bOVResult;
bWriteFile=WriteFile(hLPT, &ccb, 1, &nNumberOfBytesWritten, &st_Overlapped);
This works only if I have installed a printer driver to lpt1! Then, after proceeding, a print message window opens and tells me there is no paper in the printer, but I will not print!!!
I need a solution with about 10 or 20 rows, not a complicated VxD driver or something.