摘要 |
PURPOSE: A print task cancellation method is provided to make a host computer transmit a preset control signal to a printer via a printer driver and make the DMA type data receiving printer cancel the corresponding print task according to the control signal. CONSTITUTION: The method comprises steps of a printer CPU checks if data is transmitted via an interface(S301), a DMA controller storing the transmitted data at a memory(S302), the DMA controller detecting a data size in a header of the transmitted data(S303), the DAM controller checks if the data is transmitted as many as the detected data size(S304), the DMA controller drives a printer engine via an engine controller and prints the data stored in the memory in the case that the data is transmitted as many as the detected data size(S305), the DMA controller checks if a control signal of "Request Device ID" is transmitted in the case that the data is not transmitted as many as the detected data size(S306), the DMA controller determining if the current printer is in a DMA receiving mode in the case that the control signal of "Request Device ID" is transmitted(S307), the DMA controller stopping the data transmission in the case that the current printer is in the DMA receiving mode and deleting the print data stored in the memory(S308,S309), and the DMA controller transmitting a signal for forcefully discharging the paper in print(S310).
|