A non-transitory computer readable medium storing a computer program which is to be executed on an information forming apparatus to control the image forming apparatus,
- the image forming apparatus comprising:
- a cylindrical intermediate transfer belt;
- a photosensitive drum which is in contact with an outer circumference surface of the intermediate transfer belt;
- a primary transfer member sandwiching the intermediate transfer belt between the primary transfer member and the photosensitive drum;
- a secondary transfer member which is in contact with the outer circumference surface of the intermediate transfer belt;
- a backup member sandwiching the intermediate transfer belt between the backup member and the secondary transfer member;
- a power supply electrically connected to the secondary transfer member;
- a resistor electrically connected to the power supply and to the primary transfer member;
- and
- a current detector electrically connected to the backup member and to a basis potential,
- wherein a first current route, in which the first resistor, the primary transfer member, and the photosensitive drum are connected in series in that order, is connected to the power supply and to the basis potential,
- a second current route, in which the secondary transfer member, the backup member, and the current detector are connected in series in that order, is connected to the power supply and to the basis potential, and
- the first current route is connected in parallel to the second current route,
- wherein the program causes the information forming apparatus to execute:
- detecting a current flowing through the second current route by the current detector;
- and
- determining a voltage to be applied to the secondary transfer member based on the current detected by the current detector.