如何启用“始终在服务器上呈现打印作业”在gpedit.msc上使用c#.net进行编码 [英] how to enable the "Always render print jobs on the server " on gpedit.msc through coding using c#.net

查看:163
本文介绍了如何启用“始终在服务器上呈现打印作业”在gpedit.msc上使用c#.net进行编码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这个manaual程序

去运行命令类型gpedit.msc然后按回车

点击计算机配置

管理模板

打印机

始终在服务器上渲染打印作业

选择政策设置

并点击启用

我想用c#.net编辑整个过程。



我已经提到了一些链接,但我没有找到解决方案。大多数观察到IgroupPOlicyObject接口,gpoadmin.dll和gpmgmt.dll我们可以做或不做这些dll安装面临一些错误,如它不是系统支持的DLL和它的非托管代码。

解决方案

这是一个重复的问题。请合并1个问题中的相关差异和标签,然后删除另一个。



重复:使用c#.net [ ^ ]



在旁注中,只打开一个问题可以帮助您获取信息并在不同的解决方案之间进行排序。

this manaual process
go to run command type gpedit.msc and press enter
click Computer configuration
Administravtive templates
Printers
Always render print jobs on the server
Select policy settings
and click on Enable
I want this entire process to edit using c#.net.

I already referred some links, but i didn't found solution. mostly observed that IgroupPOlicyObject Interface, gpoadmin.dll and gpmgmt.dll we can do or not and these dll installing facing some errors like it's not a system supported dll and it's unmanaged code.

解决方案

This is a duplicated question. Please merge the relevant differences and tags in 1 question and delete the other.

Duplicate: To enable the "Always render print jobs on the server " on gpedit.msc using c#.net[^]

On a side note, having one question only opened helps you get informations and sort between the different solutions.


这篇关于如何启用“始终在服务器上呈现打印作业”在gpedit.msc上使用c#.net进行编码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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