Question Windows Service Issue

sayona76

New member
Joined
Nov 20, 2008
Messages
1
Programming Experience
5-10
Hello All,

I am stuck with a minor issue related to a Windows Service made in VB.Net (framework 2.0). The service is working as expected for few printing documents and not for others.

The actual expectation for Windows Service is to periodically check for new Work Orders raised and print the respective WorkOrder (MS-Word) document on a predefined network printer. This is done perfectly fine, barring few word documents and I am not sure for what reason.

I have maintained the event log, but it does not throw any error. the method document.printout is used where document is an object for Word (2000) document class. the same method prints few documents and not others. The strange point here is that it spools all pages when printed using a loop for the number of pages in document, but it still does not print from the queue. And when I print the whole document it does not go beyond a certain page. Since this is happening for only selected few documents, i m not able to trace the issue.



Let me know in case if you would like to have more information to help me.


Regards,
Saurabh Shah
 
Back
Top