A control apparatus for controlling a printer in which a memory for memorizing data to be printed is sent from an external processor and a capability for deleting data memorized in the memory is provided. Data in memory is deleted according to a control code sent from the external data processor or entered through an operation panel. A range of data to be deleted is determined based on a control code given.