远程生成统计数据 - POS打印机 [英] Remotely Generate Stats - POS Printers

查看:127
本文介绍了远程生成统计数据 - POS打印机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我已经编写了我的应用程序(VB.NET),它在我需要的TPG和EPSON打印机上都能很好地工作。 现在我需要让它远程运行..


现在我想象我的代码的这一部分是需要改变的:


尝试

            Dim oposDevice As DeviceInfo

            Dim oposDeviceCollection As DeviceCollection

            Dim oposExplorer As New Microsoft.PointOfService.PosExplorer

            Dim oposPrinter As Microsoft.PointOfService.PosPrinter



            oposDeviceCollection = oposExplorer.GetDevices(DeviceType.PosPrinter,DeviceCompatibilities.Opos)


 


我还没有决定我想要哪台远程机器从Sean liming看SOmgr看起来是可能的。这是可能的。 我是否只需要模仿远程计算机? 假设我想从名为\\remote的机器
中提取信息,这可能吗? 任何人都可以使用我上面的代码指出我正确的方向吗? 感谢您提供的任何帮助!

解决方案

我仍然在寻找这方面的帮助 - 任何人? 感谢


Hello, I've written my application (VB.NET) already and it works beautifully on both TPG and EPSON printers like I needed.  Now I need to get it to run remotely..

Now I imagine this section of my code is what will need to be altered:

Try
            Dim oposDevice As DeviceInfo
            Dim oposDeviceCollection As DeviceCollection
            Dim oposExplorer As New Microsoft.PointOfService.PosExplorer
            Dim oposPrinter As Microsoft.PointOfService.PosPrinter

            oposDeviceCollection = oposExplorer.GetDevices(DeviceType.PosPrinter, DeviceCompatibilities.Opos)

 

I haven't decided which remote machines I'd like to get information from, but it appears from looking at SOmgr by Sean liming, this IS possible.  Do I just need to impersonate the remote machine?  Say I wanted to pull information from a machine named \\remote , is this possible?  Can anyone point me in the right direction using the code I have above?  Thanks for any help offered!

解决方案

I'm still looking for help on this - anyone?  Thanks


这篇关于远程生成统计数据 - POS打印机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆