Advertisement

06.07.2008 at 01:00PM PDT, ID: 23466450
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.0

How To Convert Printed Spooled Documents In Print Queue To Text or XML

Asked by jbrethorst in .NET, Windows Programming, Microsoft Visual Basic.Net

Tags: , ,

I'm trying to get a Spooled Document sitting in the print queue as paused to convert to a text or XML file.

I have a program written in VB.NET which monitors a particular print queue. When items are printed to this print queue it imediatly pauses the print queue and asks the person if they wish to archive the document to a text file.   If they push NO then it unpauses the print queue and prints the document as normal.     If they push yes I want to be able to read the body text of the document which was printed and save it it to a text file.  I don't care about formating or graphics but I want to make sure I can save any text which was in this document.  Once the document is saved then it unpauses the print queue and continues printing.  

Most of the time this is a cash register invoice I am saving so there is things like price and items listed on the receipt which I want to archive to a text file.

I can not seem to figure out how to "read" the body of a document which is in the print que while it's paused.  

One person came up with the idea of printing to a different driver which could save as a text and print to a different printer.    I do not want to create another printer to print to because the end user must print to their normal printer in the app, unforantly it's hard coded where they are always printing to the same printer and there is no way to change it to print to a different printer because of this I needed to take the approach of monitoring the exsisting queue so the user does not have to change their default printer they print to.    

Basically if you pause your printer, then print a word document you will have that job sitting in your print que.   I want to be able to read the text of the word document that was printed and sititing in the queue. That would be an easy way to recreate what I'm trying to acomplish.  Does this make sense?

I spent several days trying to figure this out and I'm lost, does anyone out there know what I can acomplish my goal?

Ideally it would need to be in VB.NET, if I really have to I can do C# but my app is
written in VB.NET so that would be ideal.

Thank You
Start Free Trial
 
Loading Advertisement...
 
[+][-]06.11.2008 at 10:24PM PDT, ID: 21766352

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: .NET, Windows Programming, Microsoft Visual Basic.Net
Tags: VB.NET, IE, ?
Sign Up Now!
Solution Provided By: DanRollins
Participating Experts: 1
Solution Grade: A
 
 
[+][-]07.12.2008 at 05:15AM PDT, ID: 21988800

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]07.17.2008 at 05:45PM PDT, ID: 22031669

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628