Questions No 01 20 marks
Suppose, you are interfacing an old monochrome dot matrix printer (receipt printer) with your computer’s parallel port. The stated dot matrix printer will print receipts character wise, so the system will transmit each character parallelly.
The printer will be operated as under:
- First, you should select the printer by setting “select printer” pin on your parallel port.
- Initialize printer by sending initialize signal.
- Read “acknowledge” pin.
- Transmit ASCII character data to the data port of the parallel port.
- Clear initialize signal.
- Deselect printer.
You should write a subroutine to print
“Welcome to Virtual University of Pakistan”
Your subroutine will get each character as an input from keyboard using interrupt mechanism and transmit it to the printer port according to the stated working mechanism.DOWNLOAD SOLUTION HERE