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

PDF locks up application

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

  • PDF locks up application

    I know this is an old problem and I've read through other threads that covered it but I'm wondering if others are having the same problem and if anyone found a better solution than having to enter the user's system and manually change things?

    The past solution, by Michael Humby and several others, involved deleting the OneNote printer/driver (MS Office) and the AlphaFivePrinterV4. Then re-installing AlphaFivePrinterV4 and assigning the port to NUL: and ...
    In short, not a process you want to throw at potential customers.

    Ideally, would like to figure out a means of determining whether or not OneNote is on the user's system and deal with it in the background.

    Comments or suggestions?

    Thanks
    Mike W
    __________________________
    "I rebel in at least small things to express to the world that I have not completely surrendered"

  • #2
    Re: PDF locks up application

    You can use UI_PRINTERS_GET() to see if a particular print driver is installed.
    There can be only one.

    Comment


    • #3
      Re: PDF locks up application

      Mike

      I've started getting this same issue as of yesterday.

      Did you find a solution?

      Comment


      • #4
        Re: PDF locks up application

        when checking my pdf and saving a new report to pdf( I hardly ever did this) I got this error after the file was saved with 0 bytes and adobe tried to open it.

        I have followed Michael's advice and deleted just about all printers that might have any kind of interference.

        Dave Mason
        [email protected]
        Skype is dave.mason46

        Comment


        • #5
          Re: PDF locks up application

          I have experiences this before.

          There maybe several issues:

          Test the report itself. I found that when there is an error with the report usually pdf is 0 bytes.


          This may not be the case for you.

          Comment


          • #6
            Re: PDF locks up application

            It is not in my case. Pretty simple one field and a small text amount.
            Dave Mason
            [email protected]
            Skype is dave.mason46

            Comment


            • #7
              Re: PDF locks up application

              From Cal Locklin:
              Amyuni Printer
              This printer can be difficult to install in V10 / Windows 7. (None of this info is in the Help files.)
              First try shutting down A5 and running the DhtmlEdit.msi program in the A5 executables folder. Restart A5 after running this program.

              If that doesn't work....

              From DAVE in the U.K.:

              Try this........

              1, Temporarily turn Windows 'User Account Control' OFF and reboot.
              2, If the AlphaFivePrinterV4 is in the Windows 'Devices and printers' panel, delete it.
              3, Run Alpha5 and print to a pdf answering yes to the driver install prompt - The pdf print may still fail!
              4, The AlphaFivePrinterV4 printer now appears in the 'Devices and Printers' panel - Looking at the printer properties on the 'Ports' tab, create a new 'Local Port' called 'NULL' and make sure it is selected as the active port. If the port already exists just select it.
              5, Delete any jobs waiting to print then reboot.
              6, Try Alpha5 pdf printing again, it should work!
              7, Turn the 'User Account Control' back on again.

              And

              From Michael Humby:

              First go to Windows 7 'Start' and type 'Services' then run the Services, you should see a list, scroll down then focus on 'Print Spooler' then upper left 'Restart the service' now continue with the following:

              1) Make sure that you are logged in as a Windows user with administrator rights.
              2) Select Control Panel, and click Printers.
              3) Right-click the Alpha Five Printer icon and choose 'Printer Properties'
              4) Select the Ports tab, then click the Add Port... button.
              5) Select Local Port and click the New Port... button.
              6) Enter NUL: for the new port name and click OK. Close the Printer Ports window.
              7) Ensure that the NUL: port is selected in the Ports list.
              8) Select the Advanced tab.
              9) Select the Spool print documents radio button to make the options below clickable.
              10) Clear (uncheck) the box labeled Enable advanced printing features.
              11) Select the Print directly to printer radio button again.
              12) Click the Apply button, and then click OK.

              13) Check the list of current jobs and delete all. If they can't be deleted, shut down the computer and restart it.

              And from martincole:

              The new MS "One Note" is an issue, regardless of OS or Alpha version. I have been removing the OneNote printer, and resetting the port for the alpha4printer.

              Thanks Stan. That at least allows me to alert the users it pertains to, as opposed to having to make a global warning that might scare off others who wouldn't have an issue anyway. Now I have to figure out how to do the above procedures without having to get the users involved.
              Mike W
              __________________________
              "I rebel in at least small things to express to the world that I have not completely surrendered"

              Comment


              • #8
                Re: PDF locks up application

                What might help a lot here is if someone who encounters the problem could run ui_printers_get() both while they are having the problem and after the problem is solved.

                I suspect that while the OneNote printer is causing an issue the A5 printer will not show "on NUL:" as it should when properly installed.

                I don't have OneNote in my copy of MS Office so another question I haven't been able to answer is -- What happens if OneNote is uninstalled, the A5 printer is installed and verified as working, then OneNote is reinstalled? Does OneNote mess up A5 again? Does OneNote not work? Or, do both A5 and OneNote work correctly?

                Comment


                • #9
                  Re: PDF locks up application

                  I don't know how to help here much, but?
                  on my win 8 laptop as it was done from the start it converts and opens. On my winXP machine, it does not. I get a 0byte pdf that is reported as a bad file. I will post those results later when I am at the computer.

                  dim xxx as c
                  xxx = ui_printers_get()

                  ?xxx
                  = Microsoft XPS Document Writer on Ne00:
                  Fax on Ne01:
                  Broderbund PDF Converter on NUL:
                  Amyuni Document Converter on NUL:
                  AlphaFivePrinterV4p5 on NUL:
                  \\MORRISPC\EPSON NX410 Series on Ne03:
                  \\DAVE1\Okidata ML 320 Turbo/D (IBM) on Ne02:

                  Dave Mason
                  [email protected]
                  Skype is dave.mason46

                  Comment


                  • #10
                    Re: PDF locks up application

                    Originally posted by DaveM View Post
                    I don't know how to help here much, but?
                    on my win 8 laptop as it was done from the start it converts and opens. On my winXP machine, it does not. I get a 0byte pdf that is reported as a bad file. I will post those results later when I am at the computer.
                    I'm afraid I can't help much with your issue, Dave. But it's obviously not a OneNote issue. Did you try running the DhtmlEdit.msi program in the A5 executables folder? (I have no idea what the program does and it doesn't sound like it should fix a PDF problem but it's on my list of 'things to do when the PDF fails' for some reason - maybe even by mistake.)

                    Comment


                    • #11
                      Re: PDF locks up application

                      Thanks for the thought!

                      DhtmlEdit.msi won't run on this computer - it says it was designed for Vista

                      This is what I get on my desktop with xp3
                      dim sss as c
                      sss= UI_PRINTERS_GET()

                      ?sss
                      = Okidata320T on Ne00:
                      Microsoft XPS Document Writer on Ne01:
                      Microsoft Office Document Image Writer on Ne02:
                      FaxTalk Communicator on Ne03:
                      Fax on Ne04:
                      EPSON Stylus Photo RX620 Series on Ne05:
                      Amyuni Document Converter on LPT1:
                      AlphaFivePrinterV4p5 on LPT1:
                      \\morrispc\EPSON NX410 Series on Ne06:
                      Oh well, I don't print with pdf anyhow. It was a hopeful for the okidata, but I have Crystal reports that solved the problem.
                      Dave Mason
                      [email protected]
                      Skype is dave.mason46

                      Comment


                      • #12
                        Re: PDF locks up application

                        Dave,

                        Read the post above from Mike Wilson. Your Amyuni and AlphaFivePrinter are not set to NUL: (like on your win 8 system) This will usually fix your problem.
                        Bill Griffin
                        Parkell, Inc

                        Comment


                        • #13
                          Re: PDF locks up application

                          Bill, you were correct. I had redone the whole thing and never checked that.
                          After changing to nul
                          Dave Mason
                          [email protected]
                          Skype is dave.mason46

                          Comment


                          • #14
                            Re: PDF locks up application

                            Dave,

                            did you follow Michael Humby's whole procedure? Do you have MS OneNote installed?
                            Bill Griffin
                            Parkell, Inc

                            Comment


                            • #15
                              Re: PDF locks up application

                              Never had one note on anything I remember and yes I followed it including all reinstalls of alpha, printers and some more.
                              Dave Mason
                              [email protected]
                              Skype is dave.mason46

                              Comment

                              Working...
                              X