README.md
QR_PrintTool
gitcode: [QR_PrintTool](Sound_ITECH / QR_Print_tools · GitCode)
the client tool of TAG manage.
标签布局参数:
// 画矩形
//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);