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



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

Printer not activated, error code -30

  • Filter
  • Time
  • Show
Clear All
new posts

  • Printer not activated, error code -30

    I'm moving my application from one server to another. Everything seems to work except printing. When I try to print, this error pops up on the server "Printer not activated, error code - 30". When I click OK the following message apprears in the browser.

    Error in event handler code for OnClick event for 'PrintPreview':
    Amyuni Low Level Print:
    Layout name: Item_Info@[PathAlias.ADB_Path]\set_i...its_unique.set
    Layout type: report
    Error communicating with printer

    The file set_item_units_unique.set is in the same location on the new server as it was on the old so I know it not a missing file.

    I had this probem when I setup my first server. I did the following steps and it fixed it.

    1. In windows control panel, go to the printer panel
    2. Right click on the "Alpha Five Printer" driver then Properties.
    3. Click the Port tab
    4. Click Add Port. Highlight "Local Port" and click New Port. Add a new port name called PDF1. Click Close
    5. Make sure the check mark for the port used by the Alpha Five Printer is set to the new PDF1 port. Click Apply.

    These same steps have been completed on the new server but I'm still getting the error. I really think an Activation Code will fix the problem but don't think I'm suppose to need one since the driver comes with the Alpha Application Server.

    Any ideas?

  • #2
    Re: Printer not activated, error code -30

    Restarting the server seems to have fixed the problem.


    • #3
      Re: Printer not activated, error code -30

      Ken, thanks for letting us know how you got past this problem. It will be of use to others later on, for sure. -- tom


      • #4
        Re: Printer not activated, error code -30

        Printer not activated, error code -30
        I went through hell and out the other side with this error once.
        My guess is that the ayumuni Printer lost it's serial number.
        WHen alpha boots, it somehow injects a temporary serial number into the ayumuni printer,
        I guess again that Alpha has a bulk deal with Ayumuni to do this,
        Anyhow occasionally the Ayumuni Printer gets messed up and the -30 error show that it is not registered / licenced.


        • #5
          Re: Printer not activated, error code -30

          I am getting the same error - Printer not activated, error code -30

          If it is indeed a serial number issue, how do I go about re-installing and activating the Amyuni printer?

          I've re-installed Alpha 5v7 WAS and restarted the server, but the error remains and I cannot print my reports. The reports had been printing just fine for the last couple of years.

          However, this error began when we had a major crash on the Dell server running the WAS. Several other databases and programs had to be re-installed during the recovery process. Everything else in the WAS is working fine except for the print to PDF.
          Last edited by sherrel; 07-28-2009, 07:41 PM.


          • #6
            Re: Printer not activated, error code -30

            Ive seen this resolved by installing the regular Alpha Five on the server, which installs the printer driver.
            Steve Wood
            There is no Cloud. It's just someone else's computer.
            Web - Mobile - Hosting - Products - Frameworks - Developer Resources
            AlphaToGo | IADN (100% Alpha Anywhere Websites)


            • #7
              Re: Printer not activated, error code -30

              Hi Steve,

              i also experience the same thing and the only way i know to resolve it just by restart the server and them everything is fine (but we quite often (once in a week) got that message and have to restart the server :< )



              • #8
                Re: Printer not activated, error code -30

                To unistall the Ayumuni Printer, I go through the Control Panel - >Printers msc Setup, The Printer Should be Found as something like version 2.51 or 3.00,
                It's the same process as uninstalling a real ink spitting printer.
                For installation- In Programs-> A5vx Application Server -> there should be an exe InstallAmyuniPrinters.exe, just run it. And note you may need to drop UAC on some OS's for it.
                _-> No warantee give for this advice, I've just done it per desperation


                • #9
                  Re: Printer not activated, error code -30

                  Guys. Thanks very much for all the suggestions. But none of those seem to work. Let me re-state the problem, because I may have jumped onto the title to this thread, when the problem may be just slightly different (maybe not).

                  When a user runs the application and when they go to print a report, the following is the actual message received in a user's browser, superimposed over the application background:
                  Errors in: event.AfterValidate code:
                  'Alpha Five Printer' (for creating PDF, RTF and HTML output) is not installed. Re-install Alpha Five

                  It is only when I go to my server's Printers folder and try and print a test page from the Alpha Five Printer that I get the following error message:
                  Printer not activated, error code -30

                  I've restarted the server several times. I've re-installed the A5v7 WAS and I've also installed the standard A5v7 on the server as well.

                  I've deleted the Alpha Five Printer from my Printers folder (which indicates that the model is an Amyuni document Converter 2.50) and then re-installed the A5v7 WAS. I've gone to the Program Files folder on my server and run the InstallAmyuniPrinters.exe file (which added Amyuni Document Converter to my Printers folders), but that didn't work either.


                  • #10
                    Re: Printer not activated, error code -30

                    Is the new OS you moved to 64 bit by any chance?


                    • #11
                      Re: Printer not activated, error code -30

                      Alpha Five Printer is not a normal print driver that you can print to or print a test page, etc. It can only be accessed by Alpha's functions that create the desired output.

                      I have never experienced the code -30 error until I just tried your example....

                      try and print a test page from the Alpha Five Printer that I get the following error message:
                      There can be only one.


                      • #12
                        Re: Printer not activated, error code -30

                        We haven't moved it to a new OS. We are running this on a Windows 2000 server.

                        I kind of thought that I couldn't print to it, but I thought that the fact that it said it wasn't activated might be a clue.


                        • #13
                          Re: Printer not activated, error code -30

                          Via the Printer you can call up the about box,
                          AND then note you can open the licencing info.
                          - Note on mine that it is all blank, this I suspect is because Alpha Injects the licence info at Print time. Thus your Ayumuni Printer can only be used by Alpha.
                          -- On the machine I had problems with the -30 Activation error, I just purchased a licence from Ayumuni for Ver 3 Ayumuni printer.
                          Note : I had to solve the issue in a real tight time frame, (Annual Reports needed printing)
                          And it has worked ever since.
                          To be honest there are probably 1001 tiny things that could cause this problem to occur, So I don't guess anyone at Alpha can help much.
                          Using a resource editor you may find the dll, that spits out the code, and turn this onto an always on status, but then the process may well work differently.


                          • #14
                            Re: Printer not activated, error code -30

                            having this issue on W10 OS
                            did anyone ever find a fix?
                            Cole Custom Programming - Terrell, Texas
                            972 524 8714

                            "A young man who is not liberal has no heart, but an old man who is not conservative has no mind." GB Shaw


                            • #15
                              Re: Printer not activated, error code -30

                              Originally posted by martinwcole View Post
                              having this issue on W10 OS
                              did anyone ever find a fix?
                              Run Alpha as admin, then print.

                              That appears to solve the issue. Running Alpha normally after that seems to work for printing then.

                              Or do like you did in another thread re-install Alpha, which will re-install the print drivers.
                              Al Buchholz
                              Bookwood Systems, LTD
                              Weekly QReportBuilder Webinars Thursday 1 pm CST

                              Occam's Razor - KISS
                              Normalize till it hurts - De-normalize till it works.
                              Advice offered and questions asked in the spirit of learning how to fish is better than someone giving you a fish.
                              When we triage a problem it is much easier to read sample systems than to read a mind.
                              "Make it as simple as possible, but not simpler."
                              Albert Einstein