腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
0
回答
PosPrinter
GetDefaultAsync
始终
返回
null
、
、
、
PosPrinter
defaultPrinter = await
PosPrinter
.
GetDefaultAsync
();string deviceSelector =
PosPrinter
.GetDeviceSelector();我已将热敏打印机配置为默认打印机。
浏览 2
提问于2017-11-28
得票数 0
1
回答
在Kiosk UWP应用程序中运行DevicePicker类
、
、
、
、
此应用程序需要打印到通过以太网连接到网络的
PosPrinter
(爱普生TM-T20II),该应用程序在另一台通过wifi连接到同一网络的pc上运行。我使用DevicePicker类创建了应用程序,就像来自微软的示例一样
PosPrinter
c# configuration sample 在此示例中,您将打开一个弹出窗口,其中列出所有已连接的设备并过滤打印机DevicePickerClass Multiple-Kiosk-Apps 我也尝试过使用
PosPrinter
.
GetDefaultAsync
()方法直接获取打印机,
浏览 16
提问于2019-03-02
得票数 0
2
回答
OPOS PosExplorer.GetDevice()在Windows Service中执行时
返回
null
、
、
、
、
当由Windows服务执行时,调用GetDevice(...)
始终
返回
null
。explorer = new PosExplorer();printer= (
PosPrinter
)explorer.CreateInstance(device_info);printer.Claim(1000); printer.DeviceEnabl
浏览 0
提问于2010-08-14
得票数 1
回答已采纳
2
回答
MagneticStripeReader.
GetDefaultAsync
();
返回
null
、
、
、
、
GetDefaultAsync
返回
null
。private static MagneticStripeReader _reader =
null
; {} { { _r
浏览 0
提问于2015-10-04
得票数 1
1
回答
BarcodeScanner.
GetDefaultAsync
()
返回
null
、
、
添加了一个按钮,单击该按钮后,我得到了以下代码但defaultScanner
始终
为空
浏览 2
提问于2014-08-21
得票数 3
2
回答
UWP -计步器例外
、
、
同样在代码中如下: 它还
返回
了这个例外:
浏览 0
提问于2017-04-05
得票数 0
1
回答
PosExplorer().getDevices在.Net应用程序中
返回
null
、
、
、
所以看起来在
PosPrinter
配置中没有问题。但是PosExplorer().getDevices仍然
返回
空值。我在windows和ASP.Net应用程序中都尝试过,但仍然存在相同的问题。编码:
PosPrinter
m_Printer =
null
; //Use a Logical Device Name whichstring strLogicalName = &quo
浏览 7
提问于2014-09-20
得票数 0
1
回答
pos explorer在C#中找不到任何连接到系统的设备
、
当我查询打印机时,它
返回
null
。 PosExplorer explorer = new PosExplorer(); return explorer.GetDevice(DeviceType.
PosPrinter
, name);
浏览 3
提问于2012-07-10
得票数 2
1
回答
何时允许调用`BarcodeScanner.
GetDefaultAsync
()`?
、
、
我正在尝试为条形码扫描器使用新的,如果我从以下任何一个位置调用,它将
返回
null
。OnGotFocus this.Dispatcher.RunIdleAsync(e => { var res = await BarcodeScanner.
GetDefaultAsync
=
null
); }); 这让我怀疑你必须有焦点才能访问POS设备和构造函数等。都是在收到焦点之前被呼叫的。问题:是否发布了关于何时可以调用
GetDefaultAsync<
浏览 6
提问于2014-10-22
得票数 1
1
回答
WaitForDrawerClose块打印
、
、
我正在为.Net编写一个使用Pos的应用程序,我注意到如果您调用WaitForDrawerClose,那么在它
返回
之前您将无法打印收据。} { var deviceI
浏览 2
提问于2016-05-26
得票数 0
回答已采纳
1
回答
c# windows microsoft pointofservice System.TypeInitializationException
、
、
、
、
//Create PosExplorer { deviceInfo = posExplorer.GetDevice(DeviceType.
PosPrinter
, strLogicalName);m_Printer = (
PosPrinter
)posExplorer.CreateInstance(deviceInf
浏览 2
提问于2017-04-18
得票数 1
回答已采纳
1
回答
数组
始终
返回
Null
、
、
、
、
我首先将数组
返回
方法开发为单独程序中的void方法(它运行正常)。我对它所做的唯一更改是让它
返回
数组,以便android应用程序可以使用它。然而,我总是得到强制关闭。经过一些调试后,我发现我的方法每次都会
返回
'
null
‘(我设置了一个if语句,声明如果数组为
null
,就会显示一个屏幕,上面写着“失败!”--而应用程序总是会显示“失败!”)。尽管如此,我还是不确定程序为什么
返回
null
?=
null
) { StringT
浏览 2
提问于2011-07-28
得票数 0
回答已采纳
2
回答
LSCopyApplicationURLsForURL
始终
返回
null
、
当我尝试为我的临时文件(在此代码中为"toString“)记录系统上所有可用的编辑器时,它总是
返回
null
,尽管我的系统上安装了许多应用程序。
浏览 0
提问于2012-11-08
得票数 2
回答已采纳
2
回答
getLastKnownLocation
始终
返回
null
、
像往常一样,我总是在
返回
getLastKnownLocation时得到
null
。我也实现了LocationListener。下面是代码。对于你的信息,我已经检查了两个供应商(网络和全球定位系统)在下面的代码,他们总是
返回
假,但如果我检查sBestProvider的值,然后我得到“网络”。它是怎么来的? System.out.println("LocationManager : " + oLocationManager); if (oLocation ==
n
浏览 2
提问于2014-03-06
得票数 0
4
回答
SecCertificateCreateWithData
始终
返回
null
、
、
代码如下: SecPolicyRef policy =
NULL
; 根据post,如果certs变量为
NULL
浏览 5
提问于2016-10-20
得票数 4
1
回答
参数
始终
返回
null
。
、
、
我正在使用Getx包在颤振传递数据到另一个页面。但是我正在从页面中获得空数据。Get.to(xreadArticlePage(),transition: Transition.rightToLeft, arguments: 'dataExample');Text(data.toString()),class xreadArticlePage extends Stat
浏览 6
提问于2022-08-03
得票数 0
9
回答
findFragmentById
始终
返回
null
、
myFragment = (MyFragment) getFragmentManager().findFragmentById(R.id.test_fragment); 这样做会导致myFragment成为
null
浏览 1
提问于2012-05-31
得票数 59
回答已采纳
4
回答
getLastNonConfigurationInstance
始终
返回
null
、
、
、
、
HashMap myMap = (HashMap) getLastNonConfigurationInstance(); myMap
始终
为空。getLastNonConfigurationInstance()
返回
一个对象。我的地图有两个键"symbol“和"name”。
浏览 0
提问于2010-09-04
得票数 4
回答已采纳
1
回答
SelectionList
始终
返回
NULL
、
、
、
我有一个非常奇怪的问题,当我尝试检查它的选定项/值时,SelectionList总是
返回
NULL
。=
null
&& Request.QueryString.ToString() != "") //System.Diagnostics.Debug.WriteLine("id query string is not
null
浏览 0
提问于2010-07-21
得票数 0
回答已采纳
1
回答
XPathSelectElement
始终
返回
null
、
、
、
string xml = @"<vehicle> <cars> <car>tet</car> </cars> </vehicle>";var node = x.XPathSelectElement("//vehicle/cars");
浏览 1
提问于2013-10-07
得票数 0
点击加载更多
相关
资讯
PLSQL最佳实践
VBA判断函数IsArray、IsDate、IsEmpty、IsEmpty、IsError等
计算机科学研究者陶贤斌站在巨人的肩膀上总结JavaScript数据类型
《JavaScript 高级程序设计》笔记(二)-JS 基本概念(1)
JavaScript高级程序设计——第10章(上)
热门
标签
更多标签
云服务器
ICP备案
对象存储
实时音视频
即时通信 IM
活动推荐
运营活动
广告
关闭
领券