相关疑难解决方法(0)

在蓝牙打印机中格式化文本

实际上,我必须实现一个连接到BT化学打印机并在其中打印的模块.我有一个简单但功能上的例子,它适用于打印机.问题是这些文本是用纯文本打印的,我必须给它格式化,粗体,改变字体大小等等......我怎么能这样做?我不知道怎么...我用这个班:

/*
 * Copyright (C) 2009 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY …
Run Code Online (Sandbox Code Playgroud)

printing format android text bluetooth

6
推荐指数
2
解决办法
2万
查看次数

标签 统计

android ×1

bluetooth ×1

format ×1

printing ×1

text ×1