Quantcast
Channel: Active questions tagged 22.04 - Ask Ubuntu
Viewing all articles
Browse latest Browse all 4710

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

$
0
0

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

enter image description here


Viewing all articles
Browse latest Browse all 4710

Trending Articles



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