Apparatus for adjusting to different selectable values the printhead-to-media spacing in a printer having a frame and a reversibly, laterally-shiftable printhead-carrying carriage. A buried trench capacitor is formed in a lower portion of a deep trench in a substrate. If a particular floating gate is charged with stored electrons, then the transistor will not turn on and will provide an indication of the stored data at this location in the memory array within the EEPROM or will act as the absence of a transistor at this location in the logic array within the FPLA.