Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Reading the file that create from "Print to file" option

Reading the file that create from "Print to file" option

Scheduled Pinned Locked Moved C / C++ / MFC
career
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Max
    wrote on last edited by
    #1

    Hello friend, I think a lot of people in this board have ever been used "Print to file" option in Printer Dialog. That it can save our printing job to file and then print it out later. I want to create a program that can read that file. And the program also can revise the printer setting and page set up before the real printing. Please advise me some concept or article of this task. Thank you

    A 1 Reply Last reply
    0
    • M Max

      Hello friend, I think a lot of people in this board have ever been used "Print to file" option in Printer Dialog. That it can save our printing job to file and then print it out later. I want to create a program that can read that file. And the program also can revise the printer setting and page set up before the real printing. Please advise me some concept or article of this task. Thank you

      A Offline
      A Offline
      Andrew Brock
      wrote on last edited by
      #2

      I assume you are talking about the .xps file. There is a COM API provided by Microsoft for working with this file format. See the documentation on MSDN[^] Grab the latest version of the Windows SDK[^], which you will need to comiple your project, but also has some great little samples under the folder C:\Program Files\Microsoft SDKs\Windows\v7.0\Samples\xps (alternativley you can download just the samples from http://code.msdn.microsoft.com/xps[^]). The documentation for these samples can be found on MSDN[^].

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups