如何修复在 VFP 8 中的 Vista 64 位上使用 SET PRINTER TO 时出现的错误 1958
执行以下代码行时“加载打印机驱动程序时出错”
SET PRINTER TO HP1200
我们的 VFP 8 应用程序返回错误 1958,即在客户 Vista Business 64 位笔记本电脑上 。 HP1200 是 HP 商务喷墨型号 1200。
客户使用 HP 最新的 64 位驱动程序删除并重新安装了打印机。 我们还尝试在 FILE: 端口上添加新的通用/纯文本打印机并使用它,但我们得到了相同的错误。 所以它不是特定于 HP 打印机驱动程序的。
我们还尝试删除 SET PRINTER TO
行并仅执行 REPORT FORM
命令,以便它将转到默认打印机,但我们没有得到任何输出。
客户有一台台式机,也是 64 Vista Business,安装了相同的打印机和驱动程序,我们没有看到相同的错误。 他们在两台机器上都运行 Avast 防病毒软件。
Our VFP 8 application is returning error 1958, which is "Error loading printer driver" when executing the following line of code
SET PRINTER TO HP1200
on a customers Vista Business 64bit laptop. The HP1200 is a HP business ink jet model 1200.
The customer removed and reinstalled the printer using the latest 64bit driver from HP. We've also tried added a new Generic / Text Only printer on the FILE: port and using it instead, and we get the same error. So it's not specific to the HP printer driver.
We've also tried removing the SET PRINTER TO
line and just executing the a REPORT FORM
command so it will go to the default printer, but we get no output.
The customer has a desktop machine, 64 Vista Business as well, with the same printer and driver installed, and we do not see the same error. They do run Avast antivirus on both machines.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我们至少有一位客户正在使用 Vista 和 FoxPro 应用程序,但我们使用的是 FoxPro 9,并且没有遇到打印问题。
从我读到的所有内容来看,如果您打算同时使用 Vista 和 FoxPro,那么 FoxPro 9 是最佳选择。
VFP Vista 兼容性< /a>
我们将应用程序从 Foxpro 8 切换到 Foxpro 9,特别是为了 Vista 兼容性...虽然我没有直接参与,但我认为这种转换并不难做到。
We have at least one client who is using Vista with a FoxPro application, but we are using FoxPro 9, and have had no printing problems.
From everything I have read, if you are going to use Vista and FoxPro together, FoxPro 9 is the way to go.
VFP Vista Compatibility
We switched our app from Foxpro 8 to Foxpro 9, specifically for Vista compatibility... and although I was not directly involved, I don't think the change-over was hard to do.