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. Printing to non-default printer without showing dialog

Printing to non-default printer without showing dialog

Scheduled Pinned Locked Moved C / C++ / MFC
c++algorithms
3 Posts 3 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.
  • T Offline
    T Offline
    The Lady of Shallots
    wrote on last edited by
    #1

    Hello everyone, I have an MFC MDI app that I am trying to override some of the printing and I am have lots of trouble. I want to not show the printer dialog box and also set the printer (I have access to the HDC). I'm sure this is a relatively easy thing to do, but can't figure it out. I tried searching through old posts, but wasn't able to find anything. Thanks!

    C 1 Reply Last reply
    0
    • T The Lady of Shallots

      Hello everyone, I have an MFC MDI app that I am trying to override some of the printing and I am have lots of trouble. I want to not show the printer dialog box and also set the printer (I have access to the HDC). I'm sure this is a relatively easy thing to do, but can't figure it out. I tried searching through old posts, but wasn't able to find anything. Thanks!

      C Offline
      C Offline
      CodeBrain
      wrote on last edited by
      #2

      The CodeProjects "Printing" section may have the information you need. Take a look at http://www.codeproject.com/printing/. This article describes how to set the default MFC application printer: http://www.codeproject.com/printing/printerselect.asp I hope this is what you need :)

      R 1 Reply Last reply
      0
      • C CodeBrain

        The CodeProjects "Printing" section may have the information you need. Take a look at http://www.codeproject.com/printing/. This article describes how to set the default MFC application printer: http://www.codeproject.com/printing/printerselect.asp I hope this is what you need :)

        R Offline
        R Offline
        Roger Allen
        wrote on last edited by
        #3

        Ahh, you beat me to it! Yes, it should do exactly what he needs. Roger Allen Sonork 100.10016 Were you different as a kid? Did you ever say "Ooohhh, shiny red" even once? - Paul Watson 11-February-2003

        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