fix: show error message instead of crashing if PRINT_MODE is incompatible or GRAPHICS is not enabled