rocketman/pdf-label
最新稳定版本:v1.6+rocketman.3
Composer 安装命令:
composer require rocketman/pdf-label
包简介
This class is a modified version of PDF_Label that adds support for unicode and ttf.
README 文档
README
This class is a modified version of PDF_Label that adds support for
unicode and ttf.
Documentation and source for the upstream class can be found here: http://www.fpdf.org/en/script/script29.php
Installation with Composer
If you are using composer to manage dependencies, you can use
$ composer require rocketman/pdf-label:1.6+rocketman.2
or you can include the following in your composer.json file:
{
"require": {
"rocketman/pdf-label": "^1.6+rocketman.3"
}
}
Usage
$label = "5160"; // pre-defined label name or form-spec array $pdf = new \PDF_Label($label); $pdf->AddFont(...); // see tFPDF documentation for AddFont and SetFont $pdf->SetFont(...); $pdf->AddPage(); $pdf->Add_Label("label content here"); $pdf->Add_Label("second label"); $pdf->currentLabel("more content for current label"); $pdf->verticalText("vertical text for current label", -1, 0, 'D'); $pdf->writeQRCode("https://www.ibinx.com/", "R"); $pdf->Output();
统计信息
- 总下载量: 6.83k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0-or-later
- 更新时间: 2021-08-24