RE: printing: Error Type mismatch Phil M Jones 18.Sep.12 04:57 AM a Web browser Domino Administrator All ReleasesAll Platforms
It would help to see more code to work out why, but the obvious answer is that curdate is not a NotesDateTime when your agent reaches line 216.
Are the servers running the same version?
Do the servers have the same access in the ACL?
Are there any restrictions on what is replicated between them?
Are there reader/author fields that might exclude the problem server?
The problem is probably that your problem server is failing to get a value for curdate, which probably means it is not reading the relevant document, perhaps for one of the reasons above.