K.I.S.S.

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:

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


Comments

No comments yet

Add Comment

Name:
Email:

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

Please follow the reStructured Text format


All comments are moderated

Life Line