Java printing quality in Linux on dot-matrix printer

前端 未结 3 2200
情歌与酒
情歌与酒 2021-02-10 14:06

I need to print the report from a Java desktop application to a dot-matrix printer (Epson LX-300 II). Report consists of text ang some graphics. Printer is connected via USB and

3条回答
  •  一个人的身影
    2021-02-10 14:31

    From my expreience, this could be because the fonts are not recognized by Java, and it defaults to other standard fonts.

    You'll need to put the ttf files into the $JAVA_HOME/jre/lib/font directory

    Perhaps these articles on java fonts and on physical fonts could be more of help

提交回复
热议问题