Alpha Software Mobile Development Tools:   Alpha Anywhere    |   Alpha TransForm subscribe to our YouTube Channel  Follow Us on LinkedIn  Follow Us on Twitter  Follow Us on Facebook

Announcement

Collapse

The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic


Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.


If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.


Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.



Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

barcode printing

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • barcode printing

    Has anyone done barcode printing from Alpha? Do I simply need a specific font?

  • #2
    Originally posted by rhale@haleabc.com
    Has anyone done barcode printing from Alpha? Do I simply need a specific font?
    Check the newsletter archive and the code archive.
    There can be only one.

    Comment


    • #3
      Also look at the very bottom of this window. It has "similar threads" that might help out

      Ed

      Comment


      • #4
        Hi Richard,

        I've been gearing up to do this also.

        There is a 3 part lesson in the newletter archives that you should find very useful. In the first lesson there is a link to get UPC-A fonts for free. This no longer works. I've since been trying to source a free UPC-A font and haven't had any luck. UPC-A is usually packaged with a bunch of other fonts and some printing, editing software that I don't need, and the price is usually around $100.00.

        If you have any luck or if anyone out there has a free or cheap source for UPC fonts please let me know.

        BA

        Comment


        • #5
          thanx for barcode info

          Thanks for the info. I will check the archives & I am have found a free Code 39 font & will continue to look for others. Thanks again for your help.

          Comment


          • #6
            Originally posted by rhale@haleabc.com
            Thanks for the info. I will check the archives & I am have found a free Code 39 font & will continue to look for others. Thanks again for your help.
            Try this link .

            The company listed in the shareware copyright seems to be defunct.
            There can be only one.

            Comment


            • #7
              Hi, Just a reminder,

              you usually have to put an asterisc * at the begining and end of a value thats being converetd to code39.

              eg
              The value
              12345
              should be converted to
              *12345*
              Chris Tanti
              Technical Support

              Nuance & Fathom Ltd - The data-driven marketing agency

              Comment


              • #8
                The example in the newsletter seems to have lost something thru the years. I've downloaded the UPC-A sample database. When I open the sample form in design mode and right click the upc_calc object to get to it's properties, I see in the expression builder that the following

                UPC_TO_FONT(Upc_Code)

                is an invalid expression. Anyone have any clues ???

                Bob Arbuthnot

                Comment


                • #9
                  Originally posted by Bob Arbuthnot
                  The example in the newsletter seems to have lost something thru the years. I've downloaded the UPC-A sample database. When I open the sample form in design mode and right click the upc_calc object to get to it's properties, I see in the expression builder that the following

                  UPC_TO_FONT(Upc_Code)

                  is an invalid expression. Anyone have any clues ???

                  Bob Arbuthnot
                  I still have it.

                  Code:
                  function UPC_TO_FONT as C(orig_upc as C)
                  dim symbol(12) as c
                  dim position(12) as c
                  for a = 1 to 12
                  	position(a) = substr(orig_upc, a, 1)
                  	if a = 1
                  		for b = 48 to 57
                  			if position(a) =  chr(b)
                  				symbol(a) = chr(b+32)
                  			end if 
                  		next b
                  	end if
                  	if a >= 2 .and. a <= 6
                  		 symbol(a) = position(a)
                  	end if
                  	if a >= 7 .and. a <= 11
                  		for c = 48 to 57
                  			if position(a) =  chr(c)
                  				symbol(a) = chr(c+16)
                  			end if 
                  		next c
                  	end if
                  	if a = 12
                  		for d = 48 to 57
                  			if position(a) =  chr(d)
                  				symbol(a) = chr(d+48)
                  			end if 
                  		next d
                  	end if
                  next a
                  for e = 1 to 12 
                  	upc_to_font = upc_to_font + symbol(e)
                  	if e = 6
                  		 upc_to_font = upc_to_font + chr(112)
                  	end if
                  next e
                  end function
                  There can be only one.

                  Comment


                  • #10
                    I have had good luck with this method - it is for code39. Super easy. Just install the attached font to any directory. Go to windows control panel -> fonts -> File -> Install New Font

                    Point to the appropriate directory where you put the font and install it .

                    Inside your report - just choose the code39 font for your field. Set a decent size font at first so you can see it well (Something like size 26). Be sure to size the actual field big enough in Alpha so it can display the bar code by increasing the height and width.

                    Run the report and you should be all set

                    Regards,

                    Jeff

                    Comment


                    • #11
                      Has anyone gotten the UPC codes to show correctly

                      Has anyone gotten the UPC codes to show correctly

                      I get errors when I run the function.

                      see attached jpg

                      Comment


                      • #12
                        Originally posted by ccrimmel
                        Has anyone gotten the UPC codes to show correctly

                        I get errors when I run the function.

                        see attached jpg
                        old code from v5. Change the array notation to use [] instead of ().

                        Code:
                        function UPC_TO_FONT as C(orig_upc as C)
                        dim symbol[12] as c
                        dim position[12] as c
                        for a = 1 to 12
                        	position[a] = substr(orig_upc, a, 1)
                        	if a = 1
                        		for b = 48 to 57
                        			if position[a] =  chr(b)
                        				symbol[a] = chr(b+32)
                        			end if 
                        		next b
                        	end if
                        	if a >= 2 .and. a <= 6
                        		 symbol[a] = position[a]
                        	end if
                        	if a >= 7 .and. a <= 11
                        		for c = 48 to 57
                        			
                        			if position[a] =  chr(c)
                        				symbol[a] = chr(c+16)
                        			end if 
                        		next c
                        	end if
                        	if a = 12
                        		for d = 48 to 57
                        			if position[a] =  chr(d)
                        				symbol[a] = chr(d+48)
                        			end if 
                        		next d
                        	end if
                        next a
                        for e = 1 to 12 
                        	upc_to_font = upc_to_font + symbol[e]
                        	if e = 6
                        		 upc_to_font = upc_to_font + chr(112)
                        	end if
                        next e
                        end function
                        Last edited by Stan Mathews; 04-28-2006, 10:36 AM.
                        There can be only one.

                        Comment


                        • #13
                          Thank you, Stan! That cleaned it up...

                          BA

                          Comment


                          • #14
                            UPC_to_Font()

                            Has anyone used the UPC_to_font() function with success recently? I can print great looking UPC-A barcodes with it, but my scanners can't read what I've printed. I tried it with 2 different scanners that both read commercially generated UPC-A codes with no problem. I can print and read Code 39 with no problem.

                            Bob Arbuthnot

                            Comment


                            • #15
                              Re: UPC_to_Font()

                              Originally posted by Bob Arbuthnot View Post
                              Has anyone used the UPC_to_font() function with success recently? I can print great looking UPC-A barcodes with it, but my scanners can't read what I've printed. I tried it with 2 different scanners that both read commercially generated UPC-A codes with no problem. I can print and read Code 39 with no problem.

                              Bob Arbuthnot
                              It works for me. How are you determining the upc to be encoded and printed? I'll have to look tomorrow at work but I think I remember having to compute the check digit and append it to the string to be encoded.

                              The second parameter of CHKDIGIT() set to 2 will do that math.

                              Let me know if this isn't the issue.
                              There can be only one.

                              Comment

                              Working...
                              X