从云中发送异步打印作业

时间:2022-08-22 10:58:50

We have our logistics software which is an in house webapp written in python. We're aiming to move this onto Amazon but there are some hurdles surrounding how we would then send our print jobs.

我们有我们的物流软件,这是一个用python编写的内部webapp。我们的目标是将其转移到亚马逊上,但是我们将如何发送我们的打印作业存在一些障碍。

Currently each station in the warehouse has a PC and a printer with a statically assigned address, the printers are all setup as network printers and are not installed onto any PC. The way print jobs are sent to the correct printer is with relationship tables that link the PC and printer IP's.

目前仓库中的每个工作站都有一台PC和一台静态分配地址的打印机,这些打印机都设置为网络打印机,不安装在任何PC上。将打印作业发送到正确的打印机的方式是使用链接PC和打印​​机IP的关系表。

The barcodes are printed off completely automatically as soon as an item is scanned and the stock is checked by the operator at the station the print job is sent, there is no manual input from the user whatsoever.

一旦扫描物品就会完全自动打印条形码,并且操作员在发送打印作业的工作站检查库存,用户无需手动输入。

We're struggling to come up with ways on how to move this software onto Amazon whilst retaining the exact same setup and functionality of the stations and printers.

我们正在努力想出如何将这个软件移植到亚马逊上,同时保留站和打印机完全相同的设置和功能。

I've only been able to find two ways to get around this without the use of a VPN:

我只能找到两种方法来解决这个问题而不使用VPN:

The first way is using Google Cloud Print however this would mean we would need to go through and have each printer actually installed to each stations PC as well as having to manage Google accounts and which printers are with what account this is not entirely out of the question but it is really not desirable.

第一种方式是使用谷歌云打印但是这意味着我们需要通过并将每台打印机实际安装到每个工作站PC以及必须管理谷歌帐户以及哪些打印机使用哪个帐户不完全不属于问题,但它真的不可取。

Secondly I've been looking at printers that are now 'Cloud' ready for example Zebra has a range of printers that can use WebSockets, is there some way we can use this?

其次,我一直在寻找现在已经准备好'云'的打印机,例如Zebra有一系列可以使用WebSockets的打印机,我们有什么方法可以使用它吗?

Any input or further suggestions other then the two ways I mentioned would be greatly appreciated.

除了我提到的两种方式之外的任何输入或进一步的建议将不胜感激。

1 个解决方案

#1


If you are considering Amazon, I think Amazon VPC (Virtual Private Cloud) is the good fit.

如果您正在考虑亚马逊,我认为亚马逊VPC(虚拟私有云)非常适合。

How it works is that you can create public and private subnets depending on whether you need public access to your servers. The server instances you bring up in either of these subnets can communicate directly with the printers in your current network by bridging the networks together with a VPN connection.

它的工作原理是,您可以根据是否需要公共访问服务器来创建公共子网和私有子网。您在这两个子网中启动的服务器实例可以通过将网络与VPN连接桥接在一起,直接与当前网络中的打印机进行通信。

http://aws.amazon.com/vpc/

Additionally, you can create a Hardware Virtual Private Network (VPN) connection between your corporate datacenter and your VPC and leverage the AWS cloud as an extension of your corporate datacenter.

此外,您可以在公司数据中心和VPC之间创建硬件虚拟专用网络(VPN)连接,并将AWS云用作公司数据中心的扩展。

This would allow the server instances in AWS directly access your printers to send jobs.

这将允许AWS中的服务器实例直接访问您的打印机以发送作业。

#1


If you are considering Amazon, I think Amazon VPC (Virtual Private Cloud) is the good fit.

如果您正在考虑亚马逊,我认为亚马逊VPC(虚拟私有云)非常适合。

How it works is that you can create public and private subnets depending on whether you need public access to your servers. The server instances you bring up in either of these subnets can communicate directly with the printers in your current network by bridging the networks together with a VPN connection.

它的工作原理是,您可以根据是否需要公共访问服务器来创建公共子网和私有子网。您在这两个子网中启动的服务器实例可以通过将网络与VPN连接桥接在一起,直接与当前网络中的打印机进行通信。

http://aws.amazon.com/vpc/

Additionally, you can create a Hardware Virtual Private Network (VPN) connection between your corporate datacenter and your VPC and leverage the AWS cloud as an extension of your corporate datacenter.

此外,您可以在公司数据中心和VPC之间创建硬件虚拟专用网络(VPN)连接,并将AWS云用作公司数据中心的扩展。

This would allow the server instances in AWS directly access your printers to send jobs.

这将允许AWS中的服务器实例直接访问您的打印机以发送作业。