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

Label Printing - Start Position

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

    Label Printing - Start Position

    What I am trying to do is what is available in some programs when printing labels:-

    I have a report that I use to print an invoice shipping label, and a button on the form that is set to print a label for the current record only.

    I can print a full sheet of labels for that record with no problems at all. But when I only want one label and I need to start printing from position 2 or 3 or 4 etc, (on a sheet of labels which holds 2 across x 3 down,) because I have already removed/used either the first label, or the first 3 labels, and to save money on waisted labels, I am re-using the same sheet with say 4 or 3 labels still available on that sheet.

    Some programs I have seen in the past, ask which label the printer should start printing from and has a box/field to enter say 3, thus missing out printing on position 1 and 2. Printing over any empty 2 positions smudges the ink as it would be printing on the backing sheet, which is smooth and waxy, and bleeds onto the rollers etc, which is not good for the printer.

    I would like to do this from within Alpha 8.

    Any suggestions anyone! Many thanks in advance.

    Regards,

    Ant.

    #2
    Re: Label Printing - Start Position

    Suggest searching the message board for "Labels Start Position".

    This leads to:

    http://msgboard.alphasoftware.com/al...start+position

    which looks helpful.

    There are other possibilities, too. Scroll this page to bottom to see the suggested list generated automatically from a search using key words in your message topic.

    Comment


      #3
      Re: Label Printing - Start Position

      Dave,

      The report might be a better solution and I have done this 2 ways since earlier posts. This one would work fine for you with just a few labels per page and only printing one.

      Make your report to line up with first label. and get it so it will print. Use a conditional object based on a variable you will make from a dialog box in your form using a button/ondepart from a field/? or use an ask variable in report. The conditional object will have a default that should be blank if anything but 1, choosing 1 would make the label print. If your condition/variable is one, it would print that one only. do this again on the same report for label 2 and so forth.

      Now when you print the report, you specify which label by number and only the coiniding conditional object will print.

      Dave
      Dave Mason
      [email protected]
      Skype is dave.mason46

      Comment


        #4
        Re: Label Printing - Start Position

        Dave, that's interesting! A working model would be a valuable contribution to the Code Archive. Might even be worth sending to the Newsletter editors.

        -- tom

        Comment


          #5
          Re: Label Printing - Start Position

          The other one was harder and easier. Make however many reports necessary for the number of labels(putting the label to print in the proper place) and whatever number you put in from the form printed the form associated. I did not understand conditional objects then.

          Dave
          Dave Mason
          [email protected]
          Skype is dave.mason46

          Comment


            #6
            Re: Label Printing - Start Position

            I might do that Tom.

            Dave
            Dave Mason
            [email protected]
            Skype is dave.mason46

            Comment


              #7
              Re: Label Printing - Start Position

              I'll send it here now so maybe it will help

              Dave
              Dave Mason
              [email protected]
              Skype is dave.mason46

              Comment


                #8
                Re: Label Printing - Start Position

                Many thanks to Tom and Dave.

                I will give them all a go.

                Shame this sort of function is not already written in the Report part of Alpha 8.

                Regards,

                Ant.

                Comment


                  #9
                  Re: Label Printing - Start Position

                  Ant.,

                  It is not a function, but a tool off the tools menu in design mode.

                  Dave
                  Dave Mason
                  [email protected]
                  Skype is dave.mason46

                  Comment


                    #10
                    Re: Label Printing - Start Position

                    I know that this is a software message board but, how about a hardware solution. You can purchae a single label printer - Dymo and Brother are a couple of brands - for about $100.00. Alpha 5 will print easily to them. A dedicated single label printer will make life easier and you can find all kinds of creative uses for it. (No, I don't sell them.)

                    Comment


                      #11
                      Re: Label Printing - Start Position

                      But, if you sell copies of your program, do you require all your customers to purchase a label printer or supply it with the program??

                      LOL

                      Dave
                      Dave Mason
                      [email protected]
                      Skype is dave.mason46

                      Comment


                        #12
                        Re: Label Printing - Start Position

                        Never thought of that. I might go down that route. However, the software solution is cheaper.

                        Thanks all the same for your suggestion.

                        Ant.

                        Comment


                          #13
                          Re: Label Printing - Start Position

                          I worked for a finance and insurance(auto dealers type) that required the dealers to have a dot matrix printer for their paperwork(needed when you print multi-copy forms). we supplied okidata 320's for a price. Each work station had to have a printer. Now figure it out, 6 work stations with a 450.00 printer each.

                          That is kind of the problem with specialty printers. If you have 3 people doing the job, you need 3 printers and they need to be the same(or at least print the same).

                          Epson and HP print differently and hp's print differently from printer to printer.

                          Dave
                          Dave Mason
                          [email protected]
                          Skype is dave.mason46

                          Comment


                            #14
                            Re: Label Printing - Start Position

                            Hi,

                            I have tried Dave's Label.zip example, which uses:- IF(ISBLANK("Fname"),VAR->ST_POS-1,1) This works fine, but I need to print one shipping label for one invoice, at 1 of 5 starting positions on a 2 across 3 down label.

                            I think the above is working on the priciple of adding a blank record x the number I put in the variable St_Pos, but then prints all invoices.

                            Is there a way of doing the same but then only prints the current invoice?

                            Thanks in advance.

                            Ant.

                            Comment


                              #15
                              Re: Label Printing - Start Position

                              You did not need to add a variable for what I wrote, The which variable is declared in the onpush event of the form as global. Check how it is printed from the form using onpush event(it only allows the record showing by name-you might would use recno() or a specific field on the form. If you chose the forth position "4" or another higher number, it would print nothing because there is no fourth position in the report.

                              In the report, you can have how ever many labels you want (up to 999 because the var accepts 3 letters), just keep adding and placing the labels where you want them on the report. Test them to be sure they print exactly where and how you want them. I did three across as an example. You only need one varaiable to specify which label prints. I was not trying to write your program, just show a method that works.

                              Hope this helps more.

                              Dave
                              Dave Mason
                              [email protected]
                              Skype is dave.mason46

                              Comment

                              Working...
                              X