Commit 09ed996b by linjinhong

测试提交

parent 8814bdc9
...@@ -22,4 +22,10 @@ yarn-error.log* ...@@ -22,4 +22,10 @@ yarn-error.log*
*.sw? *.sw?
#Electron-builder output #Electron-builder output
/dist_electron /dist_electron
\ No newline at end of file
# 排除 print/Input 目录下的 .bat 文件
!/print/Input/*.bat
print/Profile/*
/logs
\ No newline at end of file
[{"head_setting":{"gridShow":1,"gridValue":0,"unit":"mm","language":"cn","autoPrint":false,"gridSpacing":10},"version":"1.0.6","print_setting":{"printer":"","xy":"","byInk":2,"byInkVolume":1,"byDoublePrint":3,"bEcoMode":false,"bMaterialBlack":false,"byHighlight":5,"printNum":1,"bFastMode":false,"bUniPrint":false,"bDivide":false,"bPause":false,"byMask":3,"bTransColor":false,"byChoke":2,"minWhiteInkType":0,"bySaturation":5,"byBrightness":5,"byContrast":5,"iCyanBalance":0,"iMagentaBalance":0,"iBlackBalance":0,"iYellowBalance":0,"byMinWhite":1,"bMultiple":false},"production_no":"SUNY-JMPSC-250411-001","print_time":"2025-04-19 11:20:22","position_unit":{"x":245.5,"rate":1.1129807692307692,"sx":0,"zIndex":0,"sh":0,"sw":0,"sy":0,"y":276,"w":48.7,"h":54.2,"r":0},"position_after_px":{"x":186.2,"rate":1.1129807692307692,"sx":0,"zIndex":0,"sh":0,"sw":0,"sy":0,"y":209.5,"w":35,"h":39,"r":0},"position_before_px":{"url":"D:\\work\\electron-printer\\print\\Input\\2025-04-19_11-20-18\\57a3b7a6-503c-4bb8-8a9e-7015f2b7efc9.png","fileName":"57a3b7a6-503c-4bb8-8a9e-7015f2b7efc9.png","rate":1.1129807692307692,"w":41.6,"zIndex":0,"x":221.2,"y":248.85,"h":46.3,"r":0},"send_api_data":{"printer":"","xy":"","byInk":2,"byInkVolume":1,"byDoublePrint":3,"bEcoMode":false,"bMaterialBlack":false,"byHighlight":5,"printNum":1,"bFastMode":false,"bUniPrint":false,"bDivide":false,"bPause":false,"byMask":3,"bTransColor":false,"byChoke":2,"minWhiteInkType":0,"bySaturation":5,"byBrightness":5,"byContrast":5,"iCyanBalance":0,"iMagentaBalance":0,"iBlackBalance":0,"iYellowBalance":0,"byMinWhite":1,"bMultiple":false,"byPlatenSize":1,"cmd":"GTXproCMD.exe print -X \"Profile\\57a3b7a6-503c-4bb8-8a9e-7015f2b7efc9.xml\" -I \"Input\\57a3b7a6-503c-4bb8-8a9e-7015f2b7efc9.png\" -A \"Output\\57a3b7a6-503c-4bb8-8a9e-7015f2b7efc9.arxp\" -S 03540387 -L 1870,2103 -D 0 -W 1","fileName":"57a3b7a6-503c-4bb8-8a9e-7015f2b7efc9.png","print_cmd":"GTXproCMD.exe send -A \"Output\\57a3b7a6-503c-4bb8-8a9e-7015f2b7efc9.arxp\" -P \"Microsoft Print to PDF"}},{"head_setting":{"gridShow":1,"gridValue":0,"unit":"mm","language":"cn","autoPrint":false,"gridSpacing":10},"version":"1.0.6","print_setting":{"printer":"","xy":"","byInk":2,"byInkVolume":1,"byDoublePrint":3,"bEcoMode":false,"bMaterialBlack":false,"byHighlight":5,"printNum":1,"bFastMode":false,"bUniPrint":false,"bDivide":false,"bPause":false,"byMask":3,"bTransColor":false,"byChoke":2,"minWhiteInkType":0,"bySaturation":5,"byBrightness":5,"byContrast":5,"iCyanBalance":0,"iMagentaBalance":0,"iBlackBalance":0,"iYellowBalance":0,"byMinWhite":1,"bMultiple":false},"production_no":"SUNY-JMPSC-250411-001","print_time":"2025-04-19 11:17:41","position_unit":{"x":245.5,"rate":1.1129807692307692,"sx":0,"zIndex":0,"sh":0,"sw":0,"sy":0,"y":276,"w":48.7,"h":54.2,"r":0},"position_after_px":{"x":186.2,"rate":1.1129807692307692,"sx":0,"zIndex":0,"sh":0,"sw":0,"sy":0,"y":209.5,"w":35,"h":39,"r":0},"position_before_px":{"url":"D:\\work\\electron-printer\\print\\Input\\2025-04-19_11-17-21\\80253ee6-e3d4-45f0-acd4-c58c6a0b5608.png","fileName":"80253ee6-e3d4-45f0-acd4-c58c6a0b5608.png","rate":1.1129807692307692,"w":41.6,"zIndex":0,"x":221.2,"y":248.85,"h":46.3,"r":0},"send_api_data":{"printer":"","xy":"","byInk":2,"byInkVolume":1,"byDoublePrint":3,"bEcoMode":false,"bMaterialBlack":false,"byHighlight":5,"printNum":1,"bFastMode":false,"bUniPrint":false,"bDivide":false,"bPause":false,"byMask":3,"bTransColor":false,"byChoke":2,"minWhiteInkType":0,"bySaturation":5,"byBrightness":5,"byContrast":5,"iCyanBalance":0,"iMagentaBalance":0,"iBlackBalance":0,"iYellowBalance":0,"byMinWhite":1,"bMultiple":false,"byPlatenSize":1,"cmd":"GTXproCMD.exe print -X \"Profile\\80253ee6-e3d4-45f0-acd4-c58c6a0b5608.xml\" -I \"Input\\80253ee6-e3d4-45f0-acd4-c58c6a0b5608.png\" -A \"Output\\80253ee6-e3d4-45f0-acd4-c58c6a0b5608.arxp\" -S 03540387 -L 1870,2103 -D 0 -W 1","fileName":"80253ee6-e3d4-45f0-acd4-c58c6a0b5608.png","print_cmd":"GTXproCMD.exe send -A \"Output\\80253ee6-e3d4-45f0-acd4-c58c6a0b5608.arxp\" -P \"Microsoft Print to PDF"}},{"head_setting":{"gridShow":1,"gridValue":0,"unit":"mm","language":"cn","autoPrint":false,"gridSpacing":10},"version":"1.0.6","print_setting":{"printer":"","xy":"","byInk":2,"byInkVolume":1,"byDoublePrint":3,"bEcoMode":false,"bMaterialBlack":false,"byHighlight":5,"printNum":1,"bFastMode":false,"bUniPrint":false,"bDivide":false,"bPause":false,"byMask":3,"bTransColor":false,"byChoke":2,"minWhiteInkType":0,"bySaturation":5,"byBrightness":5,"byContrast":5,"iCyanBalance":0,"iMagentaBalance":0,"iBlackBalance":0,"iYellowBalance":0,"byMinWhite":1,"bMultiple":false},"production_no":"SUNY-JMPSC-250411-001","print_time":"2025-04-19 11:17:25","position_unit":{"x":245.5,"rate":1.1129807692307692,"sx":0,"zIndex":0,"sh":0,"sw":0,"sy":0,"y":276,"w":48.7,"h":54.2,"r":0},"position_after_px":{"x":186.2,"rate":1.1129807692307692,"sx":0,"zIndex":0,"sh":0,"sw":0,"sy":0,"y":209.5,"w":35,"h":39,"r":0},"position_before_px":{"url":"D:\\work\\electron-printer\\print\\Input\\2025-04-19_11-17-21\\80253ee6-e3d4-45f0-acd4-c58c6a0b5608.png","fileName":"80253ee6-e3d4-45f0-acd4-c58c6a0b5608.png","rate":1.1129807692307692,"w":41.6,"zIndex":0,"x":221.2,"y":248.85,"h":46.3,"r":0},"send_api_data":{"printer":"","xy":"","byInk":2,"byInkVolume":1,"byDoublePrint":3,"bEcoMode":false,"bMaterialBlack":false,"byHighlight":5,"printNum":1,"bFastMode":false,"bUniPrint":false,"bDivide":false,"bPause":false,"byMask":3,"bTransColor":false,"byChoke":2,"minWhiteInkType":0,"bySaturation":5,"byBrightness":5,"byContrast":5,"iCyanBalance":0,"iMagentaBalance":0,"iBlackBalance":0,"iYellowBalance":0,"byMinWhite":1,"bMultiple":false,"byPlatenSize":1,"cmd":"GTXproCMD.exe print -X \"Profile\\80253ee6-e3d4-45f0-acd4-c58c6a0b5608.xml\" -I \"Input\\80253ee6-e3d4-45f0-acd4-c58c6a0b5608.png\" -A \"Output\\80253ee6-e3d4-45f0-acd4-c58c6a0b5608.arxp\" -S 03540387 -L 1870,2103 -D 0 -W 1","fileName":"80253ee6-e3d4-45f0-acd4-c58c6a0b5608.png","print_cmd":"GTXproCMD.exe send -A \"Output\\80253ee6-e3d4-45f0-acd4-c58c6a0b5608.arxp\" -P \"Microsoft Print to PDF"}},{"head_setting":{"gridShow":1,"gridValue":0,"unit":"mm","language":"cn","autoPrint":false,"gridSpacing":10},"version":"1.0.6","print_setting":{"printer":"","xy":"","byInk":2,"byInkVolume":1,"byDoublePrint":3,"bEcoMode":false,"bMaterialBlack":false,"byHighlight":5,"printNum":1,"bFastMode":false,"bUniPrint":false,"bDivide":false,"bPause":false,"byMask":3,"bTransColor":false,"byChoke":2,"minWhiteInkType":0,"bySaturation":5,"byBrightness":5,"byContrast":5,"iCyanBalance":0,"iMagentaBalance":0,"iBlackBalance":0,"iYellowBalance":0,"byMinWhite":1,"bMultiple":false},"production_no":"SUNY-JMPSC-250411-001","print_time":"2025-04-19 11:15:57","position_unit":{"x":245.5,"rate":1.1129807692307692,"sx":0,"zIndex":0,"sh":0,"sw":0,"sy":0,"y":276,"w":48.7,"h":54.2,"r":0},"position_after_px":{"x":67.9,"rate":1,"sx":0,"zIndex":0,"sh":0,"sw":0,"sy":0,"y":93.2,"w":271.6,"h":271.6,"r":0},"position_before_px":{"url":"D:\\work\\electron-printer\\print\\Input\\2025-04-19_11-12-51\\a2e6b7e6-a4c9-4512-b5ec-4cd625420eda.png","fileName":"a2e6b7e6-a4c9-4512-b5ec-4cd625420eda.png","rate":1,"w":322.66666666666663,"zIndex":0,"x":80.66666666666669,"y":110.66666666666669,"h":322.66666666666663,"r":0},"send_api_data":{"printer":"","xy":"","byInk":2,"byInkVolume":1,"byDoublePrint":3,"bEcoMode":false,"bMaterialBlack":false,"byHighlight":5,"printNum":1,"bFastMode":false,"bUniPrint":false,"bDivide":false,"bPause":false,"byMask":3,"bTransColor":false,"byChoke":2,"minWhiteInkType":0,"bySaturation":5,"byBrightness":5,"byContrast":5,"iCyanBalance":0,"iMagentaBalance":0,"iBlackBalance":0,"iYellowBalance":0,"byMinWhite":1,"bMultiple":false,"byPlatenSize":1,"cmd":"GTXproCMD.exe print -X \"Profile\\a2e6b7e6-a4c9-4512-b5ec-4cd625420eda.xml\" -I \"Input\\a2e6b7e6-a4c9-4512-b5ec-4cd625420eda.png\" -A \"Output\\a2e6b7e6-a4c9-4512-b5ec-4cd625420eda.arxp\" -S 27192719 -L 0687,0940 -D 0 -W 1","fileName":"a2e6b7e6-a4c9-4512-b5ec-4cd625420eda.png","print_cmd":"GTXproCMD.exe send -A \"Output\\a2e6b7e6-a4c9-4512-b5ec-4cd625420eda.arxp\" -P \"Microsoft Print to PDF"}},{"head_setting":{"gridShow":1,"gridValue":0,"unit":"mm","language":"cn","autoPrint":false,"gridSpacing":10},"version":"1.0.6","print_setting":{"printer":"","xy":"","byInk":2,"byInkVolume":1,"byDoublePrint":3,"bEcoMode":false,"bMaterialBlack":false,"byHighlight":5,"printNum":1,"bFastMode":false,"bUniPrint":false,"bDivide":false,"bPause":false,"byMask":3,"bTransColor":false,"byChoke":2,"minWhiteInkType":0,"bySaturation":5,"byBrightness":5,"byContrast":5,"iCyanBalance":0,"iMagentaBalance":0,"iBlackBalance":0,"iYellowBalance":0,"byMinWhite":1,"bMultiple":false},"production_no":"SUNY-JMPSC-250411-001","print_time":"2025-04-19 11:14:53","position_unit":{"x":245.5,"rate":1.1129807692307692,"sx":0,"zIndex":0,"sh":0,"sw":0,"sy":0,"y":276,"w":48.7,"h":54.2,"r":0},"position_after_px":{"x":-70.2,"rate":1,"sx":0,"zIndex":0,"sh":0,"sw":0,"sy":0,"y":-63.4,"w":271.6,"h":271.6,"r":0},"position_before_px":{"url":"D:\\work\\electron-printer\\print\\Input\\2025-04-19_11-12-51\\1ce924db-6827-4988-9bbd-42f0860593f0.png","fileName":"1ce924db-6827-4988-9bbd-42f0860593f0.png","rate":1,"w":322.66666666666663,"zIndex":0,"x":-83.33333333333331,"y":-75.33333333333331,"h":322.66666666666663,"r":0},"send_api_data":{"printer":"","xy":"","byInk":2,"byInkVolume":1,"byDoublePrint":3,"bEcoMode":false,"bMaterialBlack":false,"byHighlight":5,"printNum":1,"bFastMode":false,"bUniPrint":false,"bDivide":false,"bPause":false,"byMask":3,"bTransColor":false,"byChoke":2,"minWhiteInkType":0,"bySaturation":5,"byBrightness":5,"byContrast":5,"iCyanBalance":0,"iMagentaBalance":0,"iBlackBalance":0,"iYellowBalance":0,"byMinWhite":1,"bMultiple":false,"byPlatenSize":1,"cmd":"GTXproCMD.exe print -X \"Profile\\1ce924db-6827-4988-9bbd-42f0860593f0.xml\" -I \"Input\\1ce924db-6827-4988-9bbd-42f0860593f0.png\" -A \"Output\\1ce924db-6827-4988-9bbd-42f0860593f0.arxp\" -S 27192719 -L -0693,-0626 -D 0 -W 1","fileName":"1ce924db-6827-4988-9bbd-42f0860593f0.png","print_cmd":"GTXproCMD.exe send -A \"Output\\1ce924db-6827-4988-9bbd-42f0860593f0.arxp\" -P \"Microsoft Print to PDF"}},{"head_setting":{"gridShow":1,"gridValue":0,"unit":"mm","language":"cn","autoPrint":false,"gridSpacing":10},"version":"1.0.6","print_setting":{"printer":"","xy":"","byInk":2,"byInkVolume":1,"byDoublePrint":3,"bEcoMode":false,"bMaterialBlack":false,"byHighlight":5,"printNum":1,"bFastMode":false,"bUniPrint":false,"bDivide":false,"bPause":false,"byMask":3,"bTransColor":false,"byChoke":2,"minWhiteInkType":0,"bySaturation":5,"byBrightness":5,"byContrast":5,"iCyanBalance":0,"iMagentaBalance":0,"iBlackBalance":0,"iYellowBalance":0,"byMinWhite":1,"bMultiple":false},"production_no":"SUNY-JMPSC-250411-001","print_time":"2025-04-19 11:14:40","position_unit":{"x":245.5,"rate":1.1129807692307692,"sx":0,"zIndex":0,"sh":0,"sw":0,"sy":0,"y":276,"w":48.7,"h":54.2,"r":0},"position_after_px":{"x":-70.2,"rate":1,"sx":0,"zIndex":0,"sh":0,"sw":0,"sy":0,"y":-63.4,"w":271.6,"h":271.6,"r":0},"position_before_px":{"url":"D:\\work\\electron-printer\\print\\Input\\2025-04-19_11-12-51\\1ce924db-6827-4988-9bbd-42f0860593f0.png","fileName":"1ce924db-6827-4988-9bbd-42f0860593f0.png","rate":1,"w":322.66666666666663,"zIndex":0,"x":-83.33333333333331,"y":-75.33333333333331,"h":322.66666666666663,"r":0},"send_api_data":{"printer":"","xy":"","byInk":2,"byInkVolume":1,"byDoublePrint":3,"bEcoMode":false,"bMaterialBlack":false,"byHighlight":5,"printNum":1,"bFastMode":false,"bUniPrint":false,"bDivide":false,"bPause":false,"byMask":3,"bTransColor":false,"byChoke":2,"minWhiteInkType":0,"bySaturation":5,"byBrightness":5,"byContrast":5,"iCyanBalance":0,"iMagentaBalance":0,"iBlackBalance":0,"iYellowBalance":0,"byMinWhite":1,"bMultiple":false,"byPlatenSize":1,"cmd":"GTXproCMD.exe print -X \"Profile\\1ce924db-6827-4988-9bbd-42f0860593f0.xml\" -I \"Input\\1ce924db-6827-4988-9bbd-42f0860593f0.png\" -A \"Output\\1ce924db-6827-4988-9bbd-42f0860593f0.arxp\" -S 27192719 -L -0693,-0626 -D 0 -W 1","fileName":"1ce924db-6827-4988-9bbd-42f0860593f0.png","print_cmd":"GTXproCMD.exe send -A \"Output\\1ce924db-6827-4988-9bbd-42f0860593f0.arxp\" -P \"Microsoft Print to PDF"}},{"head_setting":{"gridShow":1,"gridValue":0,"unit":"mm","language":"cn","autoPrint":false,"gridSpacing":10},"version":"1.0.6","print_setting":{"printer":"","xy":"","byInk":2,"byInkVolume":1,"byDoublePrint":3,"bEcoMode":false,"bMaterialBlack":false,"byHighlight":5,"printNum":1,"bFastMode":false,"bUniPrint":false,"bDivide":false,"bPause":false,"byMask":3,"bTransColor":false,"byChoke":2,"minWhiteInkType":0,"bySaturation":5,"byBrightness":5,"byContrast":5,"iCyanBalance":0,"iMagentaBalance":0,"iBlackBalance":0,"iYellowBalance":0,"byMinWhite":1,"bMultiple":false},"production_no":"SUNY-JMPSC-250411-001","print_time":"2025-04-19 11:13:15","position_unit":{"x":245.5,"rate":1.1129807692307692,"sx":0,"zIndex":0,"sh":0,"sw":0,"sy":0,"y":276,"w":48.7,"h":54.2,"r":0},"position_after_px":{"x":-216.2,"rate":1.1129807692307692,"sx":0,"zIndex":0,"sh":0,"sw":0,"sy":0,"y":-277.9,"w":726,"h":808,"r":0},"position_before_px":{"url":"D:\\work\\electron-printer\\print\\Input\\2025-04-19_11-12-51\\a2e6b7e6-a4c9-4512-b5ec-4cd625420eda.png","fileName":"a2e6b7e6-a4c9-4512-b5ec-4cd625420eda.png","rate":1.1129807692307692,"w":862.3788144643487,"zIndex":0,"x":-256.85,"y":-330.1,"h":959.7727257488233,"r":0},"send_api_data":{"printer":"","xy":"","byInk":2,"byInkVolume":1,"byDoublePrint":3,"bEcoMode":false,"bMaterialBlack":false,"byHighlight":5,"printNum":1,"bFastMode":false,"bUniPrint":false,"bDivide":false,"bPause":false,"byMask":3,"bTransColor":false,"byChoke":2,"minWhiteInkType":0,"bySaturation":5,"byBrightness":5,"byContrast":5,"iCyanBalance":0,"iMagentaBalance":0,"iBlackBalance":0,"iYellowBalance":0,"byMinWhite":1,"bMultiple":false,"byPlatenSize":1,"cmd":"GTXproCMD.exe print -X \"Profile\\a2e6b7e6-a4c9-4512-b5ec-4cd625420eda.xml\" -I \"Input\\a2e6b7e6-a4c9-4512-b5ec-4cd625420eda.png\" -A \"Output\\a2e6b7e6-a4c9-4512-b5ec-4cd625420eda.arxp\" -S 72578082 -L -2154,-2770 -D 0 -W 1","fileName":"a2e6b7e6-a4c9-4512-b5ec-4cd625420eda.png","print_cmd":"GTXproCMD.exe send -A \"Output\\a2e6b7e6-a4c9-4512-b5ec-4cd625420eda.arxp\" -P \"Microsoft Print to PDF"}}] [{"head_setting":{"gridShow":1,"gridValue":0,"unit":"mm","language":"cn","autoPrint":false,"gridSpacing":10},"version":"1.0.6","print_setting":{"printer":"","xy":"","byInk":2,"byInkVolume":1,"byDoublePrint":3,"bEcoMode":false,"bMaterialBlack":false,"byHighlight":5,"printNum":1,"bFastMode":false,"bUniPrint":false,"bDivide":false,"bPause":false,"byMask":3,"bTransColor":false,"byChoke":2,"minWhiteInkType":0,"bySaturation":5,"byBrightness":5,"byContrast":5,"iCyanBalance":0,"iMagentaBalance":0,"iBlackBalance":0,"iYellowBalance":0,"byMinWhite":1,"bMultiple":false},"production_no":"SUNY-JMPSC-250411-001","print_time":"2025-04-19 14:16:16","position_unit":{"x":245.5,"rate":1.1129807692307692,"sx":0,"zIndex":0,"sh":0,"sw":0,"sy":0,"y":276,"w":48.7,"h":54.2,"r":0},"position_after_px":{"x":186.2,"rate":1.1129807692307692,"sx":0,"zIndex":0,"sh":0,"sw":0,"sy":0,"y":209.5,"w":35,"h":39,"r":0},"position_before_px":{"url":"D:\\work\\electron-printer\\print\\Input\\2025-04-19_14-15-49\\5636efe0-cad1-4d9f-9ad0-5dec26b41213.png","fileName":"5636efe0-cad1-4d9f-9ad0-5dec26b41213.png","rate":1.1129807692307692,"w":41.6,"zIndex":0,"x":221.2,"y":248.85,"h":46.3,"r":0},"send_api_data":{"printer":"","xy":"","byInk":2,"byInkVolume":1,"byDoublePrint":3,"bEcoMode":false,"bMaterialBlack":false,"byHighlight":5,"printNum":1,"bFastMode":false,"bUniPrint":false,"bDivide":false,"bPause":false,"byMask":3,"bTransColor":false,"byChoke":2,"minWhiteInkType":0,"bySaturation":5,"byBrightness":5,"byContrast":5,"iCyanBalance":0,"iMagentaBalance":0,"iBlackBalance":0,"iYellowBalance":0,"byMinWhite":1,"bMultiple":false,"byPlatenSize":1,"cmd":"GTXproCMD.exe print -X \"Profile\\5636efe0-cad1-4d9f-9ad0-5dec26b41213.xml\" -I \"Input\\5636efe0-cad1-4d9f-9ad0-5dec26b41213.png\" -A \"Output\\5636efe0-cad1-4d9f-9ad0-5dec26b41213.arxp\" -S 03540387 -L 1870,2103 -D 0 -W 1","fileName":"5636efe0-cad1-4d9f-9ad0-5dec26b41213.png","print_cmd":"GTXproCMD.exe send -A \"Output\\5636efe0-cad1-4d9f-9ad0-5dec26b41213.arxp\" -P \"Microsoft Print to PDF"}},{"head_setting":{"gridShow":1,"gridValue":0,"unit":"mm","language":"cn","autoPrint":false,"gridSpacing":10},"version":"1.0.6","print_setting":{"printer":"","xy":"","byInk":2,"byInkVolume":1,"byDoublePrint":3,"bEcoMode":false,"bMaterialBlack":false,"byHighlight":5,"printNum":1,"bFastMode":false,"bUniPrint":false,"bDivide":false,"bPause":false,"byMask":3,"bTransColor":false,"byChoke":2,"minWhiteInkType":0,"bySaturation":5,"byBrightness":5,"byContrast":5,"iCyanBalance":0,"iMagentaBalance":0,"iBlackBalance":0,"iYellowBalance":0,"byMinWhite":1,"bMultiple":false},"production_no":"SUNY-JMPSC-250411-001","print_time":"2025-04-19 13:45:35","position_unit":{"x":245.5,"rate":1.1129807692307692,"sx":0,"zIndex":0,"sh":0,"sw":0,"sy":0,"y":276,"w":48.7,"h":54.2,"r":0},"position_after_px":{"x":186.2,"rate":1.1129807692307692,"sx":0,"zIndex":0,"sh":0,"sw":0,"sy":0,"y":209.5,"w":35,"h":39,"r":0},"position_before_px":{"url":"D:\\work\\electron-printer\\print\\Input\\5e28a276-2406-4668-9140-979e5107137b.png","fileName":"5e28a276-2406-4668-9140-979e5107137b.png","rate":1.1129807692307692,"w":41.6,"zIndex":0,"x":221.2,"y":248.85,"h":46.3,"r":0},"send_api_data":{"printer":"","xy":"","byInk":2,"byInkVolume":1,"byDoublePrint":3,"bEcoMode":false,"bMaterialBlack":false,"byHighlight":5,"printNum":1,"bFastMode":false,"bUniPrint":false,"bDivide":false,"bPause":false,"byMask":3,"bTransColor":false,"byChoke":2,"minWhiteInkType":0,"bySaturation":5,"byBrightness":5,"byContrast":5,"iCyanBalance":0,"iMagentaBalance":0,"iBlackBalance":0,"iYellowBalance":0,"byMinWhite":1,"bMultiple":false,"byPlatenSize":1,"cmd":"GTXproCMD.exe print -X \"Profile\\5e28a276-2406-4668-9140-979e5107137b.xml\" -I \"Input\\5e28a276-2406-4668-9140-979e5107137b.png\" -A \"Output\\5e28a276-2406-4668-9140-979e5107137b.arxp\" -S 03540387 -L 1870,2103 -D 0 -W 1","fileName":"5e28a276-2406-4668-9140-979e5107137b.png","print_cmd":"GTXproCMD.exe send -A \"Output\\5e28a276-2406-4668-9140-979e5107137b.arxp\" -P \"Microsoft Print to PDF"}},{"head_setting":{"gridShow":1,"gridValue":0,"unit":"mm","language":"cn","autoPrint":false,"gridSpacing":10},"version":"1.0.6","print_setting":{"printer":"","xy":"","byInk":2,"byInkVolume":1,"byDoublePrint":3,"bEcoMode":false,"bMaterialBlack":false,"byHighlight":5,"printNum":1,"bFastMode":false,"bUniPrint":false,"bDivide":false,"bPause":false,"byMask":3,"bTransColor":false,"byChoke":2,"minWhiteInkType":0,"bySaturation":5,"byBrightness":5,"byContrast":5,"iCyanBalance":0,"iMagentaBalance":0,"iBlackBalance":0,"iYellowBalance":0,"byMinWhite":1,"bMultiple":false},"production_no":"SUNY-JMPSC-250411-001","print_time":"2025-04-19 11:30:00","position_unit":{"x":245.5,"rate":1.1129807692307692,"sx":0,"zIndex":0,"sh":0,"sw":0,"sy":0,"y":276,"w":48.7,"h":54.2,"r":0},"position_after_px":{"x":186.2,"rate":1.1129807692307692,"sx":0,"zIndex":0,"sh":0,"sw":0,"sy":0,"y":209.5,"w":35,"h":39,"r":0},"position_before_px":{"url":"D:\\work\\electron-printer\\print\\Input\\2025-04-19_11-29-53\\672bed06-0f28-4141-871c-688723f55a34.png","fileName":"672bed06-0f28-4141-871c-688723f55a34.png","rate":1.1129807692307692,"w":41.6,"zIndex":0,"x":221.2,"y":248.85,"h":46.3,"r":0},"send_api_data":{"printer":"","xy":"","byInk":2,"byInkVolume":1,"byDoublePrint":3,"bEcoMode":false,"bMaterialBlack":false,"byHighlight":5,"printNum":1,"bFastMode":false,"bUniPrint":false,"bDivide":false,"bPause":false,"byMask":3,"bTransColor":false,"byChoke":2,"minWhiteInkType":0,"bySaturation":5,"byBrightness":5,"byContrast":5,"iCyanBalance":0,"iMagentaBalance":0,"iBlackBalance":0,"iYellowBalance":0,"byMinWhite":1,"bMultiple":false,"byPlatenSize":1,"cmd":"GTXproCMD.exe print -X \"Profile\\672bed06-0f28-4141-871c-688723f55a34.xml\" -I \"Input\\672bed06-0f28-4141-871c-688723f55a34.png\" -A \"Output\\672bed06-0f28-4141-871c-688723f55a34.arxp\" -S 03540387 -L 1870,2103 -D 0 -W 1","fileName":"672bed06-0f28-4141-871c-688723f55a34.png","print_cmd":"GTXproCMD.exe send -A \"Output\\672bed06-0f28-4141-871c-688723f55a34.arxp\" -P \"Microsoft Print to PDF"}},{"head_setting":{"gridShow":1,"gridValue":0,"unit":"mm","language":"cn","autoPrint":false,"gridSpacing":10},"version":"1.0.6","print_setting":{"printer":"","xy":"","byInk":2,"byInkVolume":1,"byDoublePrint":3,"bEcoMode":false,"bMaterialBlack":false,"byHighlight":5,"printNum":1,"bFastMode":false,"bUniPrint":false,"bDivide":false,"bPause":false,"byMask":3,"bTransColor":false,"byChoke":2,"minWhiteInkType":0,"bySaturation":5,"byBrightness":5,"byContrast":5,"iCyanBalance":0,"iMagentaBalance":0,"iBlackBalance":0,"iYellowBalance":0,"byMinWhite":1,"bMultiple":false},"production_no":"SUNY-JMPSC-250411-001","print_time":"2025-04-19 11:20:22","position_unit":{"x":245.5,"rate":1.1129807692307692,"sx":0,"zIndex":0,"sh":0,"sw":0,"sy":0,"y":276,"w":48.7,"h":54.2,"r":0},"position_after_px":{"x":186.2,"rate":1.1129807692307692,"sx":0,"zIndex":0,"sh":0,"sw":0,"sy":0,"y":209.5,"w":35,"h":39,"r":0},"position_before_px":{"url":"D:\\work\\electron-printer\\print\\Input\\2025-04-19_11-20-18\\57a3b7a6-503c-4bb8-8a9e-7015f2b7efc9.png","fileName":"57a3b7a6-503c-4bb8-8a9e-7015f2b7efc9.png","rate":1.1129807692307692,"w":41.6,"zIndex":0,"x":221.2,"y":248.85,"h":46.3,"r":0},"send_api_data":{"printer":"","xy":"","byInk":2,"byInkVolume":1,"byDoublePrint":3,"bEcoMode":false,"bMaterialBlack":false,"byHighlight":5,"printNum":1,"bFastMode":false,"bUniPrint":false,"bDivide":false,"bPause":false,"byMask":3,"bTransColor":false,"byChoke":2,"minWhiteInkType":0,"bySaturation":5,"byBrightness":5,"byContrast":5,"iCyanBalance":0,"iMagentaBalance":0,"iBlackBalance":0,"iYellowBalance":0,"byMinWhite":1,"bMultiple":false,"byPlatenSize":1,"cmd":"GTXproCMD.exe print -X \"Profile\\57a3b7a6-503c-4bb8-8a9e-7015f2b7efc9.xml\" -I \"Input\\57a3b7a6-503c-4bb8-8a9e-7015f2b7efc9.png\" -A \"Output\\57a3b7a6-503c-4bb8-8a9e-7015f2b7efc9.arxp\" -S 03540387 -L 1870,2103 -D 0 -W 1","fileName":"57a3b7a6-503c-4bb8-8a9e-7015f2b7efc9.png","print_cmd":"GTXproCMD.exe send -A \"Output\\57a3b7a6-503c-4bb8-8a9e-7015f2b7efc9.arxp\" -P \"Microsoft Print to PDF"}},{"head_setting":{"gridShow":1,"gridValue":0,"unit":"mm","language":"cn","autoPrint":false,"gridSpacing":10},"version":"1.0.6","print_setting":{"printer":"","xy":"","byInk":2,"byInkVolume":1,"byDoublePrint":3,"bEcoMode":false,"bMaterialBlack":false,"byHighlight":5,"printNum":1,"bFastMode":false,"bUniPrint":false,"bDivide":false,"bPause":false,"byMask":3,"bTransColor":false,"byChoke":2,"minWhiteInkType":0,"bySaturation":5,"byBrightness":5,"byContrast":5,"iCyanBalance":0,"iMagentaBalance":0,"iBlackBalance":0,"iYellowBalance":0,"byMinWhite":1,"bMultiple":false},"production_no":"SUNY-JMPSC-250411-001","print_time":"2025-04-19 11:17:41","position_unit":{"x":245.5,"rate":1.1129807692307692,"sx":0,"zIndex":0,"sh":0,"sw":0,"sy":0,"y":276,"w":48.7,"h":54.2,"r":0},"position_after_px":{"x":186.2,"rate":1.1129807692307692,"sx":0,"zIndex":0,"sh":0,"sw":0,"sy":0,"y":209.5,"w":35,"h":39,"r":0},"position_before_px":{"url":"D:\\work\\electron-printer\\print\\Input\\2025-04-19_11-17-21\\80253ee6-e3d4-45f0-acd4-c58c6a0b5608.png","fileName":"80253ee6-e3d4-45f0-acd4-c58c6a0b5608.png","rate":1.1129807692307692,"w":41.6,"zIndex":0,"x":221.2,"y":248.85,"h":46.3,"r":0},"send_api_data":{"printer":"","xy":"","byInk":2,"byInkVolume":1,"byDoublePrint":3,"bEcoMode":false,"bMaterialBlack":false,"byHighlight":5,"printNum":1,"bFastMode":false,"bUniPrint":false,"bDivide":false,"bPause":false,"byMask":3,"bTransColor":false,"byChoke":2,"minWhiteInkType":0,"bySaturation":5,"byBrightness":5,"byContrast":5,"iCyanBalance":0,"iMagentaBalance":0,"iBlackBalance":0,"iYellowBalance":0,"byMinWhite":1,"bMultiple":false,"byPlatenSize":1,"cmd":"GTXproCMD.exe print -X \"Profile\\80253ee6-e3d4-45f0-acd4-c58c6a0b5608.xml\" -I \"Input\\80253ee6-e3d4-45f0-acd4-c58c6a0b5608.png\" -A \"Output\\80253ee6-e3d4-45f0-acd4-c58c6a0b5608.arxp\" -S 03540387 -L 1870,2103 -D 0 -W 1","fileName":"80253ee6-e3d4-45f0-acd4-c58c6a0b5608.png","print_cmd":"GTXproCMD.exe send -A \"Output\\80253ee6-e3d4-45f0-acd4-c58c6a0b5608.arxp\" -P \"Microsoft Print to PDF"}},{"head_setting":{"gridShow":1,"gridValue":0,"unit":"mm","language":"cn","autoPrint":false,"gridSpacing":10},"version":"1.0.6","print_setting":{"printer":"","xy":"","byInk":2,"byInkVolume":1,"byDoublePrint":3,"bEcoMode":false,"bMaterialBlack":false,"byHighlight":5,"printNum":1,"bFastMode":false,"bUniPrint":false,"bDivide":false,"bPause":false,"byMask":3,"bTransColor":false,"byChoke":2,"minWhiteInkType":0,"bySaturation":5,"byBrightness":5,"byContrast":5,"iCyanBalance":0,"iMagentaBalance":0,"iBlackBalance":0,"iYellowBalance":0,"byMinWhite":1,"bMultiple":false},"production_no":"SUNY-JMPSC-250411-001","print_time":"2025-04-19 11:17:25","position_unit":{"x":245.5,"rate":1.1129807692307692,"sx":0,"zIndex":0,"sh":0,"sw":0,"sy":0,"y":276,"w":48.7,"h":54.2,"r":0},"position_after_px":{"x":186.2,"rate":1.1129807692307692,"sx":0,"zIndex":0,"sh":0,"sw":0,"sy":0,"y":209.5,"w":35,"h":39,"r":0},"position_before_px":{"url":"D:\\work\\electron-printer\\print\\Input\\2025-04-19_11-17-21\\80253ee6-e3d4-45f0-acd4-c58c6a0b5608.png","fileName":"80253ee6-e3d4-45f0-acd4-c58c6a0b5608.png","rate":1.1129807692307692,"w":41.6,"zIndex":0,"x":221.2,"y":248.85,"h":46.3,"r":0},"send_api_data":{"printer":"","xy":"","byInk":2,"byInkVolume":1,"byDoublePrint":3,"bEcoMode":false,"bMaterialBlack":false,"byHighlight":5,"printNum":1,"bFastMode":false,"bUniPrint":false,"bDivide":false,"bPause":false,"byMask":3,"bTransColor":false,"byChoke":2,"minWhiteInkType":0,"bySaturation":5,"byBrightness":5,"byContrast":5,"iCyanBalance":0,"iMagentaBalance":0,"iBlackBalance":0,"iYellowBalance":0,"byMinWhite":1,"bMultiple":false,"byPlatenSize":1,"cmd":"GTXproCMD.exe print -X \"Profile\\80253ee6-e3d4-45f0-acd4-c58c6a0b5608.xml\" -I \"Input\\80253ee6-e3d4-45f0-acd4-c58c6a0b5608.png\" -A \"Output\\80253ee6-e3d4-45f0-acd4-c58c6a0b5608.arxp\" -S 03540387 -L 1870,2103 -D 0 -W 1","fileName":"80253ee6-e3d4-45f0-acd4-c58c6a0b5608.png","print_cmd":"GTXproCMD.exe send -A \"Output\\80253ee6-e3d4-45f0-acd4-c58c6a0b5608.arxp\" -P \"Microsoft Print to PDF"}},{"head_setting":{"gridShow":1,"gridValue":0,"unit":"mm","language":"cn","autoPrint":false,"gridSpacing":10},"version":"1.0.6","print_setting":{"printer":"","xy":"","byInk":2,"byInkVolume":1,"byDoublePrint":3,"bEcoMode":false,"bMaterialBlack":false,"byHighlight":5,"printNum":1,"bFastMode":false,"bUniPrint":false,"bDivide":false,"bPause":false,"byMask":3,"bTransColor":false,"byChoke":2,"minWhiteInkType":0,"bySaturation":5,"byBrightness":5,"byContrast":5,"iCyanBalance":0,"iMagentaBalance":0,"iBlackBalance":0,"iYellowBalance":0,"byMinWhite":1,"bMultiple":false},"production_no":"SUNY-JMPSC-250411-001","print_time":"2025-04-19 11:15:57","position_unit":{"x":245.5,"rate":1.1129807692307692,"sx":0,"zIndex":0,"sh":0,"sw":0,"sy":0,"y":276,"w":48.7,"h":54.2,"r":0},"position_after_px":{"x":67.9,"rate":1,"sx":0,"zIndex":0,"sh":0,"sw":0,"sy":0,"y":93.2,"w":271.6,"h":271.6,"r":0},"position_before_px":{"url":"D:\\work\\electron-printer\\print\\Input\\2025-04-19_11-12-51\\a2e6b7e6-a4c9-4512-b5ec-4cd625420eda.png","fileName":"a2e6b7e6-a4c9-4512-b5ec-4cd625420eda.png","rate":1,"w":322.66666666666663,"zIndex":0,"x":80.66666666666669,"y":110.66666666666669,"h":322.66666666666663,"r":0},"send_api_data":{"printer":"","xy":"","byInk":2,"byInkVolume":1,"byDoublePrint":3,"bEcoMode":false,"bMaterialBlack":false,"byHighlight":5,"printNum":1,"bFastMode":false,"bUniPrint":false,"bDivide":false,"bPause":false,"byMask":3,"bTransColor":false,"byChoke":2,"minWhiteInkType":0,"bySaturation":5,"byBrightness":5,"byContrast":5,"iCyanBalance":0,"iMagentaBalance":0,"iBlackBalance":0,"iYellowBalance":0,"byMinWhite":1,"bMultiple":false,"byPlatenSize":1,"cmd":"GTXproCMD.exe print -X \"Profile\\a2e6b7e6-a4c9-4512-b5ec-4cd625420eda.xml\" -I \"Input\\a2e6b7e6-a4c9-4512-b5ec-4cd625420eda.png\" -A \"Output\\a2e6b7e6-a4c9-4512-b5ec-4cd625420eda.arxp\" -S 27192719 -L 0687,0940 -D 0 -W 1","fileName":"a2e6b7e6-a4c9-4512-b5ec-4cd625420eda.png","print_cmd":"GTXproCMD.exe send -A \"Output\\a2e6b7e6-a4c9-4512-b5ec-4cd625420eda.arxp\" -P \"Microsoft Print to PDF"}},{"head_setting":{"gridShow":1,"gridValue":0,"unit":"mm","language":"cn","autoPrint":false,"gridSpacing":10},"version":"1.0.6","print_setting":{"printer":"","xy":"","byInk":2,"byInkVolume":1,"byDoublePrint":3,"bEcoMode":false,"bMaterialBlack":false,"byHighlight":5,"printNum":1,"bFastMode":false,"bUniPrint":false,"bDivide":false,"bPause":false,"byMask":3,"bTransColor":false,"byChoke":2,"minWhiteInkType":0,"bySaturation":5,"byBrightness":5,"byContrast":5,"iCyanBalance":0,"iMagentaBalance":0,"iBlackBalance":0,"iYellowBalance":0,"byMinWhite":1,"bMultiple":false},"production_no":"SUNY-JMPSC-250411-001","print_time":"2025-04-19 11:14:53","position_unit":{"x":245.5,"rate":1.1129807692307692,"sx":0,"zIndex":0,"sh":0,"sw":0,"sy":0,"y":276,"w":48.7,"h":54.2,"r":0},"position_after_px":{"x":-70.2,"rate":1,"sx":0,"zIndex":0,"sh":0,"sw":0,"sy":0,"y":-63.4,"w":271.6,"h":271.6,"r":0},"position_before_px":{"url":"D:\\work\\electron-printer\\print\\Input\\2025-04-19_11-12-51\\1ce924db-6827-4988-9bbd-42f0860593f0.png","fileName":"1ce924db-6827-4988-9bbd-42f0860593f0.png","rate":1,"w":322.66666666666663,"zIndex":0,"x":-83.33333333333331,"y":-75.33333333333331,"h":322.66666666666663,"r":0},"send_api_data":{"printer":"","xy":"","byInk":2,"byInkVolume":1,"byDoublePrint":3,"bEcoMode":false,"bMaterialBlack":false,"byHighlight":5,"printNum":1,"bFastMode":false,"bUniPrint":false,"bDivide":false,"bPause":false,"byMask":3,"bTransColor":false,"byChoke":2,"minWhiteInkType":0,"bySaturation":5,"byBrightness":5,"byContrast":5,"iCyanBalance":0,"iMagentaBalance":0,"iBlackBalance":0,"iYellowBalance":0,"byMinWhite":1,"bMultiple":false,"byPlatenSize":1,"cmd":"GTXproCMD.exe print -X \"Profile\\1ce924db-6827-4988-9bbd-42f0860593f0.xml\" -I \"Input\\1ce924db-6827-4988-9bbd-42f0860593f0.png\" -A \"Output\\1ce924db-6827-4988-9bbd-42f0860593f0.arxp\" -S 27192719 -L -0693,-0626 -D 0 -W 1","fileName":"1ce924db-6827-4988-9bbd-42f0860593f0.png","print_cmd":"GTXproCMD.exe send -A \"Output\\1ce924db-6827-4988-9bbd-42f0860593f0.arxp\" -P \"Microsoft Print to PDF"}},{"head_setting":{"gridShow":1,"gridValue":0,"unit":"mm","language":"cn","autoPrint":false,"gridSpacing":10},"version":"1.0.6","print_setting":{"printer":"","xy":"","byInk":2,"byInkVolume":1,"byDoublePrint":3,"bEcoMode":false,"bMaterialBlack":false,"byHighlight":5,"printNum":1,"bFastMode":false,"bUniPrint":false,"bDivide":false,"bPause":false,"byMask":3,"bTransColor":false,"byChoke":2,"minWhiteInkType":0,"bySaturation":5,"byBrightness":5,"byContrast":5,"iCyanBalance":0,"iMagentaBalance":0,"iBlackBalance":0,"iYellowBalance":0,"byMinWhite":1,"bMultiple":false},"production_no":"SUNY-JMPSC-250411-001","print_time":"2025-04-19 11:14:40","position_unit":{"x":245.5,"rate":1.1129807692307692,"sx":0,"zIndex":0,"sh":0,"sw":0,"sy":0,"y":276,"w":48.7,"h":54.2,"r":0},"position_after_px":{"x":-70.2,"rate":1,"sx":0,"zIndex":0,"sh":0,"sw":0,"sy":0,"y":-63.4,"w":271.6,"h":271.6,"r":0},"position_before_px":{"url":"D:\\work\\electron-printer\\print\\Input\\2025-04-19_11-12-51\\1ce924db-6827-4988-9bbd-42f0860593f0.png","fileName":"1ce924db-6827-4988-9bbd-42f0860593f0.png","rate":1,"w":322.66666666666663,"zIndex":0,"x":-83.33333333333331,"y":-75.33333333333331,"h":322.66666666666663,"r":0},"send_api_data":{"printer":"","xy":"","byInk":2,"byInkVolume":1,"byDoublePrint":3,"bEcoMode":false,"bMaterialBlack":false,"byHighlight":5,"printNum":1,"bFastMode":false,"bUniPrint":false,"bDivide":false,"bPause":false,"byMask":3,"bTransColor":false,"byChoke":2,"minWhiteInkType":0,"bySaturation":5,"byBrightness":5,"byContrast":5,"iCyanBalance":0,"iMagentaBalance":0,"iBlackBalance":0,"iYellowBalance":0,"byMinWhite":1,"bMultiple":false,"byPlatenSize":1,"cmd":"GTXproCMD.exe print -X \"Profile\\1ce924db-6827-4988-9bbd-42f0860593f0.xml\" -I \"Input\\1ce924db-6827-4988-9bbd-42f0860593f0.png\" -A \"Output\\1ce924db-6827-4988-9bbd-42f0860593f0.arxp\" -S 27192719 -L -0693,-0626 -D 0 -W 1","fileName":"1ce924db-6827-4988-9bbd-42f0860593f0.png","print_cmd":"GTXproCMD.exe send -A \"Output\\1ce924db-6827-4988-9bbd-42f0860593f0.arxp\" -P \"Microsoft Print to PDF"}},{"head_setting":{"gridShow":1,"gridValue":0,"unit":"mm","language":"cn","autoPrint":false,"gridSpacing":10},"version":"1.0.6","print_setting":{"printer":"","xy":"","byInk":2,"byInkVolume":1,"byDoublePrint":3,"bEcoMode":false,"bMaterialBlack":false,"byHighlight":5,"printNum":1,"bFastMode":false,"bUniPrint":false,"bDivide":false,"bPause":false,"byMask":3,"bTransColor":false,"byChoke":2,"minWhiteInkType":0,"bySaturation":5,"byBrightness":5,"byContrast":5,"iCyanBalance":0,"iMagentaBalance":0,"iBlackBalance":0,"iYellowBalance":0,"byMinWhite":1,"bMultiple":false},"production_no":"SUNY-JMPSC-250411-001","print_time":"2025-04-19 11:13:15","position_unit":{"x":245.5,"rate":1.1129807692307692,"sx":0,"zIndex":0,"sh":0,"sw":0,"sy":0,"y":276,"w":48.7,"h":54.2,"r":0},"position_after_px":{"x":-216.2,"rate":1.1129807692307692,"sx":0,"zIndex":0,"sh":0,"sw":0,"sy":0,"y":-277.9,"w":726,"h":808,"r":0},"position_before_px":{"url":"D:\\work\\electron-printer\\print\\Input\\2025-04-19_11-12-51\\a2e6b7e6-a4c9-4512-b5ec-4cd625420eda.png","fileName":"a2e6b7e6-a4c9-4512-b5ec-4cd625420eda.png","rate":1.1129807692307692,"w":862.3788144643487,"zIndex":0,"x":-256.85,"y":-330.1,"h":959.7727257488233,"r":0},"send_api_data":{"printer":"","xy":"","byInk":2,"byInkVolume":1,"byDoublePrint":3,"bEcoMode":false,"bMaterialBlack":false,"byHighlight":5,"printNum":1,"bFastMode":false,"bUniPrint":false,"bDivide":false,"bPause":false,"byMask":3,"bTransColor":false,"byChoke":2,"minWhiteInkType":0,"bySaturation":5,"byBrightness":5,"byContrast":5,"iCyanBalance":0,"iMagentaBalance":0,"iBlackBalance":0,"iYellowBalance":0,"byMinWhite":1,"bMultiple":false,"byPlatenSize":1,"cmd":"GTXproCMD.exe print -X \"Profile\\a2e6b7e6-a4c9-4512-b5ec-4cd625420eda.xml\" -I \"Input\\a2e6b7e6-a4c9-4512-b5ec-4cd625420eda.png\" -A \"Output\\a2e6b7e6-a4c9-4512-b5ec-4cd625420eda.arxp\" -S 72578082 -L -2154,-2770 -D 0 -W 1","fileName":"a2e6b7e6-a4c9-4512-b5ec-4cd625420eda.png","print_cmd":"GTXproCMD.exe send -A \"Output\\a2e6b7e6-a4c9-4512-b5ec-4cd625420eda.arxp\" -P \"Microsoft Print to PDF"}}]
\ No newline at end of file \ No newline at end of file
import { downloadImage, toSend, writeProfileXml } from "@/server/utils"; import {
downloadImage,
downloadOtherImage,
toSend,
writeProfileXml,
} from "@/server/utils";
import axios from "axios"; import axios from "axios";
import { returnLogFilePath } from "../utils/log"; import { returnLogFilePath } from "../utils/log";
var request = require("request"); var request = require("request");
...@@ -57,13 +62,16 @@ export default { ...@@ -57,13 +62,16 @@ export default {
} }
}, },
downloadBySubOrderNumber: async (req, res) => { downloadBySubOrderNumber: async (req, res) => {
console.log(66, req.body);
const params = [...req.body];
params.pop();
const token = req.headers["jwt-token"]; const token = req.headers["jwt-token"];
try { try {
let { let {
data, data,
} = await axios.post( } = await axios.post(
`${env}/factory/podJomallOrder/downloadByProduction`, `${env}/factory/podJomallOrder/downloadByProduction`,
req.body, params,
{ headers: { "jwt-token": token } } { headers: { "jwt-token": token } }
); );
let files = []; let files = [];
...@@ -72,15 +80,26 @@ export default { ...@@ -72,15 +80,26 @@ export default {
files = files.map((el) => { files = files.map((el) => {
return { url: `${fileEnv}${el}` }; return { url: `${fileEnv}${el}` };
}); });
downloadImage(files)
.then((data) => {
console.log(77, data);
res.json({ code: 200, data }); if (req.body[1] === 1) {
}) downloadImage(files)
.catch((err) => { .then((data) => {
res.json({ code: 500, msg: err }); res.json({ code: 200, data });
}); })
.catch((err) => {
res.json({ code: 500, msg: err });
});
} else {
downloadOtherImage(files)
.then((data) => {
console.log(77, data);
res.json({ code: 200, data });
})
.catch((err) => {
res.json({ code: 500, msg: err });
});
}
} else { } else {
res.json(data); res.json(data);
} }
......
...@@ -48,6 +48,79 @@ function zip(from, to) { ...@@ -48,6 +48,79 @@ function zip(from, to) {
export const downloadImage = (list) => { export const downloadImage = (list) => {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
try { try {
// console.log("Formatted Folder Name:", folderName); // 检查替换结果
let dirPath = path.join(process.cwd(), `./print/Input/`);
console.log(64, dirPath);
if (!fs.existsSync(dirPath)) {
fs.mkdirSync(dirPath);
}
let count = 0;
for (let i = 0; i < list.length; i++) {
if (list[i].url && list[i].url.includes("http")) {
let fileName = "";
let type = 2;
let flag =
[
".zip",
".gzip",
".tar",
".taz",
".rar",
".7z",
".gz",
".bz2",
].filter((el) => list[i].url.toLowerCase().includes(el)).length > 0;
if (flag) {
fileName = list[i].url.split("/")[
list[i].url.split("/").length - 1
];
type = 1;
} else {
fileName = uuid.v4() + ".png";
type = 2;
}
let p = path.join(process.cwd(), "./print/Input/" + fileName);
let stream = fs.createWriteStream(p);
request(list[i].url)
.pipe(stream)
.on("close", async function() {
if (type === 1) {
list[i].list = await zip(p, dirPath);
if (count === list.length - 1) {
resolve(list);
}
} else {
if (!list[i].list) list[i].list = [];
const filename = list[i].url.split("/")[
list[i].url.split("/").length - 1
];
list[i].list.push({
fileName,
productionFile: p,
designId: filename.split("_GCPS")[0],
});
}
if (count === list.length - 1) {
// console.log(list);
resolve(list);
}
count++;
});
}
}
} catch (err) {
console.log(err);
reject(err);
}
});
};
export function downloadOtherImage(list) {
return new Promise((resolve, reject) => {
try {
const currentDate = new Date(); const currentDate = new Date();
// 将 UTC 时间转换为中国时间 (UTC + 8小时) // 将 UTC 时间转换为中国时间 (UTC + 8小时)
...@@ -66,15 +139,14 @@ export const downloadImage = (list) => { ...@@ -66,15 +139,14 @@ export const downloadImage = (list) => {
.split("T")[1] .split("T")[1]
.replace(/:/g, "-") .replace(/:/g, "-")
.split(".")[0]; .split(".")[0];
let otherTypePath = path.join(
console.log("Formatted Folder Name:", folderName); // 检查替换结果 process.cwd(),
// let dirPath = path.join(process.cwd(), `./print/Input/`); `./print/Input/${folderName}`
let dirPath = path.join(process.cwd(), `./print/Input/${folderName}`); );
console.log(64, dirPath); if (!fs.existsSync(otherTypePath)) {
fs.mkdirSync(otherTypePath);
if (!fs.existsSync(dirPath)) {
fs.mkdirSync(dirPath);
} }
let count = 0; let count = 0;
for (let i = 0; i < list.length; i++) { for (let i = 0; i < list.length; i++) {
if (list[i].url && list[i].url.includes("http")) { if (list[i].url && list[i].url.includes("http")) {
...@@ -100,14 +172,13 @@ export const downloadImage = (list) => { ...@@ -100,14 +172,13 @@ export const downloadImage = (list) => {
fileName = uuid.v4() + ".png"; fileName = uuid.v4() + ".png";
type = 2; type = 2;
} }
let p = path.join(dirPath, fileName); // 保存到新文件夹 let otherP = path.join(otherTypePath, fileName); // 保存到新文件夹
// let p = path.join(process.cwd(), "./print/Input/" + fileName); let otherstream = fs.createWriteStream(otherP);
let stream = fs.createWriteStream(p);
request(list[i].url) request(list[i].url)
.pipe(stream) .pipe(otherstream)
.on("close", async function() { .on("close", async function() {
if (type === 1) { if (type === 1) {
list[i].list = await zip(p, dirPath); list[i].list = await zip(otherP, otherTypePath);
if (count === list.length - 1) { if (count === list.length - 1) {
resolve(list); resolve(list);
} }
...@@ -118,12 +189,12 @@ export const downloadImage = (list) => { ...@@ -118,12 +189,12 @@ export const downloadImage = (list) => {
]; ];
list[i].list.push({ list[i].list.push({
fileName, fileName,
productionFile: p, productionFile: otherP,
designId: filename.split("_GCPS")[0], designId: filename.split("_GCPS")[0],
}); });
} }
if (count === list.length - 1) { if (count === list.length - 1) {
console.log(list); // console.log(list);
resolve(list); resolve(list);
} }
count++; count++;
...@@ -135,7 +206,7 @@ export const downloadImage = (list) => { ...@@ -135,7 +206,7 @@ export const downloadImage = (list) => {
reject(err); reject(err);
} }
}); });
}; }
// 传递素材给前端 // 传递素材给前端
export const sendImg = (filename = "sample.png") => { export const sendImg = (filename = "sample.png") => {
......
...@@ -21,7 +21,7 @@ export default { ...@@ -21,7 +21,7 @@ export default {
isAutoSure: false, isAutoSure: false,
currentStatus: "IN_PRODUCTION", currentStatus: "IN_PRODUCTION",
detail: { detail: {
imgList: [] imgList: [],
}, },
dialogVisible: false, dialogVisible: false,
audios: { audios: {
...@@ -29,10 +29,10 @@ export default { ...@@ -29,10 +29,10 @@ export default {
weight_success: require(`../../../assets/audio/weight_success.mp3`), weight_success: require(`../../../assets/audio/weight_success.mp3`),
weight_repeat: require(`../../../assets/audio/weight_repeat.mp3`), weight_repeat: require(`../../../assets/audio/weight_repeat.mp3`),
weight_search_error: require(`../../../assets/audio/weight_search_error.mp3`), weight_search_error: require(`../../../assets/audio/weight_search_error.mp3`),
weight_search_success: require(`../../../assets/audio/weight_search_success.mp3`) weight_search_success: require(`../../../assets/audio/weight_search_success.mp3`),
}, },
productInfo: {}, productInfo: {},
TrackingNumber: "" TrackingNumber: "",
}; };
}, },
methods: { methods: {
...@@ -46,7 +46,7 @@ export default { ...@@ -46,7 +46,7 @@ export default {
{ {
confirmButtonText: "确定", confirmButtonText: "确定",
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning" type: "warning",
} }
).then(() => { ).then(() => {
this.setData(); this.setData();
...@@ -62,11 +62,11 @@ export default { ...@@ -62,11 +62,11 @@ export default {
let data = let data =
this.currentStatus == "IN_PRODUCTION" this.currentStatus == "IN_PRODUCTION"
? { ? {
id: this.detail.id id: this.detail.id,
} }
: { : {
list: [this.detail], list: [this.detail],
...this.shipForm ...this.shipForm,
}; };
if (data.list) { if (data.list) {
data.list[0].note = data.list[0].note =
...@@ -93,26 +93,26 @@ export default { ...@@ -93,26 +93,26 @@ export default {
} }
let params = { let params = {
productionNo: this.detail.podProductionNo, productionNo: this.detail.podProductionNo,
method: "POST" method: "POST",
}; };
if (data === 1) { if (data === 1) {
params = { params = {
...params, ...params,
...{ ...{
designId designId,
} },
}; };
} else if (data === 2) { } else if (data === 2) {
params = { params = {
...params, ...params,
...{ ...{
negativeDesignId: designId negativeDesignId: designId,
} },
}; };
} }
downloadFile("podDesignCenter/downloadByDesignId", params) downloadFile("podDesignCenter/downloadByDesignId", params)
.then(res => { .then((res) => {
const { data, fileName } = res; const { data, fileName } = res;
let url = window.URL.createObjectURL(data); let url = window.URL.createObjectURL(data);
// 生成一个a标签 // 生成一个a标签
...@@ -124,7 +124,7 @@ export default { ...@@ -124,7 +124,7 @@ export default {
link.click(); link.click();
window.URL.revokeObjectURL(url); window.URL.revokeObjectURL(url);
}) })
.catch(err => { .catch((err) => {
console.log(err); console.log(err);
}); });
}, },
...@@ -174,26 +174,26 @@ export default { ...@@ -174,26 +174,26 @@ export default {
if (!d.imageAry) { if (!d.imageAry) {
arr = [ arr = [
{ url: d.variantImage, title: "正面", id: d.designId }, { url: d.variantImage, title: "正面", id: d.designId },
{ url: d.negativeImage, title: "反面", id: d.negativeDesignId } { url: d.negativeImage, title: "反面", id: d.negativeDesignId },
].filter(el => el.url); ].filter((el) => el.url);
} else { } else {
arr = arr =
typeof d.imageAry == "string" ? JSON.parse(d.imageAry) : d.imageAry; typeof d.imageAry == "string" ? JSON.parse(d.imageAry) : d.imageAry;
arr = arr.concat([ arr = arr.concat([
{ url: d.negativeImage, title: "反面", id: d.negativeDesignId } { url: d.negativeImage, title: "反面", id: d.negativeDesignId },
]); ]);
} }
const result = []; const result = [];
console.log(arr); console.log(arr);
arr = arr.filter(el => el.url); arr = arr.filter((el) => el.url);
arr = arr.map(el => { arr = arr.map((el) => {
return { return {
...el, ...el,
...{ ...{
url: el.url.includes("http") url: el.url.includes("http")
? el.url ? el.url
: window.location.origin + "/upload/erp" + el.url : window.location.origin + "/upload/erp" + el.url,
} },
}; };
}); });
...@@ -224,8 +224,8 @@ export default { ...@@ -224,8 +224,8 @@ export default {
} }
}); });
} }
} },
} },
}; };
</script> </script>
...@@ -311,10 +311,7 @@ export default { ...@@ -311,10 +311,7 @@ export default {
{{ detail?.userMark }} {{ detail?.userMark }}
</p> </p>
</div> </div>
<div <div :title="String(detail?.factoryOrderNumber)" class="div-item">
:title="String(detail?.factoryOrderNumber)"
class="div-item"
>
<span style="font-size: 18px">订单号</span> <span style="font-size: 18px">订单号</span>
<p style="color: red; font-size: 22px"> <p style="color: red; font-size: 22px">
{{ detail?.factoryOrderNumber }} {{ detail?.factoryOrderNumber }}
...@@ -333,7 +330,7 @@ export default { ...@@ -333,7 +330,7 @@ export default {
style="margin-left: 5px" style="margin-left: 5px"
v-if="detail.podProductionNo" v-if="detail.podProductionNo"
:style="{ :style="{
color: detail.customizedQuantity > 1 ? 'red' : '#67C23A' color: detail.customizedQuantity > 1 ? 'red' : '#67C23A',
}" }"
> >
{{ detail.customizedQuantity > 1 ? "多" : "单" }} {{ detail.customizedQuantity > 1 ? "多" : "单" }}
...@@ -361,7 +358,9 @@ export default { ...@@ -361,7 +358,9 @@ export default {
</div> </div>
<div :title="detail.color" class="div-item"> <div :title="detail.color" class="div-item">
<span>颜色</span> <span>颜色</span>
<p>{{ detail.baseSku?detail.baseSku.split("_")[1]:null }}</p> <p>
{{ detail.baseSku ? detail.baseSku.split("_")[1] : null }}
</p>
</div> </div>
<div :title="detail.size" class="div-item"> <div :title="detail.size" class="div-item">
<span>尺寸</span> <span>尺寸</span>
...@@ -500,7 +499,6 @@ export default { ...@@ -500,7 +499,6 @@ export default {
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</template> </template>
......
...@@ -6,6 +6,7 @@ import { grid } from "../data"; ...@@ -6,6 +6,7 @@ import { grid } from "../data";
import pkg from "../../../../package.json"; import pkg from "../../../../package.json";
import UpdateDialog from "@/views/design/updateDialog.vue"; import UpdateDialog from "@/views/design/updateDialog.vue";
// import path from "path"; // 引入 path 模块 // import path from "path"; // 引入 path 模块
import store from "@/store/index.js";
export default { export default {
components: { PrintDialog, UpdateDialog }, components: { PrintDialog, UpdateDialog },
...@@ -220,6 +221,7 @@ export default { ...@@ -220,6 +221,7 @@ export default {
// 根据生产单号查找 素材图片 下载到本地 然后返回本地地址去显示 // 根据生产单号查找 素材图片 下载到本地 然后返回本地地址去显示
let res = await this.$api.post("/downloadBySubOrderNumber", [ let res = await this.$api.post("/downloadBySubOrderNumber", [
this.detail.id, this.detail.id,
this.$store.state.desktopDevice,
]); ]);
this.imgList = []; this.imgList = [];
res.data.forEach((el) => { res.data.forEach((el) => {
...@@ -239,15 +241,7 @@ export default { ...@@ -239,15 +241,7 @@ export default {
}); });
console.log(arr, "arr"); console.log(arr, "arr");
res.data = arr.filter((el) => el.type !== 1); res.data = arr.filter((el) => el.type !== 1);
bus.$emit("busEmit", {
type: "sendFile",
value: res.data,
size: { width: 35, height: 39 },
});
this.productionNo = "";
this.$refs.searchRef.focus();
// 延迟后强制激活窗口 // 延迟后强制激活窗口
if (this.desktopDevice !== 1) { if (this.desktopDevice !== 1) {
if (this.imgList.length) { if (this.imgList.length) {
...@@ -262,7 +256,17 @@ export default { ...@@ -262,7 +256,17 @@ export default {
// 删除最后一个部分,即文件名 // 删除最后一个部分,即文件名
}, 500); }, 500);
} }
} else {
bus.$emit("busEmit", {
type: "sendFile",
value: res.data,
size: { width: 35, height: 39 },
});
} }
this.productionNo = "";
this.$refs.searchRef.focus();
} catch (err) { } catch (err) {
this.productionNo = ""; this.productionNo = "";
this.$refs.searchRef.focus(); this.$refs.searchRef.focus();
...@@ -344,11 +348,8 @@ export default { ...@@ -344,11 +348,8 @@ export default {
}, },
changeDesktopDeviceFn(value) { changeDesktopDeviceFn(value) {
this.$store.commit("changeDesktopDevice", value); this.$store.commit("changeDesktopDevice", value);
if (value === 2) { this.$store.commit("changeImgList", []);
this.$store.commit("changeImgList", []); console.log(347, store.state.desktopDevice);
}
console.log(347, value);
}, },
}, },
}; };
......
...@@ -141,6 +141,8 @@ export default { ...@@ -141,6 +141,8 @@ export default {
if (newValue == 2) { if (newValue == 2) {
this.imgList = []; this.imgList = [];
this.selectImgList = []; this.selectImgList = [];
this.selectIndex = -1;
this.selectImgIndex = 0;
} }
}, },
}, },
...@@ -611,7 +613,7 @@ export default { ...@@ -611,7 +613,7 @@ export default {
this.imgList = []; this.imgList = [];
this.selectIndex = -1; this.selectIndex = -1;
if (value.length > 0) { if (value.length > 0) {
console.log(value); console.log(111, value);
this.selectImgList = value; this.selectImgList = value;
this.selectImgIndex = 0; this.selectImgIndex = 0;
this.getBackFile({ files: [value[0]], size }, (file) => { this.getBackFile({ files: [value[0]], size }, (file) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment