newfuture / webprint Goto Github PK
View Code? Open in Web Editor NEWa simple website to share your printers to others online. 简单的在线打印[局域网免驱动配置共享打印机方案]
Home Page: http://WebPrint.newfuture.cc
License: Apache License 2.0
a simple website to share your printers to others online. 简单的在线打印[局域网免驱动配置共享打印机方案]
Home Page: http://WebPrint.newfuture.cc
License: Apache License 2.0
写字板打开.doc文档是乱码,1页的文档可以打出44页乱码😂
或许应该默认屏蔽.doc文件上传,如果用户需要doc文件支持,可以自行下载libreoffice或ms office,然后自行加入命令。
我这儿有一份改好的,但是因为改了页脚版权部份,所以还没有提起pr
https://github.com/Northword/WebPrint
https://github.com/northword/WebPrint/blob/dev/Default.aspx.cs#L220
另外,在我的机器上,SumatraPDF 在指定appdata后无法成功打印,只是启动了一个进程,打印机没有任务,所以如果有类似问题的可以考虑删除appdata参数。
doc等文档显示成功到打印队列,但是实际上没有打印,上传PDF则会直接显示打印失败。
另外在file文件夹会出现一个log,里面显示0x80004005错误,以及string 错误什么的。
求解
windows 10设置了默认打印机(可以直接在系统中打印成功),安装了IIS,ASP,通过web页面添加了文件,file目录中已经可以看到上传的文件,但实际并未打印。
不知到是哪里出问题了,是否有日志可以查看呢?
您好;遇到一些问题;PDF无法打印
在file里面有一个log,内容如下:
Starting SumatraPDF, GetCommandLineW():
"C:\inetpub\wwwroot\bin\SumatraPDF.exe" -print-to-default -silent -print-settings "1x," -appdata "C:\inetpub\wwwroot\file" "C:\inetpub\wwwroot\file\05-09_07-24-33_728477473.pdf"
prefs::Load() took 0.32 ms
ParseTranslationsTxt: 19181 lines, nStrings: 357
我的系统是win11,都是按你的要求去做的,但是就是不能打印
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.