README.md 1.5 KB
Newer Older
1 2 3 4 5 6

 QR_PrintTool
===============

*gitcode:* [QR_PrintTool]([Sound_ITECH / QR_Print_tools · GitCode](https://gitcode.net/sound_itech/qr_print_tools))

M
Mertrix_laptop 已提交
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
> the client tool of TAG manage.





标签布局参数:

```C++
	// 画矩形
	//errorcode = PTK_DrawRectangle(5, 5, 2, 385, 150);
	 errorcode = PTK_DrawRectangle(5, 20, 2, 385, 150);

	 // 打印QR码、sublable
	 errorcode = PTK_DrawBar2D_QR(25, 40, 100, 100, 0, 3, 2, 0, 0, parme->sdLable);    //12.5mm /0.125 = 100
	 errorcode = PTK_DrawTextTrueTypeW(30, 120, 20, 0, _T("Arial"), 1, 400, 0, 0, 0, _T("subLable"), parme->subLable);

	 //画表格分割线
	 errorcode = PTK_DrawLineOr(120, 20, 2, 130);			// |
	 errorcode = PTK_DrawLineOr(255, 20, 2, 32);			// |   
	 errorcode = PTK_DrawLineOr(120, 52, 265, 2);			// -
	 errorcode = PTK_DrawLineOr(120, 84, 265, 2);			// -
	 errorcode = PTK_DrawLineOr(120, 116, 265, 2);			// -

	 //打印custmerID 、supplierID
	 errorcode = PTK_DrawTextTrueTypeW(144, 23, 28, 8, _T("Arial"), 1, 400, 0, 0, 0, _T("custmerID"), parme->customerID);
	 errorcode = PTK_DrawTextTrueTypeW(280, 23, 28, 8, _T("Arial"), 1, 400, 0, 0, 0, _T("supplierID"), parme->supplierID);

	 //打印supplierName、partNumberID、SW_Version
	 errorcode = PTK_DrawTextTrueTypeW(148, 55, 28, 8, _T("Arial"), 1, 400, 0, 0, 0, _T("supplierName"), parme->supplierName);
	 errorcode = PTK_DrawTextTrueTypeW(180, 87, 28, 8, _T("Arial"), 1, 400, 0, 0, 0, _T("partnumberID"), parme->partnumberID);
	 errorcode = PTK_DrawTextTrueTypeW(184, 119, 28, 8, _T("Arial"), 1, 400, 0, 0, 0, _T("swVer"), parme->swVer);
```