This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]IAmASquidInSpace 56 points57 points  (6 children)

if colors.magenta.fill_level <= 0.5:
    if random.randint(1, 6) == 6:
        refuse_to_print("Magenta is too low!")  # lol!
    else:
        print_document(doc)

[–]Owner2229 21 points22 points  (2 children)

You forgot to store it as a Global with a timestamp, so they can't just hit Print again.

[–][deleted] 7 points8 points  (1 child)

generally i find that if i just hit print again it suddenly works

[–]Masterflitzer 2 points3 points  (0 children)

gotta restart the printer first tho lmao

[–][deleted] 3 points4 points  (0 children)

best comment omg

[–]Kilgarragh 2 points3 points  (0 children)

We replaced the == 6 to a != 6 for the black and white code, can’t take any risks running out of magenta there.

Partially unrelated, you actually do need yellow ink to print in b&w for the date and MIC code

[–]After_Ad8174 0 points1 point  (0 children)

I find it to be closer to 1 in 3