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. The Lounge
  3. Really wierd Microsoft Word Issue - need some help

Really wierd Microsoft Word Issue - need some help

Scheduled Pinned Locked Moved The Lounge
helpsalesquestion
16 Posts 5 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.
  • R RandyBeck

    I went into Microsoft Word (Office XP Edition) to print out some barcodes for a client. Oh, these are simple Code 3 of 9 barcodes. I enter in the text I want, then change the font to the barcode font. I make sure that only the actual text is selected before doing this. This way there is no space or linefeed. Then I test it with my mighty barcode scanner. (Hey! Its the only weapon I have here) Well, it doesn't work. I recently wrote some software to help this client track their product throughout their plant. So I open the software and print a ticket from it. The scanner picks up the barcode immediately. So I'm comparing the barcode from my software and from Word. Word added a few extra lines at the end of the barcode. So this is why its not picking up. I need to allow the customer to print "cheat sheets" that they want for their barcode scanners. I tried putting spaces behind the barcode to make sure Word wasn't somehow picking up the carriage return. But the last line is the same. So somehow Word is adding an extra character when I change the font. I tried this same process in Word 97 and the printed barcodes scan fine. With no extra lines. Does anyone know of a Code 3 of 9 font that works with Office XP?

    J Offline
    J Offline
    Jorgen Sigvardsson
    wrote on last edited by
    #3

    RandyBeck wrote: Does anyone know of a Code 3 of 9 font that works with Office XP? Have you tried wordpad? IIRC, we had a similar problem with Word 2000, and wordpad worked just fine. But don't take my word for it, it's been a while since I messed around with barcodes. But you can always try it out - wordpad comes with the OS. :) -- My name in Katakana is ヨルゲン. My name in German is Jörgen. I blog too now[^]

    R 1 Reply Last reply
    0
    • J jhaga

      RandyBeck wrote: Word added a few extra lines at the end of the barcode. Those extra lines are cr-lf. Change font right after the "*" and it should work fine. jhaga --------------------------------- Every generation laughs at the old fashions, but follows religiously the new. Henry David Thoreau, "Walden", 1854

      J Offline
      J Offline
      Jorgen Sigvardsson
      wrote on last edited by
      #4

      You gotta wonder though why Word does that. -- My name in Katakana is ヨルゲン. My name in German is Jörgen. I blog too now[^]

      1 Reply Last reply
      0
      • J jhaga

        RandyBeck wrote: Word added a few extra lines at the end of the barcode. Those extra lines are cr-lf. Change font right after the "*" and it should work fine. jhaga --------------------------------- Every generation laughs at the old fashions, but follows religiously the new. Henry David Thoreau, "Walden", 1854

        R Offline
        R Offline
        RandyBeck
        wrote on last edited by
        #5

        That doesn't work either. I've tried it with spaces, just in case, and nothing. I'll keep trying though.

        J 1 Reply Last reply
        0
        • J Jorgen Sigvardsson

          RandyBeck wrote: Does anyone know of a Code 3 of 9 font that works with Office XP? Have you tried wordpad? IIRC, we had a similar problem with Word 2000, and wordpad worked just fine. But don't take my word for it, it's been a while since I messed around with barcodes. But you can always try it out - wordpad comes with the OS. :) -- My name in Katakana is ヨルゲン. My name in German is Jörgen. I blog too now[^]

          R Offline
          R Offline
          RandyBeck
          wrote on last edited by
          #6

          It works!! I completely forgot about wordpad. Last time I used it was Windows 3.1 -ish. I just changed the font, printed, and it's perfect. Do you remember when you could use a 386 PC with DOS and 8 Meg of Ram to type up documents? You have to wonder why Word takes a nice chunk of your CPU's processing? Do we really need all the features? I don't. And as far as your reply above, why does Word do that? Thank You Jörgen, now I can go celebrate my anniversary with the wife.

          J 1 Reply Last reply
          0
          • R RandyBeck

            That doesn't work either. I've tried it with spaces, just in case, and nothing. I'll keep trying though.

            J Offline
            J Offline
            jhaga
            wrote on last edited by
            #7

            I used http://www.squaregear.net/fonts/free3of9.shtml[^] And in Word 2002 use a * before and after the barcode jhaga --------------------------------- Every generation laughs at the old fashions, but follows religiously the new. Henry David Thoreau, "Walden", 1854

            J L 2 Replies Last reply
            0
            • R RandyBeck

              It works!! I completely forgot about wordpad. Last time I used it was Windows 3.1 -ish. I just changed the font, printed, and it's perfect. Do you remember when you could use a 386 PC with DOS and 8 Meg of Ram to type up documents? You have to wonder why Word takes a nice chunk of your CPU's processing? Do we really need all the features? I don't. And as far as your reply above, why does Word do that? Thank You Jörgen, now I can go celebrate my anniversary with the wife.

              J Offline
              J Offline
              Jorgen Sigvardsson
              wrote on last edited by
              #8

              RandyBeck wrote: Do we really need all the features? I don't. Me neither. That's why I'm sticking with Word 2000. It works for the small tasks I need a word processor for. If I really wanted to document stuff, I'd be using LaTeX anyway. RandyBeck wrote: Thank You Jörgen, now I can go celebrate my anniversary with the wife. Thanks! I'm honored that I could be of service. Don't forget the flowers for your wife on the way home! :) -- My name in Katakana is ヨルゲン. My name in German is Jörgen. I blog too now[^]

              W 1 Reply Last reply
              0
              • J jhaga

                I used http://www.squaregear.net/fonts/free3of9.shtml[^] And in Word 2002 use a * before and after the barcode jhaga --------------------------------- Every generation laughs at the old fashions, but follows religiously the new. Henry David Thoreau, "Walden", 1854

                J Offline
                J Offline
                Jorgen Sigvardsson
                wrote on last edited by
                #9

                I think he's aware of the mandatory asterisks. It's just that Word puts crap bars after the last asterisk bar group. Enough crap to make any sane scanner ignore the barcode. Word sucks for this kind of stuff, plain and simple. Heck, Crystal Reports is better for generating barcode labels than Word is. :) -- My name in Katakana is ヨルゲン. My name in German is Jörgen. I blog too now[^]

                J 1 Reply Last reply
                0
                • J Jorgen Sigvardsson

                  I think he's aware of the mandatory asterisks. It's just that Word puts crap bars after the last asterisk bar group. Enough crap to make any sane scanner ignore the barcode. Word sucks for this kind of stuff, plain and simple. Heck, Crystal Reports is better for generating barcode labels than Word is. :) -- My name in Katakana is ヨルゲン. My name in German is Jörgen. I blog too now[^]

                  J Offline
                  J Offline
                  jhaga
                  wrote on last edited by
                  #10

                  Jörgen Sigvardsson wrote: Word sucks for this kind of stuff I am not so sure about that but creating a report using the word COM interface is a pain. jhaga --------------------------------- Every generation laughs at the old fashions, but follows religiously the new. Henry David Thoreau, "Walden", 1854

                  1 Reply Last reply
                  0
                  • J Jorgen Sigvardsson

                    RandyBeck wrote: Do we really need all the features? I don't. Me neither. That's why I'm sticking with Word 2000. It works for the small tasks I need a word processor for. If I really wanted to document stuff, I'd be using LaTeX anyway. RandyBeck wrote: Thank You Jörgen, now I can go celebrate my anniversary with the wife. Thanks! I'm honored that I could be of service. Don't forget the flowers for your wife on the way home! :) -- My name in Katakana is ヨルゲン. My name in German is Jörgen. I blog too now[^]

                    W Offline
                    W Offline
                    wrykyn
                    wrote on last edited by
                    #11

                    LaTeX ROCKS ! :) "One of the Georges," said Psmith, "I forget which, once said that a certain number of hours' sleep a day--I cannot recall for the moment how many--made a man something, which for the time being has slipped my memory."

                    J 1 Reply Last reply
                    0
                    • W wrykyn

                      LaTeX ROCKS ! :) "One of the Georges," said Psmith, "I forget which, once said that a certain number of hours' sleep a day--I cannot recall for the moment how many--made a man something, which for the time being has slipped my memory."

                      J Offline
                      J Offline
                      Jorgen Sigvardsson
                      wrote on last edited by
                      #12

                      Yes it does. You can't generate finer docs with anything else. (I should say with anything other than TeX-derivatives) -- My name in Katakana is ヨルゲン. My name in German is Jörgen. I blog too now[^]

                      1 Reply Last reply
                      0
                      • J jhaga

                        I used http://www.squaregear.net/fonts/free3of9.shtml[^] And in Word 2002 use a * before and after the barcode jhaga --------------------------------- Every generation laughs at the old fashions, but follows religiously the new. Henry David Thoreau, "Walden", 1854

                        L Offline
                        L Offline
                        Luis Alonso Ramos
                        wrote on last edited by
                        #13

                        jhaga wrote: _I used http://www.squaregear.net/fonts/free3of9.shtml\[^\]_ You know? You've made my life much easier!! I'm into a project where I'll need bar codes... Next week I was supposed to start thinking how I was going to do it, and now, everything is as simple as printing some text!! (well I hope it's *that* simple!) :-D -- LuisR


                        Luis Alonso Ramos Intelectix - Chihuahua, Mexico Not much here: My CP Blog!

                        J 1 Reply Last reply
                        0
                        • L Luis Alonso Ramos

                          jhaga wrote: _I used http://www.squaregear.net/fonts/free3of9.shtml\[^\]_ You know? You've made my life much easier!! I'm into a project where I'll need bar codes... Next week I was supposed to start thinking how I was going to do it, and now, everything is as simple as printing some text!! (well I hope it's *that* simple!) :-D -- LuisR


                          Luis Alonso Ramos Intelectix - Chihuahua, Mexico Not much here: My CP Blog!

                          J Offline
                          J Offline
                          jhaga
                          wrote on last edited by
                          #14

                          Luis Alonso Ramos wrote: everything is as simple as printing some text!! Free 3 of 9 we choose because we want the option to be able to scan not only numbers but some short text also. The disadvantage is that the barcode will be alittle wider and you must use a smaller font to get it to fit on to a label. You don't have to add a extra check digit to the barcode but my experience is that it is safer to do it. jhaga --------------------------------- Every generation laughs at the old fashions, but follows religiously the new. Henry David Thoreau, "Walden", 1854

                          L 1 Reply Last reply
                          0
                          • J jhaga

                            Luis Alonso Ramos wrote: everything is as simple as printing some text!! Free 3 of 9 we choose because we want the option to be able to scan not only numbers but some short text also. The disadvantage is that the barcode will be alittle wider and you must use a smaller font to get it to fit on to a label. You don't have to add a extra check digit to the barcode but my experience is that it is safer to do it. jhaga --------------------------------- Every generation laughs at the old fashions, but follows religiously the new. Henry David Thoreau, "Walden", 1854

                            L Offline
                            L Offline
                            Luis Alonso Ramos
                            wrote on last edited by
                            #15

                            jhaga wrote: You don't have to add a extra check digit to the barcode but my experience is that it is safer to do it Extra check digit?? could you explain?? Sorry, I'm totally new to bar codes. Thanks! -- LuisR


                            Luis Alonso Ramos Intelectix - Chihuahua, Mexico Not much here: My CP Blog!

                            J 1 Reply Last reply
                            0
                            • L Luis Alonso Ramos

                              jhaga wrote: You don't have to add a extra check digit to the barcode but my experience is that it is safer to do it Extra check digit?? could you explain?? Sorry, I'm totally new to bar codes. Thanks! -- LuisR


                              Luis Alonso Ramos Intelectix - Chihuahua, Mexico Not much here: My CP Blog!

                              J Offline
                              J Offline
                              jhaga
                              wrote on last edited by
                              #16

                              You add one extra number, a kind of checksum to be sure that the barcode is read right. I use the same as banks use to calculate their reference number. It is normally not needed but saves your day when you are debugging. Some barcode scanners adds an "Enter" after the code and some not and that gives problems in big companys where you cannot go arround and configure each and every scanner. jhaga --------------------------------- Every generation laughs at the old fashions, but follows religiously the new. Henry David Thoreau, "Walden", 1854

                              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