第十五章. 高级的定制

目录

定制用户客户端工具窗口
限制列表的界面语言/翻译
定制用户网页
定制报表标题
存取数据和定制报表
纯文本的打印日志
自动操作
定制用户目录信息的供应者

PaperCut NG在许多组织里是重要的网络机构。重要的是它拥有无痕迹的结合PaperCut到现有网络的能力。有许多种方式可以确保最终用户查看网络的部分系统而不是另外加上去的。这些包括:

此章节包括了一些使用PaperCut NG可利用的定制选项。关于用户客户端说明可以查看“用户客户端”部分。

定制用户客户端工具窗口

pc-client.exe 程序显示了一个小的窗口提示当前用户帐户的余额日志。此窗口包括了两个链接。一个 详细信息获取用户的用户页进行登录。另一个则默认PaperCut软件的网址并可以代替PaperCut软件的链接网址。一些组织包括链接到您组织的网址或内部互联网的地址或链接到一页包括您的组织网络使用政策。标识通常也可以在窗口上被定制。

改变链接在用户客户端上的窗口:

  1. 以管理员的身份进入到系统(如:内置的 admin帐户)。

  2. 浏览 选项部分。

  3. 在活动列表里点击配置编辑器 链接。

  4. 快速查找里输入client.config并点击确认

  5. 查找关键字config.client.link-url并输入一个新值指出您新的目的地。被完成URL链接应该包括:http:// component. 例如:http://www.myorganization.com/printpolicy.htm.

  6. 点击更新按钮适当的改变应用。

  7. 查找关键字 config.client.link-text并输入应该显示的文本。如:Print Policy

  8. 点击更新按钮适当的改变应用。

  9. 下次客户端工具被某一工作站启动时,将会显示新的链接。

Customized user client link

图表 15.1. 定制用户可户端链接

一些其它配置的关键是允许管理员为他们的组织定制用户客户端。下面的表格略述了所有客户端定制的关键。下列这些更新的值与上述所描述的过程是类似的。

Config nameDescription

client.config.link-text

The text to appear on the link at the top of the user client.

client.config.link-url

The destination URL of the link displayed at the top of the user client. For example, this can be point to the internal intranet page describing printing policies.

client.config.show-link

Indicates whether the link at the top of the user client should be displayed. To display set the value to Y, to hide set the value to N.

client.config.show-details-link

Indicates whether the "Details" link that points to the user web interface is displayed. To display the link set the value to Y, to hide set the value to N.

client.config.show-document-cost

Determines whether to show the document cost to the user in print popup notifications. To show the cost set the value to Y, to hide set the value to N.

表格 15.1. 用户可户端定制的关键配置

标识用于用户客户端余额窗口并且帐户也可以通过称为client-logo.png的文件定制选择对话框,用相同的目录[app-path]/client - 来执行。图象必须满足以下要求:

  • 遵循PNG(轻便的网络绘图)格式。

  • 大小为64px*64px。

  • 在不同的背景颜色上正确的显示(利用幻灯片或alpha通道)。

On the Apple Mac platform the process is a little more involved. The image needs to be placed inside the App package at: PCClient.app/Content/Resources. To access this directory, Option-click on the PCClient icon and select Show package contents....

用户客户端也可以通过程序的参数命令行来配置.这在 “用户客户端选项”章节里有描述。