From 5b12ae51e0f42a1f17e81afa5385f3df57ea8810 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期五, 08 七月 2022 15:06:26 +0800
Subject: [PATCH] 1.打印测试
---
public/static/grf/barcode.grf | 358 ++++------------------------------------------------------
1 files changed, 29 insertions(+), 329 deletions(-)
diff --git a/public/static/grf/1g.grf b/public/static/grf/barcode.grf
similarity index 62%
rename from public/static/grf/1g.grf
rename to public/static/grf/barcode.grf
index ad0ea03..d87e479 100644
--- a/public/static/grf/1g.grf
+++ b/public/static/grf/barcode.grf
@@ -1,8 +1,8 @@
锘縶
- "Version":"6.8.5.0",
+ "Version":"6.6.8.1",
"Title":"1g.鏉″舰鐮佷笌浜岀淮鐮�",
"Author":"閿愭氮鎶ヨ〃杞欢",
- "Description":"婕旂ず鏉″舰鐮併�俓r\n\r\n鍦ㄦ姤琛ㄤ腑鎻掑叆鏉″舰鐮侀儴浠舵鍗冲彲瀹炵幇鏉″舰鐮佺殑鏄剧ず涓庢墦鍗帮紝鍦ㄦ槑缁嗙綉鏍间腑鐨勬潯褰㈢爜鍙互鍏宠仈瀛楁锛屾潯褰㈢爜鏁版嵁灏嗘潵鑷簬鍏宠仈鐨勫瓧娈靛�笺�俓r\n\r\n閫氬父ITF-14鏉$爜鏄渶瑕佹樉绀鸿竟妗嗙殑锛屼絾鍥犱负鍦ㄦ煇浜涚壒娈婃儏鍐典笅鍙堜笉闇�瑕佺粯鍒惰竟妗嗭紝鎵�浠ユ柊寤虹殑ITF-14鏉$爜鍦ㄩ粯璁ゅ睘鎬т笅鏄病鏈夎竟妗嗙殑銆傝鏄剧ず鍑鸿竟妗嗭紝鍙璁剧疆鏉$爜鐨勨�滆竟妗嗏�濆睘鎬э紝閫氬父灏嗙嚎瀹藉害璁剧疆涓衡��4鈥濄�傚鏋滈渶瑕佹樉绀哄�兼枃瀛楋紝鍦ㄦ潯鐮佺殑涓嬭竟瀹氫箟涓�涓患鍚堟枃瀛楁鎴栧瓧娈垫锛屼笌鏉$爜鍏宠仈鐩稿悓鐨勬暟鎹煙銆�",
+ "Description":"婕旂ず鏉″舰鐮併�俓r\n\r\n鍦ㄦ姤琛ㄤ腑鎻掑叆鏉″舰鐮侀儴浠舵鍗冲彲瀹炵幇鏉″舰鐮佺殑鏄剧ず涓庢墦鍗帮紝鍦ㄦ槑缁嗙綉鏍间腑鐨勬潯褰㈢爜鍙互鍏宠仈瀛楁锛屾潯褰㈢爜鏁版嵁灏嗘潵鑷簬鍏宠仈鐨勫瓧娈靛�笺��",
"Font":{
"Name":"瀹嬩綋",
"Size":90000,
@@ -15,167 +15,14 @@
"RightMargin":0.5,
"BottomMargin":2
},
- "DetailGrid":{
- "ShowColLine":false,
- "ShowRowLine":false,
- "PageColumnDirection":"AcrossDown",
- "PageColumnCount":4,
- "PageColumnSpacing":0.2,
- "PrintAdaptMethod":"ResizeToFit",
- "Border":{
- "Styles":"[]"
- },
- "Recordset":{
- "ConnectionString":"Provider=Microsoft.Jet.OLEDB.4.0;\r\nUser ID=Admin;\r\nData Source=C:\\Grid++Report 6\\Samples\\Data\\Northwind.mdb",
- "QuerySQL":"select top 32 * from Customers\r\norder by CustomerID",
- "Field":[
- {
- "Name":"CustomerID"
- },
- {
- "Name":"CompanyName"
- },
- {
- "Name":"ContactName"
- },
- {
- "Name":"ContactTitle"
- },
- {
- "Name":"Address"
- },
- {
- "Name":"City"
- },
- {
- "Name":"Region"
- },
- {
- "Name":"PostalCode"
- },
- {
- "Name":"Country"
- },
- {
- "Name":"Phone"
- },
- {
- "Name":"Fax"
- }
- ]
- },
- "Column":[
- {
- "Name":"OnlyOne",
- "Width":4.78896
- }
- ],
- "ColumnContent":{
- "Height":6.19125,
- "ColumnContentCell":[
- {
- "Column":"OnlyOne",
- "Font":{
- "Name":"瀹嬩綋",
- "Size":142500,
- "Weight":400,
- "Charset":134
- },
- "FreeCell":true,
- "Control":[
- {
- "Type":"StaticBox",
- "Name":"StaticBox21",
- "Left":0.211667,
- "Top":0.211667,
- "Width":4.39208,
- "Height":5.79438,
- "Border":{
- "Styles":"[DrawLeft|DrawTop|DrawRight|DrawBottom]"
- }
- },
- {
- "Type":"FieldBox",
- "Name":"Field3",
- "Left":0.370417,
- "Top":0.9525,
- "Width":4.02167,
- "Height":0.529167,
- "Font":{
- "Name":"瀹嬩綋",
- "Size":120000,
- "Weight":400,
- "Charset":134
- },
- "ShrinkFontToFit":true,
- "DataField":"Address"
- },
- {
- "Type":"MemoBox",
- "Name":"MemoBox1",
- "Left":0.370417,
- "Top":0.423333,
- "Width":4.02167,
- "Height":0.529167,
- "Font":{
- "Name":"瀹嬩綋",
- "Size":120000,
- "Weight":400,
- "Charset":134
- },
- "ShrinkFontToFit":true,
- "Text":"[#Country#][#City#]"
- },
- {
- "Type":"MemoBox",
- "Name":"MemoBox2",
- "Left":0.370417,
- "Top":1.48167,
- "Width":4.02167,
- "Height":0.529167,
- "Font":{
- "Name":"瀹嬩綋",
- "Size":120000,
- "Weight":400,
- "Charset":134
- },
- "ShrinkFontToFit":true,
- "Text":"[#ContactName#](鏀�)"
- },
- {
- "Type":"Barcode",
- "Name":"Barcode1",
- "Left":0.396875,
- "Top":2.19604,
- "Width":4,
- "Height":3.59833,
- "BarcodeType":"QRCode",
- "CaptionPosition":"None",
- "Text":"[#Country#][#City#][#Address#][#ContactName#][#CompanyName#]澧炲姞浜岀淮鏉″舰鐮侊紝鍖呮嫭PDF417涓嶲RCode锛屼袱绉嶇被鍨嬬殑浜岀淮鐮侀兘鑳界紪鐮佹眽瀛楋紝瀹屽叏婊¤冻鍥芥爣瑙勮寖"
- }
- ]
- }
- ]
- },
- "ColumnTitle":{
- "Visible":false,
- "Height":0,
- "ColumnTitleCell":[
- {
- "GroupTitle":false,
- "Column":"OnlyOne"
- }
- ]
- }
- },
"ReportHeader":[
{
"Name":"ReportHeader1",
- "Height":11.1919,
+ "Height":16.5894,
"Font":{
"Name":"瀹嬩綋",
- "Size":105000,
- "Bold":true,
+ "Size":120000,
+ "Weight":400,
"Charset":134
},
"Control":[
@@ -256,7 +103,7 @@
}
},
"TextAlign":"TopCenter",
- "Text":"Code128"
+ "Text":"Code128(AUTO,A,B,C)"
},
{
"Type":"Barcode",
@@ -416,7 +263,7 @@
}
},
"TextAlign":"TopCenter",
- "Text":"ITF-14"
+ "Text":"CodeEAN128(A,B,C)"
},
{
"Type":"Barcode",
@@ -424,16 +271,9 @@
"Left":14.949,
"Top":5.29167,
"Width":4.39208,
- "Height":1.29646,
- "Border":{
- "Styles":"[DrawLeft|DrawTop|DrawRight|DrawBottom]",
- "Pen":{
- "Width":4
- }
- },
- "BarcodeType":"ITF-14",
- "CaptionPosition":"None",
- "Text":"12345678901234",
+ "Height":2.01083,
+ "BarcodeType":"CodeEAN128A",
+ "Text":"123456",
"Font":{
"Name":"瀹嬩綋",
"Size":142500,
@@ -575,54 +415,9 @@
},
{
"Type":"StaticBox",
- "Name":"StaticBox20",
- "Left":8.20208,
- "Top":0.396875,
- "Width":4.39208,
- "Height":0.582083,
- "Font":{
- "Name":"瀹嬩綋",
- "Size":157500,
- "Bold":true,
- "Charset":134
- },
- "TextAlign":"MiddleCenter",
- "Text":"鍚勭绫诲瀷鏉″舰鐮�"
- },
- {
- "Type":"MemoBox",
- "Name":"MemoBox3",
- "Left":15.0019,
- "Top":6.58813,
- "Width":4.20688,
- "Height":0.608542,
- "Font":{
- "Name":"瀹嬩綋",
- "Size":105000,
- "Weight":400,
- "Charset":134
- },
- "TextAlign":"MiddleCenter",
- "CharSpacing":3,
- "Text":"12345678901234"
- }
- ]
- },
- {
- "Name":"ReportHeader2",
- "Height":5.21229,
- "Font":{
- "Name":"瀹嬩綋",
- "Size":105000,
- "Bold":true,
- "Charset":134
- },
- "Control":[
- {
- "Type":"StaticBox",
"Name":"StaticBox16",
"Left":0.370417,
- "Top":0.185208,
+ "Top":11.139,
"Width":4.78896,
"Height":4.60375,
"Border":{
@@ -638,7 +433,7 @@
"Type":"Barcode",
"Name":"Barcode15",
"Left":0.555625,
- "Top":0.767292,
+ "Top":11.721,
"Width":4.39208,
"Height":3.83646,
"BarcodeType":"DataMatrix",
@@ -656,7 +451,7 @@
"Type":"StaticBox",
"Name":"StaticBox17",
"Left":5.15938,
- "Top":0.185208,
+ "Top":11.139,
"Width":4.78896,
"Height":4.60375,
"Border":{
@@ -672,7 +467,7 @@
"Type":"Barcode",
"Name":"Barcode16",
"Left":5.31813,
- "Top":0.767292,
+ "Top":11.721,
"Width":4.39208,
"Height":3.83646,
"BarcodeType":"PDF417",
@@ -690,7 +485,7 @@
"Type":"StaticBox",
"Name":"StaticBox18",
"Left":9.94833,
- "Top":0.185208,
+ "Top":11.139,
"Width":4.78896,
"Height":4.60375,
"Border":{
@@ -706,7 +501,7 @@
"Type":"Barcode",
"Name":"Barcode17",
"Left":10.1335,
- "Top":0.767292,
+ "Top":11.721,
"Width":4.39208,
"Height":3.83646,
"BarcodeType":"QRCode",
@@ -724,7 +519,7 @@
"Type":"StaticBox",
"Name":"StaticBox19",
"Left":14.7373,
- "Top":0.185208,
+ "Top":11.139,
"Width":4.78896,
"Height":4.60375,
"Border":{
@@ -740,7 +535,7 @@
"Type":"Barcode",
"Name":"Barcode18",
"Left":14.9225,
- "Top":0.767292,
+ "Top":11.721,
"Width":4.39208,
"Height":3.83646,
"BarcodeType":"QRCode",
@@ -754,120 +549,25 @@
"Weight":400,
"Charset":134
}
- }
- ]
- },
- {
- "Name":"ReportHeader3",
- "Height":5.21229,
- "Font":{
- "Name":"瀹嬩綋",
- "Size":105000,
- "Bold":true,
- "Charset":134
- },
- "Control":[
- {
- "Type":"StaticBox",
- "Name":"StaticBox22",
- "Left":0.370417,
- "Top":0.211667,
- "Width":4.78896,
- "Height":4.60375,
- "Border":{
- "Styles":"[DrawLeft|DrawTop|DrawRight|DrawBottom]",
- "Pen":{
- "Color":"C1C1C1"
- }
- },
- "TextAlign":"TopCenter",
- "Text":"GS1 DataMatrix"
},
{
- "Type":"Barcode",
- "Name":"Barcode19",
- "Left":0.555625,
- "Top":0.767292,
+ "Type":"StaticBox",
+ "Name":"StaticBox20",
+ "Left":8.20208,
+ "Top":0.396875,
"Width":4.39208,
- "Height":3.83646,
- "BarcodeType":"GS1DataMatrix",
- "CaptionPosition":"None",
- "CheckSum":true,
- "Text":"(01)03453120000011(17)120508(10)ABCD1234(410)9501101020917",
+ "Height":0.582083,
"Font":{
"Name":"瀹嬩綋",
- "Size":142500,
- "Weight":400,
+ "Size":157500,
+ "Bold":true,
"Charset":134
- }
- },
- {
- "Type":"StaticBox",
- "Name":"StaticBox23",
- "Left":5.15938,
- "Top":0.211667,
- "Width":4.78896,
- "Height":4.60375,
- "Border":{
- "Styles":"[DrawLeft|DrawTop|DrawRight|DrawBottom]",
- "Pen":{
- "Color":"C1C1C1"
- }
},
- "TextAlign":"TopCenter",
- "Text":"GS1 QRCode"
- },
- {
- "Type":"Barcode",
- "Name":"Barcode20",
- "Left":5.3975,
- "Top":0.740833,
- "Width":4.39208,
- "Height":3.83646,
- "BarcodeType":"GS1QRCode",
- "CaptionPosition":"None",
- "CheckSum":true,
- "Text":"(01)03453120000011(17)120508(10)ABCD1234(410)9501101020917",
- "Font":{
- "Name":"瀹嬩綋",
- "Size":142500,
- "Weight":400,
- "Charset":134
- }
- },
- {
- "Type":"StaticBox",
- "Name":"StaticBox24",
- "Left":10.0806,
- "Top":0.211667,
- "Width":9.73667,
- "Height":4.57729,
- "Border":{
- "Styles":"[DrawLeft|DrawTop|DrawRight|DrawBottom]",
- "Pen":{
- "Color":"C1C1C1"
- }
- },
- "TextAlign":"TopCenter",
- "Text":"GS1-128(EAN128)"
- },
- {
- "Type":"Barcode",
- "Name":"Barcode21",
- "Left":10.2658,
- "Top":0.79375,
- "Width":9.33979,
- "Height":3.59833,
- "BarcodeType":"CodeEAN128Auto",
- "Text":"(01)26932992101633(11)190419(17)220410(91)09A(21)0001",
- "Font":{
- "Name":"瀹嬩綋",
- "Size":90000,
- "Weight":400,
- "Charset":134
- }
+ "TextAlign":"MiddleCenter",
+ "Text":"鍚勭绫诲瀷鏉″舰鐮�"
}
- ]
+ ],
+ "NewPage":"After"
}
]
}
\ No newline at end of file
--
Gitblit v1.9.3