摘要 |
A method for sensing separation of a carriage from a home position and compensating the home position by using a program stored at a microprocessor of an ink jet printer includes a home position separation sensing process which has the steps of: checking whether or not the ink jet printer is in a stop state and the carriage is placed at the home position; checking whether or not the carriage placed at the home position is separated from the position by sensing the state change of a photo sensor; and setting a flag according to the state change of the photo sensor, and a home position separation state compensating process which has the steps of: checking whether or not a flag has been set; if it is checked that the flag has been set, counting time to maintain the present state for a predetermined time; resetting the home position if the counted time exceeds the predetermined time; checking whether or not an ink cartridge is attached to the carriage; if it is checked that the ink cartridge is attached to the carriage, compensating the position of the carriage tocorresponds to the reset home position; and after completion of the compensating step, clearing all related flags.
|