VB6 +打印机错误482 [英] VB6 +Printer Error 482

查看:588
本文介绍了VB6 +打印机错误482的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好

我是一个使用Printer对象(VB6)的遗留Web应用程序。

I've a legacy web application that uses the Printer object (VB6).

它在Windows 2003上工作正常,但我现在已将应用程序移动到Windows 2008,从那时起它就会出现此错误"打印机错误482"。我的机器上安装了打印机,打印时打印机正常。

It works fine on Windows 2003, but I have moved the application now to Windows 2008 and since then it is giving this error 'Printer Error 482'. There are printers installed on my machine and those print fine when used to print.

当我尝试从我的应用程序打印时,会出现此错误。它出现在我尝试设置打印机对象属性的代码中,例如Printer.Orientation。

This error occurs when I try printing from my application. It occurs in the code where I try setting properties of the printer object such as Printer.Orientation.

有人可以告诉我是否需要在打印机安全设置上配置或我需要在代码中进行一些更改?

Can someone let me know if there is something I need to configure on the Printer security settings or some changes that I need to make in my code?

推荐答案

对不起但是这个论坛不适用于VB6问题。这是关于将VB6代码升级到VB.Net以及VB.Net和非托管组件之间的互操作问题。

I'm sorry but this forum is not meant for VB6 questions. It's for questions about upgrading VB6 code to VB.Net, and for interop issues between VB.Net and unmanaged components.

在这里你还可以找到一个VB6论坛的链接:
http://msdn.microsoft.com/en-us/vstudio/ms788229


这篇关于VB6 +打印机错误482的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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