Quantcast
Viewing all articles
Browse latest Browse all 4452

how to print from command line also specify the font and size

I am trying to print to my dotmatix printer from command line. How to mention the font and font size

I tried with enscript but got error

enscript -B --font=Sans@11 -p - /home/tk/Documents/bill.txt | lp -d TVS_MSP-250CH -

couldn't open AFM file for font "Sans", using default

I want to get the same experice which I get when I open the file in text and click on print

Image may be NSFW.
Clik here to view.
enter image description here


Viewing all articles
Browse latest Browse all 4452

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>