Highlighted
Absent Member.
Absent Member.
898 views

duplication of printer agents

Netware 6.5 Sp6

We have about 130 secure printer agents running on one print manager.

We need to duplicate these printer agents onto another server with a
print manager, giving them a slightly different name AND making them
insecure.

I am aware that bulk creating of printer agents is not easy due to the
different elements involved ie the many attributes, some with octet
strings and the NDPS database separate to eDir.

I had the idea of exporting all of our current printers into an LDIF
file and using perl to rename the relevant fields i.e. context,name of
printer, and associated printer manager. Then reimport the altered LDIF
file.

Is this method possible and where are the pitfalls?
Any other suggestions?

Regards

Charles Short
0 Likes
2 Replies
Highlighted
Absent Member.
Absent Member.

Re: duplication of printer agents

The printer definitions are not in the NDS, but rather in the Manager's
dabatase. As such, LDIF and stuff like that is useless.

However fortunately for you, the Manager exports the printer definitions
to a file PADBTXT.CSV and Novell has a tool called pagen.exe that can use
such a CSV file to create new printers. So you could take the old
PADBTXT.CSV file, make the modifications to it to suit your needs and then
use pagen.exe to import the definitions into your new tree.

For more details, see:

http://support.novell.com/docs/Readmes/InfoDocument/2969540.html

--
Marcel Cox
http://support.novell.com/forums
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: duplication of printer agents

Thanks Marcel...it looks like just the thing I was seaching for...

Charles

Marcel Cox wrote:
> The printer definitions are not in the NDS, but rather in the Manager's
> dabatase. As such, LDIF and stuff like that is useless.
>
> However fortunately for you, the Manager exports the printer definitions
> to a file PADBTXT.CSV and Novell has a tool called pagen.exe that can
> use such a CSV file to create new printers. So you could take the old
> PADBTXT.CSV file, make the modifications to it to suit your needs and
> then use pagen.exe to import the definitions into your new tree.
>
> For more details, see:
>
> http://support.novell.com/docs/Readmes/InfoDocument/2969540.html
>

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.