|
1 | 1 | # Print.py
|
2 |
| -__version__ = "v20201212" |
| 2 | +__version__ = "v20210115" |
3 | 3 | # Local Files
|
4 | 4 | import integrity
|
5 | 5 | import files
|
@@ -386,12 +386,12 @@ def main(AUTORUN, EMAILPRINT, COLOR, BOOKLETS):
|
386 | 386 | printed = []
|
387 | 387 | temp = ""
|
388 | 388 | while(True):
|
389 |
| - if(temp != "run"): |
| 389 | + if(not(temp == "run" or temp == "+")): |
390 | 390 | temp = str(input("Type In an Order Number: "))
|
391 |
| - if(temp != "run" and BOOKLETS == True): |
| 391 | + if(not(temp == "run" or temp == "+") and BOOKLETS == True): |
392 | 392 | ORDER_NUMBER.append(temp)
|
393 | 393 | temp = "run"
|
394 |
| - if(temp != "run"): |
| 394 | + if(not(temp == "run" or temp == "+")): |
395 | 395 | ORDER_NUMBER.append(temp)
|
396 | 396 | else:
|
397 | 397 | OUTPUT_DIRECTORY = "SO/"
|
@@ -430,12 +430,14 @@ def main(AUTORUN, EMAILPRINT, COLOR, BOOKLETS):
|
430 | 430 | print = log.Print
|
431 | 431 | input = log.Input
|
432 | 432 | print("\n\nTerminal Auto Printing REV:", colored(__version__, "magenta"))
|
433 |
| - print('\nType Your Order Number and Hit Enter,\nType ', colored( |
434 |
| - '"run"', 'green'), ' then hit enter when your all set. \n') |
| 433 | + print('\nType Your Order Number and Hit Enter,\nType', (colored( |
| 434 | + '"run"', 'green') + ' or ' + colored( |
| 435 | + '"+"', 'green')), 'then hit enter when your all set. \n') |
435 | 436 | print("Compatible Jobs will AutoRun, jobs will pause for requested input if needed.")
|
436 |
| - print(colored("ALWAYS", "yellow") +" Skim Outputs, Page Counts, etc, for Invalid Input or Invalid Requests.") |
| 437 | + print(colored("ALWAYS", "yellow") + |
| 438 | + " Skim Outputs, Page Counts, etc, for Invalid Input or Invalid Requests.") |
437 | 439 | print("Ensure " + colored("Bright Colored Paper", "magenta"),
|
438 |
| - "should be loaded as gray plain paper.\n"+ colored("WARNING:", "yellow")+ " If printer runs out of paper all tickets will be immediately promoted to run next.") |
| 440 | + "should be loaded as gray plain paper.\n" + colored("WARNING:", "yellow") + " If printer runs out of paper all tickets will be immediately promoted to run next.") |
439 | 441 | print("Ensure" + colored(" Banner Sheet ",
|
440 | 442 | "magenta") + "Tray is Full of Paper\n")
|
441 | 443 | integrity.integrity()
|
|
0 commit comments