Previous topicNext topic
 XXXX Help
Help > Modules > print module >

    Function

     Set print Font.  The font is put into assets directory.

     Parameter

ParaName

Type

Description

fontname

String

The font path is embedded inAndroid  syste. Path constant can be used in FontsType.class.

 

return value

Description

null

Example:

         

                ServiceManager.getInstence().getPrinter().setPrintFontByAsserts("songti.ttf");