The use of optoelectronic devices for high‐speed and low‐power data transmission and computing is considered in the next‐generation logic circuits. Heterostructures, which can generate and transmit photoresponse signals dealing with different input lights, are highly desirable for optoelectronic logic gates. Here, the printed on‐chip perovskite heterostructures are demonstrated to achieve optical‐controlled “AND” and “OR” optoelectronic logic gates. Perovskite heterostructures are printed with a high degree of control over composition, site, and crystallization. Different regions of the printed perovskite heterostructures exhibit distinguishable photoresponse to varied wavelengths of input lights, which can be utilized to achieve optical‐controlled logic functions. Correspondingly, parallel operations of the two logic gates (“AND” and “OR”) by way of choosing the output electrodes under the single perovskite heterostructure. Benefiting from the uniform crystallization and strict alignment of the printed perovskite heterostructures, the integrated 3 × 3 pixels all exhibit 100% logic operation accuracy. Finally, optical‐controlled logic gates responding to multiwavelength light can be printed on the predesigned microelectrodes as the on‐chip integrated circuits. This printing strategy allows for integrating heterostructure‐based optical and electronic devices from a unit‐scale device to a system‐scale device.