条码打印机和 SAAS

发布于 2024-10-20 19:28:57 字数 345 浏览 11 评论 0原文

我的公司最近为一家律师事务所开发了一个小型文件管理网络应用程序。我们有一个问题。该应用程序应该部署在他们自己的内部服务器上。但现在,他们希望我们主办它。如果我们不使用通过 PHP 的 exec() 函数启动的小型 .bat 脚本进行条形码打印,那么这不会成为问题。打印机需要一些特定的格式指令,我们需要安静地进行打印。

所以这是我的问题:有没有办法从我们的应用程序在此设备上进行打印?主要问题是我们的老板希望在他们的服务器上不安装任何东西,甚至不安装一个最小的 C# 应用程序或我可以用来监听来自主 Web 应用程序的调用的东西。我想解决方案必须在客户端。 JavaScript ? Java 小程序?

感谢您的回答,并对我的英语不好表示歉意。

My company recently developed a small file management web app for a law firm. And we have a problem. The application was supposed to be deployed on their own internal server. But now, they want us to host it. That wouldn't be a problem if we were not using a small .bat script, launched with PHP's exec() function, for barcode printing. The printer needs some specific format instructions, and we need the printing to be done silently.

So here's my question : is there a way to print on this device from our application ? The main problem is that our boss wants to have nothing installed on their server, not even a minimal C# app or something I could have used to listen to calls from the main web app. I guess the solution must be on the client side. Javascript ? A Java applet ?

Thanks for your answers, and sorry for my bad english.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

赏烟花じ飞满天 2024-10-27 19:28:57

我不确定您使用的是什么类型的打印机,但我知道 Dymo 有一个很好的 SDK,它可以让您使用 JavaScript 从网络进行打印。我将它用于我的联系人管理器(PHP/MySQL 的小东西)中的地址。选择联系人,单击按钮,弹出标签。其他一些人正在将相同的想法用于葡萄酒编目系统,将生产信息打印到瓶子的标签上。

I'm not sure what type of printer you're using but I know Dymo has a nice SDK which will let your print from the web using javascript. I use it for addresses within my contact manager (little PHP/MySQL thinger.) Select contact, click button, label pops out. Some other fella is using the same idea for a wine cataloging system where it prints production information to a label for the bottles.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文