{"id":15424851,"url":"https://github.com/newfuture/webprint","last_synced_at":"2025-04-19T15:10:12.543Z","repository":{"id":49243216,"uuid":"56491840","full_name":"NewFuture/WebPrint","owner":"NewFuture","description":"a simple website to share your printers to others online. 简单的在线打印[局域网免驱动配置共享打印机方案]","archived":false,"fork":false,"pushed_at":"2021-06-22T07:24:08.000Z","size":58,"stargazers_count":69,"open_issues_count":4,"forks_count":17,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-16T09:22:45.890Z","etag":null,"topics":["asp-net","printer","web","webprint"],"latest_commit_sha":null,"homepage":"http://WebPrint.newfuture.cc","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NewFuture.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"License","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-04-18T08:47:44.000Z","updated_at":"2025-04-03T01:45:54.000Z","dependencies_parsed_at":"2022-09-14T20:01:22.812Z","dependency_job_id":null,"html_url":"https://github.com/NewFuture/WebPrint","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/NewFuture%2FWebPrint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NewFuture%2FWebPrint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NewFuture%2FWebPrint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NewFuture%2FWebPrint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NewFuture","download_url":"https://codeload.github.com/NewFuture/WebPrint/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249722912,"owners_count":21315904,"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":["asp-net","printer","web","webprint"],"created_at":"2024-10-01T17:49:03.707Z","updated_at":"2025-04-19T15:10:12.525Z","avatar_url":"https://github.com/NewFuture.png","language":"C#","readme":"﻿# WebPrint\n\n[Windows 在线共享打印机](https://github.com/NewFuture/WebPrint)\n\na simple website to share your windows printers to others via web browsers.\n\n\n## 使用方法\n\n### I. 开启IIS 和 ASP支持\n\n如果*已经开启* 或者 *windows server* 可**跳过**此步骤 。\n\nWindows 系统包含IIS功能,但默认关闭，需要手动打开。\n\n可以参考\u003chttp://jingyan.baidu.com/article/48206aeaaacd51216ad6b318.html\u003e\n\n具体步骤  \n\u003e\n  1. 搜索 `Windows 功能`,或者打开控制面板\n  2. 点击 `启用或者关闭Windows功能` \n  3. 勾选`Internet Information Services`(Internet信息服务) 和\n\t* 确保勾选子目录 `万维网服务`\u003e`应用程序和开发功能`\u003e`ASP.NET 4.x`(不同系统版本可能有区别)\n\t* 确保勾选子目录 `万维网服务`\u003e`常见HTTP功能`\u003e`静态内容``默认文档`\n\t* 确保勾选子目录下 `万维网服务`\u003e`web管理工具`\n  4. 点击确定,等待开启\n\u003e\n\n### II. 下载代码\n\n 1. 下载[代码](https://github.com/NewFuture/WebPrint/archive/master.zip) \n 2. 解压**替换**掉`C:\\inetpub\\wwwroot`下内容,(确保README.md同级文件在此根目录下)\n 3. 浏览器打开 `localhost` 可以看到上传界面\n\n### III. 配置\n\n1. 修改临时文件夹权限`file`，添加`IIS_IUSRS`的写入权限\n2. 修改IIS对应应用程序池权限为管理员权限（`IIS管理器` \u003e `对应的应用程序池` \u003e `高级设置` \u003e `进程模型` \u003e `标识` \u003e `改为管理员账户`）\n3. 若为x64系统，在bin目录下替换[SumatraPDF的64位版本](https://www.sumatrapdfreader.org/download-free-pdf-viewer)\n4. 设置打印密码,修改[Web.config](https://github.com/NewFuture/WebPrint/blob/master/Web.config#L5)设置打印密码\n5. 设置系统默认打印机即配置完成\n6. 局域网其他电脑或手机在浏览器访问你的主机`IP`,`主机名`或`域名`可打印则部署成功\n\n### 调试\n\n使用 Visual Studio 打开网站即可\n\n## 兼容支持\n\n* 文件格式:\n  * [x] PDF\n  * [x] doc\n  * [x] docx\n  * [x] rtf\n  * [x] png\n  * [x] jpg\n  * [x] tiff\n  * [x] txt\n* 功能设置：\n  * [x] 份数设置\n  * [x] 页码设置(pdf)\n  * [x] 多文件上传\n\n## 截图\n\n![截图](file/screenshot.png)\n\n## LICENSE\n\nApache2.0 LICENSE 并保留或添加源码链接`https://github.com/NewFuture/WebPrint`\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewfuture%2Fwebprint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnewfuture%2Fwebprint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewfuture%2Fwebprint/lists"}