zcii

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2010-03-18
03:32
2843 views
iPrint manager database
I'm currently working on a project which requires a piece of code to retrieve the configuration(i.e. gateway autoload command) of a specified iprint printer via eDirectory programmatically. All those configuration data are stored as a chunk of binaries in iPrintManagerDBSaveData attribute of the print manager entry (i.e. cn=IP-PM) in the eDirectory. Later, I found out this chunk of binaries have the same format as the psmdb.bat file, and I think it is in the format of "NetWare Print Service Manager Database Version 1.0". I searched the novell website, and also did a lot of googling, but still could not find anything useful about "NetWare Print Service Manager Database Version 1.0"
Does anyone have any idea about NetWare Print Service Manager Database Version 1.0?
Thanks!!!!
Z
Does anyone have any idea about NetWare Print Service Manager Database Version 1.0?
Thanks!!!!
Z
10 Replies
Anonymous_User

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2010-03-23
19:36
zcii,
It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.
Has your problem been resolved? If not, you might try one of the following options:
- Visit http://support.novell.com and search the knowledgebase and/or check all
the other self support options and support programs available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.novell.com)
Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.novell.com/faq.php
If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.
Good luck!
Your Novell Product Support Forums Team
http://support.novell.com/forums/
It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.
Has your problem been resolved? If not, you might try one of the following options:
- Visit http://support.novell.com and search the knowledgebase and/or check all
the other self support options and support programs available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.novell.com)
Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.novell.com/faq.php
If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.
Good luck!
Your Novell Product Support Forums Team
http://support.novell.com/forums/
djbrightman1

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2010-03-31
13:07
I would think your are better off looking at the padbtxt file (Printer Agent Text export of the psm db)
LINUX: /var/opt/novell/iprint/<PSM NAME>/padbtxt.xml (XML format)
NETWARE /NDPS/<*.PSM>/PADBTXT.CSV (Comma Sep)
This contains the gateway load string and is regularly updated, so will be current
Good luck
David
LINUX: /var/opt/novell/iprint/<PSM NAME>/padbtxt.xml (XML format)
NETWARE /NDPS/<*.PSM>/PADBTXT.CSV (Comma Sep)
This contains the gateway load string and is regularly updated, so will be current
Good luck
David
RBrownCCB

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2010-04-01
23:17
The only problem with this approach is that the XML/CSV file is only created when the iPrint Manager is restarted
I know as well as the OP, the guys behind Papercut would like to know a programmatic way of being able to get to the printer configuration so they can know when new printers have been added to the Manager without needing the Manager to be bounced or a print job having to be sent to the printer..
Richard Brown // Systems Engineering Team Leader // City College Brighton and Hove
I know as well as the OP, the guys behind Papercut would like to know a programmatic way of being able to get to the printer configuration so they can know when new printers have been added to the Manager without needing the Manager to be bounced or a print job having to be sent to the printer..
Richard Brown // Systems Engineering Team Leader // City College Brighton and Hove
djbrightman1

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2010-04-06
09:59
RBrownCCB;1956713 wrote:
The only problem with this approach is that the XML/CSV file is only created when the iPrint Manager is restarted
Not so, it also gets updated when the backups are performed, which is
"1AM that morning or since the last change made to the database"
I'm sure Neeraj, or maybe Kyle Bradford could provide a bit more detail, but my understanding, from the recent BrainShare session on iPrint, is that this file is pretty well maintained and up to date.
HTH
Regards
David
RBrownCCB

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2010-04-06
10:23
Hi David, your link is very interesting, but is talking about the .dat files that iPrint uses as its database. I have no doubt your information is correct regarding the .dat files, but I am seeing very different behaviour with the .xml files in the same folder.
padbtxt.xml for example does indeed get updated at 1am each morning or when the manager is restarted, but does not appear to get updates when a change is made to the database.
Richard Brown // Systems Engineering Team Leader // City College Brighton and Hove
padbtxt.xml for example does indeed get updated at 1am each morning or when the manager is restarted, but does not appear to get updates when a change is made to the database.
Richard Brown // Systems Engineering Team Leader // City College Brighton and Hove
djbrightman1

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2010-04-06
16:39
Hi Richard
This is where we need clarification from one of the developers (Neeraj) or support guys (Kyle) - the phrase they used in the presentation was something like 'significant change' in the db....! So, what actually kicks this off I don't really know.
If you force a backup from the psmstatus->adv...->internal screen it also updates this file.... I'm not sure of a way of automating such a process, but again Neeraj may help....
I have been in contact with him regarding another issue, so shall email him with the link to this forum post... hopefully....!
All the best
David
This is where we need clarification from one of the developers (Neeraj) or support guys (Kyle) - the phrase they used in the presentation was something like 'significant change' in the db....! So, what actually kicks this off I don't really know.
If you force a backup from the psmstatus->adv...->internal screen it also updates this file.... I'm not sure of a way of automating such a process, but again Neeraj may help....
I have been in contact with him regarding another issue, so shall email him with the link to this forum post... hopefully....!
All the best
David
RBrownCCB

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2010-04-06
16:44
Papercut uses the xml files to pull through its printers so you can configure them before printing to them. It would seem that adding a new printer agent might not count as a 'significant change', but no worries if you're right and that forcing the backup will also update the file
Next Time I have a printer to install, i'll check out the forced backup approach and if it updates the file accordingly I'll be one very happy camper - a forced backup is a million times less painful than a forced bounce of the manager
Cheers!
Richard Brown // Systems Engineering Team Leader // City College Brighton and Hove
Next Time I have a printer to install, i'll check out the forced backup approach and if it updates the file accordingly I'll be one very happy camper - a forced backup is a million times less painful than a forced bounce of the manager
Cheers!
Richard Brown // Systems Engineering Team Leader // City College Brighton and Hove
djbrightman1

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2010-04-07
14:28
I got this back from Kyle:
>>
The xml is exported at 1am or after a change to the database. By change, that means: PA create or delete. There might be other changes that will initiate the backup processes, but I'm not sure. The testing of that would be pretty straight forward (change IP address, change some setting (enable SSL, Audit, etc).
<<
...sounds like some testing in order!
HTH
Cheers
David
>>
The xml is exported at 1am or after a change to the database. By change, that means: PA create or delete. There might be other changes that will initiate the backup processes, but I'm not sure. The testing of that would be pretty straight forward (change IP address, change some setting (enable SSL, Audit, etc).
<<
...sounds like some testing in order!
HTH
Cheers
David
sburmann

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2010-04-07
15:32
Thank you. The info in /var/opt/novell/iprint/<PSM>/padbtxt.csv was exactly what I was looking for to generate a report to standarize some printers.
djbrightman;1955547 wrote:
I would think your are better off looking at the padbtxt file (Printer Agent Text export of the psm db)
LINUX: /var/opt/novell/iprint/<PSM NAME>/padbtxt.xml (XML format)
NETWARE /NDPS/<*.PSM>/PADBTXT.CSV (Comma Sep)
This contains the gateway load string and is regularly updated, so will be current
Good luck
David
RBrownCCB

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2010-04-08
16:46
Been testing, and Kyle's absolutely right, PA Creation immediately causes the xml files to be updated.. very nice.. now just to get my 3rd party apps to notice the change
Cheers!
Richard Brown // Systems Engineering Team Leader // City College Brighton and Hove
Cheers!
Richard Brown // Systems Engineering Team Leader // City College Brighton and Hove