To write an interfacing program with parallel port or serial port, we need to know the base address of the corresponding port in advance. Normally the base address of LPT1 will be 0x378 and that of LPT2 will be 0x3F8. And most of the home PCs will have only one parallel port with base address 0x378.





