BasicCPCL<T extends BasicCPCL<T> > class
abstract
- Inheritance
-
- Object
- PSDK<
T> - BasicCPCL
- Implementers
Constructors
- BasicCPCL({required Lifecycle lifecycle})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
inherited
-
bar(
{required CBar arg}) → T - 一维码
-
batteryVolume(
) → T - 查询打印机电量
-
bold(
{required bool bold}) → T - 加粗
-
box(
{required CBox arg}) → T - 画边框
-
clear(
) → T -
inherited
-
command(
) → Command -
inherited
-
commander(
) → Commander -
Get commander
override
-
connectedDevice(
) → ConnectedDevice -
Get connected device
override
-
feed(
) → T - 定位到标签
-
form(
) → T - 定位到标签
-
image(
{required CImage arg}) → T - 打印图片
-
inverse(
{required CInverse arg}) → T - 反白
-
line(
{required CLine arg}) → T - 画线(能画斜线)
-
mag(
{required CMag arg}) → T -
model(
) → T - 查询打印机型号
-
newline(
) → T -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
page(
{required CPage arg}) → T - 创建打印页面大小
-
pageMode(
{required CPageMode arg}) → T - 打印模式
-
print(
{CPrint? arg}) → T - 打印
-
push(
Arg command) → T -
inherited
-
qrcode(
{required CQRCode arg}) → T - 打印二维码
-
raw(
Raw raw) → T -
inherited
-
read(
{ReadOptions? options}) → Stream< Uint8List> -
inherited
-
sn(
) → T - 查询打印机sn
-
status(
) → T - 查询打印机状态
-
sversion(
) → String -
inherited
-
text(
{required CText arg}) → T - 打印文本
-
toString(
) → String -
A string representation of this object.
inherited
-
underline(
{required bool underline}) → T - 下划线
-
variable(
String name, Object value) → PSDK< PSDK> -
inherited
-
version(
) → T - 查询打印机版本
-
waterMark(
{required int value}) → T - 水印
-
write(
{WriteOptions? options}) → Future< WroteReporter> -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited