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. have to modify a prn file which is generated by printer

have to modify a prn file which is generated by printer

Scheduled Pinned Locked Moved C / C++ / MFC
c++help
5 Posts 4 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.
  • U Offline
    U Offline
    User 10884070
    wrote on last edited by
    #1

    I have a prn file which prints bar-code. How can change the barcode value through File IO streams in VC++ 6.0 Kindly help me.

    S CPalliniC S 4 Replies Last reply
    0
    • U User 10884070

      I have a prn file which prints bar-code. How can change the barcode value through File IO streams in VC++ 6.0 Kindly help me.

      S Offline
      S Offline
      Satya Chamakuri
      wrote on last edited by
      #2

      Can you tell what effort you put do this till now?

      1 Reply Last reply
      0
      • U User 10884070

        I have a prn file which prints bar-code. How can change the barcode value through File IO streams in VC++ 6.0 Kindly help me.

        S Offline
        S Offline
        Satya Chamakuri
        wrote on last edited by
        #3

        See this link , it may help you.. http://www.codeguru.com/cpp/w-p/dll/tips/article.php/c12583/TBarCodeDLLBoard-the-Barcode-Bandwagon.htm[^]

        1 Reply Last reply
        0
        • U User 10884070

          I have a prn file which prints bar-code. How can change the barcode value through File IO streams in VC++ 6.0 Kindly help me.

          CPalliniC Offline
          CPalliniC Offline
          CPallini
          wrote on last edited by
          #4

          In order to replace content you have to recognize it. That is you have to write a (possibly simple) parser for the PRN file you are dealing with. If the specifications of such PRN format are available then check them out, otherwise you have to (if possible) reverse engineer it.

          THESE PEOPLE REALLY BOTHER ME!! How can they know what you should do without knowing what you want done?!?! -- C++ FQA Lite

          In testa che avete, signor di Ceprano?

          1 Reply Last reply
          0
          • U User 10884070

            I have a prn file which prints bar-code. How can change the barcode value through File IO streams in VC++ 6.0 Kindly help me.

            S Offline
            S Offline
            Stefan_Lang
            wrote on last edited by
            #5

            1. google for barcode reader source code 2. google for barcode printing source code 3. feed the former with your .prn file and get the code it represents 4. feed that to the latter to generate a new .prn file.

            GOTOs are a bit like wire coat hangers: they tend to breed in the darkness, such that where there once were few, eventually there are many, and the program's architecture collapses beneath them. (Fran Poretto)

            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