{"id":19545130,"url":"https://github.com/scscms/cnprint-vueeditor","last_synced_at":"2025-04-26T19:31:53.868Z","repository":{"id":93554680,"uuid":"127232454","full_name":"scscms/CNPrint-VueEditor","owner":"scscms","description":"菜鸟云打印Vue编辑器：云打印是由菜鸟出品的客户端，通过WebSocket协议与云打印客户端进行通信。","archived":false,"fork":false,"pushed_at":"2023-05-20T14:05:49.000Z","size":1385,"stargazers_count":97,"open_issues_count":0,"forks_count":39,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-04T17:12:11.413Z","etag":null,"topics":["cainiao","cnprint","vue-editor","websocket"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scscms.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-29T03:35:05.000Z","updated_at":"2024-11-21T13:55:04.000Z","dependencies_parsed_at":"2023-05-29T03:30:41.986Z","dependency_job_id":null,"html_url":"https://github.com/scscms/CNPrint-VueEditor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scscms%2FCNPrint-VueEditor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scscms%2FCNPrint-VueEditor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scscms%2FCNPrint-VueEditor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scscms%2FCNPrint-VueEditor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scscms","download_url":"https://codeload.github.com/scscms/CNPrint-VueEditor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251041452,"owners_count":21527198,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cainiao","cnprint","vue-editor","websocket"],"created_at":"2024-11-11T03:35:03.850Z","updated_at":"2025-04-26T19:31:53.862Z","avatar_url":"https://github.com/scscms.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CNPrint-VueEditor\u003csup\u003e菜鸟云打印Vue编辑器\u003c/sup\u003e\n\n### 简介\n    云打印是由菜鸟出品的客户端，是以独立进程和打印机交互（非作为浏览器插件进行打印）。\n    浏览器或其他客户端需要通过WebSocket协议与云打印客户端进行通信，支持javascript，java，c/c++，python等常用的语言。\n    若ISV的ERP系统是B/S结构，需要使用以下版本的浏览器来更好的支持WebSocket:\n    支持chrome 45及以上、Firefox（建议使用chrome的最新版本）\n    \n- 淘宝本身提供有云打印[在线编辑器](https://cloudprint.cainiao.com/?spm=a219a.7629140.0.0.uzRAm6)，但是需要登录，不能定制，更无法集到我们的系统。\n\n#### 相关资源\n\n- [淘宝开放平台--云打印简介](https://open.taobao.com/docs/doc.htm?spm=a219a.7629140.0.0.JagtH0\u0026treeId=409\u0026articleId=106976\u0026docType=1)\n\n- [云打印Windows PC客户端下载](http://cloudprint.cainiao.com/cloudprint/client/CNPrintSetup.exe?spm=a219a.7629140.0.0.uzRAm6\u0026file=CNPrintSetup.exe) 下载后请安装，否则网页无法预览或打印。\n\n- [云打印交互协议](https://open.taobao.com/docs/doc.htm?spm=a219a.7629140.0.0.r2M9Vg\u0026treeId=409\u0026articleId=107014\u0026docType=1) 网页调用打印的API说明。\n\n### 在线预览\n![image](readme.png)\n\n\u003ca href=\"http://103.236.255.179:3001/editor/index.html\" target=\"_blank\"\u003e点击查看在线DEMO\u003c/a\u003e\n\n### 后记\n本编辑器是因OMS项目需求而制，其中还有购物清单打印（着重处理表格问题）、菜鸟电子面单打印（双重模板合并）、快递模板打印都是在此基础上建立。如果有机会其实可以使用SVG来构建此编辑器，对画斜线更直观。\n\n### 记录\n- 2018-04-10 使用babel-preset-env替换babel-preset-es2015;\n- 2018-10-08 基于Vue CLI 3重构\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscscms%2Fcnprint-vueeditor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscscms%2Fcnprint-vueeditor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscscms%2Fcnprint-vueeditor/lists"}