A non-transitory, computer-readable medium storing computer-readable instructions therein that, when executed by a processor of a liquid ejecting apparatus comprising a liquid ejection head configured to eject liquid on each piece of at least one piece of recording media, an output tray configured to support the at least one piece of recording media stacked thereon, a curl correcting device configured to perform curl correction processing on the each piece of the at least one piece of recording media before the each piece of the at least one piece of recording media is discharged to the output tray, a detecting device configured to detect information related to a stacking thickness of the at least one piece of recording media stacked on the output tray in a stacking direction thereof, instructs the processor to execute the steps of:
- determining whether the stacking thickness is greater than or equal to a threshold stacking thickness based on the information related to the stacking thickness;
- setting the curl correcting device to perform the curl correction processing on the each piece of the at least one piece of recording media at a first processing level when the stacking thickness is greater than or equal to the threshold stacking thickness;
- and
- setting the curl correcting device to perform the curl correction processing on the each piece of the at least one piece of recording media at a second processing level when the stacking thickness is less than the threshold stacking thickness,
- wherein the curl correction processing reduces an amount of curl of the each piece of the at least one piece of recording media, and
- wherein the first processing level comprises a greater amount of curl correction processing than the second processing level.