当appl从不同的PC运行时,为什么在Access报告中打印机属性会发生变化? [英] Why printer properties change in Access reports when appl is run from different pc?

查看:68
本文介绍了当appl从不同的PC运行时,为什么在Access报告中打印机属性会发生变化?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以解决这个问题吗?


环境:

应用程序内置在MS Access 2007中。当用户运行编译的Access时,数据存储在SQL Server上项目。用户PC使用Access Runtime运行Windows XP和Windows 7(客户端PC上没有安装访问权限)。有些报告使用特定的纸张尺寸,并通过打印机服务器从指定的打印机打印。


问题:

在开发者的PC报告上看到非默认打印机正确和应用程序工作正常。当应用程序被编译并复制到用户PC上时,相同的报告不使用指定的打印机,如果他们确实看到它们,则纸张尺寸不正确,就像随机选择一样。在我看来,报表设计本身不存储打印机的名称(也不是纸张大小的名称),而是存储在开发人员PC上的代码。这意味着即使从访问应用程序安装了相同的打印机,所有PC都被视为完全不同的代码。


有没有解决这个令人讨厌的问题?


谢谢。

Can anybody solve this problem?

ENVIRONMENT:
Application is built in MS Access 2007. Data are stored on SQL Server while users run compiled Access projects. User PCs run Windows XP and Windows 7 utilizing Access Runtime (no access installed on client PCs). Some reports use specific paper sizes and are printed from designated printers through printer server.

PROBLEM:
On developer''s PC reports see non default printers properly and application works fine. When the application is compiled and copied onto users PCs the same reports do not use designated printers and if they do see them then the paper sizes are incorrect, as if chosen randomly. It looks to me that the report design itself stores not the names of the printers (nor the names of the paper sizes) but instead their codes as recorded on developer''s PC. It means that all PCs, even if have the same printers installed from the access application are seen as completely different codes.

Is there any cure to this obnoxious problem?

Thank you.

推荐答案

我认为这是关于各种PC上可用的打印机。如果目标PC上的同一台打印机不可用,因为报告是为此设计的,那么它会尝试近似并且有困难。
I think this is about the printers available on the various PCs. If the same printer isn''t available on a destination PC as the report was designed for then it tries to approximate and has difficulties.


所有PC上都设置了相同的打印机,包括相同的名称,并指向相同的打印机服务器。
The same printers are set up on all PCs, including the same names and pointing to the same printer server.


也许我应该添加,当在Windows XP机器上编译应用程序和报告使用联网打印机时,所有似乎都工作正常。 />

但是:在Windows XP机器上编译应用程序时,打印是以直接方式完成的。到打印机的IP地址再次搞砸了!


非常奇怪。
Maybe I should add that when the application is compiled on the Windows XP machine and report uses networked printer all seem to work fine.

HOWEVER: When application is compiled on Windows XP machine and printing is done as "direct" to IP address of the printer it is again all messed up!

Very weird.


这篇关于当appl从不同的PC运行时,为什么在Access报告中打印机属性会发生变化?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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