Become a Patron!

My Amazon wishlist can be found here.

Life Line


It always annoys me why printing on Linux is so goddamn hard all the time. Strange errors, broken filters... etc. Instead of using fancy stuff, it seems that the following little script prints any kind of format just fine to our office printer:

gs '-dBATCH' '-dPARANOIDSAFER' '-dNOPAUSE' '-sDEVICE=pxlmono' '-r600x600' '-sOutputFile=/tmp/test' $1
cat /tmp/test | nc -q 1 9100


This article has a short URL available:


No comments yet

Add Comment


Will not be posted. Please leave empty instead of filling in garbage though!

Please follow the reStructured Text format. Do not use the comment form to report issues in software, use the relevant issue tracker. I will not answer them here.

All comments are moderated