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. How to print data from SDI or dialog based application to printer.

How to print data from SDI or dialog based application to printer.

Scheduled Pinned Locked Moved C / C++ / MFC
c++jsontutorialquestion
4 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.
  • S Offline
    S Offline
    Supra2
    wrote on last edited by
    #1

    Hi, I want to send the data (formatted by me as a ticket)from my application to printer (small printer) using VC++. Is there any API by which I could able to print this ticket? Thanks

    N 1 Reply Last reply
    0
    • S Supra2

      Hi, I want to send the data (formatted by me as a ticket)from my application to printer (small printer) using VC++. Is there any API by which I could able to print this ticket? Thanks

      N Offline
      N Offline
      Nuri Ismail
      wrote on last edited by
      #2

      Here is some printing tutorial[^] and here is a an article[^] on printing. I hope this helps! :)

      S 1 Reply Last reply
      0
      • N Nuri Ismail

        Here is some printing tutorial[^] and here is a an article[^] on printing. I hope this helps! :)

        S Offline
        S Offline
        Supra2
        wrote on last edited by
        #3

        Thanks for this reply. do you have any idea how can we manage bar-code on this print page?

        N 1 Reply Last reply
        0
        • S Supra2

          Thanks for this reply. do you have any idea how can we manage bar-code on this print page?

          N Offline
          N Offline
          Nuri Ismail
          wrote on last edited by
          #4

          Here is a library for for drawing different bar-codes [^]. You can use the Draw function for both - drawing on the screen and printing. You just have to give the proper DC to this function. :)

          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