首页 \ 问答 \ TSP100和reportviewer 10.0 A7(TSP100 and reportviewer 10.0 A7)

TSP100和reportviewer 10.0 A7(TSP100 and reportviewer 10.0 A7)

尝试在A7纸张尺寸的TSP100热敏打印机上打印使用MS Report Viewer 10.0生成的报告时出现问题。 请问,任何人都可以提供相关的代码吗?


I have an issue trying to print a report generated with MS Report Viewer 10.0 on a TSP100 thermal printer in A7 paper size. Please, can anybody provide a code about it?


原文:https://stackoverflow.com/questions/28200340
更新时间:2021-10-11 15:10

最满意答案

问题可能在于依赖关系。 检查正在运行的项目上的“package.json”文件以及此项目上安装的库/依赖项的版本。

如果某些库有更新,那么“package.json”文件中的代码如下:

"dependencies": {
  ...
  "library": "^3.9.0",
  ...
}

然后在您的新项目中将安装这些库的最新版本。 有同样的问题。

只需转到新项目的“package.json”文件,然后将代码更改为:

"dependencies": {
  ...
  "library": "3.9.0",
  ...
}

这样,将安装库的确切版本。 由于更新了库的API,这为我解决了。


The problem is probably about the dependencies. Check your "package.json" file on the project that is working and also the versions of the libraries/dependencies that are installed on this project.

If there is an update on some libraries and your code on the "package.json" file is like:

"dependencies": {
  ...
  "library": "^3.9.0",
  ...
}

then in your new project the latest version of those libraries will be installed. Had the same problem.

Just go to your "package.json" file of the new project and change the code to:

"dependencies": {
  ...
  "library": "3.9.0",
  ...
}

so that, the exact version of the library will be installed. This solved for me due to the updated API of a library.

相关问答

更多
  • 您提到的错误正在出现,因为您正在尝试执行不存在的文件。 检查您的D:\ test文件夹中是否有一个名为server.js的文件,其中包含您上面引用的代码。 我建议您在进入node server.js之前通过键入dir命令检查server.js是否在控制台的当前文件夹中。 The error you are mentioning is appearing because, you are trying to execute a file that is not there. Check if your D:\ ...
  • 当您定义这样的模块时: var routes = require('./server/routes'); 如果./server/routes目录中存在index.js文件,则表示您调用./server/routes/index.js文件。 你不能这样打电话: ./server/routes/index.js/users.js. 您应该更新您的用户路由器变量,如下所示: var routes = require('./server/routes'); var users = requier('./serv ...
  • 显然,git没有登台/提交所有文件,以便它们被推送。 我得看看如何解决这个问题。 啊。 Apparently, git wasn't staging/committing all the files in order for them to be pushed. I'll have to look around on how to fix this. Ugh.
  • 如果你的网络连接不好,那么这可能是问题所在。 我面临类似的问题。 “离子服务”需要互联网连接才能正确执行。 不过,如果情况并非如此,请尝试运行以下命令以开发模式为您的应用程序提供服务: npm run ionic:serve 我还建议您使用以下命令将您的离子CLI更新为更稳定的版本: # May need "sudo" npm install -g ionic@2.2.3 If you have a bad network connection, then this is probably the pr ...
  • 问题可能在于依赖关系。 检查正在运行的项目上的“package.json”文件以及此项目上安装的库/依赖项的版本。 如果某些库有更新,那么“package.json”文件中的代码如下: "dependencies": { ... "library": "^3.9.0", ... } 然后在您的新项目中将安装这些库的最新版本。 有同样的问题。 只需转到新项目的“package.json”文件,然后将代码更改为: "dependencies": { ... "library": "3.9. ...
  • 它看起来像是npm上的一个bug。 我建议更新Node.js和npm。 在控制台上运行以下命令: $ nvm install 6 # This installs Node.js version 6.11.3, current latest version of Node.js 6.x $ npm install --global npm # Install latest version of npm 我发现这个问题发生在Free Code Camp的其他学习者身上 It looks like a bug ...
  • 你必须先安装节点模块。 cd C:\Program Files\nodejs\ npm install node file.js you have to install node modules first. cd C:\Program Files\nodejs\ npm install node file.js
  • 只需为missing module进行安装 npm install swagger-js-codegen --save Just do an installation for the missing module npm install swagger-js-codegen --save
  • 我刚刚通过/ usr / local / lib /文件夹删除了所有node和node_module文件夹来解决了我的问题。 之后我再次下载了节点,这对我来说很有用,我可以安装和更新npm软件包。 I just solved my problem by going to /usr/local/lib/ folder deleting all the node and node_module folders. After that I downloaded node again and this worked ...
  • 您的卷安装将覆盖图像内容 你的图像是这样构建的: ENV DOCKER_CONTAINER_APP=/web-app WORKDIR $DOCKER_CONTAINER_APP RUN npm install 但是在运行时,docker-compose会这样做: volumes: - .:/web-app - ./node_modules:/web-app/node_modules 因为您正在/web-app上安装外部路径,所以它会覆盖该路径中图像中内置的所有内容。 这在开发过程中非常有用,但需要进 ...

相关文章

更多

最新问答

更多
  • 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
  • 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
  • OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
  • 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
  • codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
  • 在计算机拍照在哪里进入
  • 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
  • No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
  • 单页应用程序:页面重新加载(Single Page Application: page reload)
  • 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
  • System.StackOverflow错误(System.StackOverflow error)
  • KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
  • 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
  • android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
  • TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
  • 企业安全培训的各项内容
  • 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
  • C#类名中允许哪些字符?(What characters are allowed in C# class name?)
  • NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
  • 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
  • 将多个行和可变行移动到列(moving multiple and variable rows to columns)
  • 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
  • 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
  • Angular $资源不会改变方法(Angular $resource doesn't change method)
  • 在Angular 5中不是一个函数(is not a function in Angular 5)
  • 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
  • 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
  • 常见的python rpc和cli接口(Common python rpc and cli interface)
  • Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
  • 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)