How to debug or troubleshoot printing issues