|In windows XP you cannot. If you try to access the hardware directly with windows XP it will complain bitterly as Windows takes exclusive control of the hardware. You have to go through the printer driver and that means using the API or a kernal mode driver. I don't know if you can access the API with assembley but it is relatively easy with C or C++. |
The following will give you some idea for parallel printer port programming and the pitfalls of doing it under Windows.