Results 1 to 5 of 5

Thread: Howto receive print output?

  1. #1

    Thread Starter
    Member
    Join Date
    Apr 2002
    Location
    Sweden
    Posts
    43

    Question Howto receive print output?

    Hi!

    Is it possible to send a file to a printer and the receive the output in the application?

    What I want to do is; us the Word API to print a document through a printer and then receive the output for further processing.

    Cheers!

  2. #2
    PowerPoster
    Join Date
    Jul 2002
    Location
    Dublin, Ireland
    Posts
    2,148
    You can recieve notification when a print job is added tot he queue (FindFirstPrinterChangeNotification etc..) and interrogate the spool file directly if this is what you mean?

  3. #3

    Thread Starter
    Member
    Join Date
    Apr 2002
    Location
    Sweden
    Posts
    43
    Maby FindFirstPrinterChangeNotificationLong is a solution? Found this page Monitoring a print queue from Visual Basic .

    Have anyone used this for catching print jobs?



    Why I want to print the file is because I need the file in the EMF format, but maby there is a better way for doing this?

  4. #4
    PowerPoster
    Join Date
    Jul 2002
    Location
    Dublin, Ireland
    Posts
    2,148
    You could create a new printer from the control panel and in the properties sheet set the location = "C:\temp\" and then click on the "Print processor" and set the data type to "EMF"

    Thus it will save the printouts from this "printer" as EMF files...

  5. #5

    Thread Starter
    Member
    Join Date
    Apr 2002
    Location
    Sweden
    Posts
    43
    Yes, this is what I have been trying to do. But I havent been able to get my application to fetch the created EMF file.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width