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

Dymo Network Printer - hdcPrn is Null

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

  • Dymo Network Printer - hdcPrn is Null

    We have an App function that creates a Packing List and a label. The packing list goes to the default local printer, followed by a label printing on a network accessed Dymo 400 LabelWriter Printer, which is a UNC - IP addressed device. Under A5v8, this combination worked fine. We have since updated to A5V12 and now, whenever we try to print this combo, it chokes on the label with dialog "Printer error: preview - hdcPrn is Null". The Dymo is perfectly accessible via it's native Brother Software and via "Print Test". We have tried several different approaches and are coming up dead in the water here. Can anyone help?

  • #2
    Re: Dymo Network Printer - hdcPrn is Null

    https://www.alphasoftware.com/alphaf...ghlight=hdcprn
    There can be only one.

    Comment


    • #3
      Re: Dymo Network Printer - hdcPrn is Null

      Stan, Thank you for the suggestion. The provided link does not solve this issue for me (I carefully read and tried all options). The problem occurs at the printer assignment in the individual label properties. The one thing I have been able to demonstrate about this problem is the printer assignment (in label properties) apparently cannot be a UNC addressed device (non-UNC, or locally connected devices, all seem to work OK...). Do you know anything about this phenomena, or perhaps have a work-around (short of putting a Dymo printer at every desk)?

      Comment


      • #4
        Re: Dymo Network Printer - hdcPrn is Null

        Not my area of expertise, if there is one. Is there any possibility of setting the Dymo up as a network printer with an IP address?
        There can be only one.

        Comment


        • #5
          Re: Dymo Network Printer - hdcPrn is Null

          I will investigate, but believe this will still require the infamous UNC (\\XXX.XXX.X.XXX) convention... Thanks for helping...

          Comment


          • #6
            Re: Dymo Network Printer - hdcPrn is Null

            Do you have a report that prints the Packing list and a separate label object that prints after that?

            Just for giggles, Open Alpha as the admin, then try printing.

            If it works as admin, then close Alpha and try running normally.

            What windows version?
            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

            http://www.iadn.com/images/media/iadn_member.png

            Comment


            • #7
              Re: Dymo Network Printer - hdcPrn is Null

              The report prints a packing list first, then the label. This is handled through a script. However, we can preview first. If we preview the packing list and print, it prints fine (to a local printer), then a dialog presents asking if want to view the label, when we select OK, the preview chokes and issues dialog saying: Printer Error - Preview hdcPrn is null... This does not happen if we change the label properties to print to a local printer, however, if we use this step to change the printer to the label printer, we get yet another script error and then the Alpha Default printer becomes the Dymo.
              Running as "Administrator" does not remedy.
              We are running Alpha5 Ver 12 with all current patches applied and under Win 10 (Redstone II - Creators Upgrade) with all updates in place...

              Comment


              • #8
                Re: Dymo Network Printer - hdcPrn is Null

                At the bottom of each page of a thread is an area of Similar Threads.

                Stan pointed to the first one.

                This is the 3rd or 4th one. Looks like they found a solution for their similar issue.

                https://www.alphasoftware.com/alphaf...ting-any-ideas

                Seems like the message board search for Similar Threads is much better than a regular search. But that may just be me..
                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

                http://www.iadn.com/images/media/iadn_member.png

                Comment


                • #9
                  Re: Dymo Network Printer - hdcPrn is Null

                  I had already removed One Note from system and also tried reinstalling A5 print drivers. Also tried updating and reinstalling the Dymo drivers. Also, with almost every effort, I reboot the workstation (just to be safe). Still no dice. For some reason, the print selection in the label properties does not like the UNC named printers... I am working a couple of other angles to see if can find a work-around... but it ain't looking good so far.

                  Comment


                  • #10
                    Re: Dymo Network Printer - hdcPrn is Null

                    Originally posted by ALanArmstrong View Post
                    For some reason, the print selection in the label properties does not like the UNC named printers...
                    Can you post an image of what you mean by that?
                    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

                    http://www.iadn.com/images/media/iadn_member.png

                    Comment


                    • #11
                      Re: Dymo Network Printer - hdcPrn is Null

                      Al,
                      UNC is Universal Naming Convention, which is the \\ (DOS double backslash) used to find named network devices - such as; \\MA1-PC-W001\Dymo 450 Central. If I USB this printer directly into my workstation then a label will print as expected when using the Label Properties Printer selection. However, if I select the network Dymo Printer (or any other network printer for that matter) within the Label Properties, I get the hdxPrn is null error.

                      LabelProperties.PNG

                      Comment


                      • #12
                        Re: Dymo Network Printer - hdcPrn is Null

                        Alan

                        Try setting up the printer with a simple name and have the port handle the UNC or the IP address.
                        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

                        http://www.iadn.com/images/media/iadn_member.png

                        Comment


                        • #13
                          Re: Dymo Network Printer - hdcPrn is Null

                          Alan, I am not sure I am following you... Can you elaborate please?

                          Comment


                          • #14
                            Re: Dymo Network Printer - hdcPrn is Null

                            Originally posted by ALanArmstrong View Post
                            Alan, I am not sure I am following you... Can you elaborate please?
                            Sure. You should have a simple printer name like DymoLabel or AlphaLabels where the printer is configured to a port with the designated UNC .

                            That way Alpha uses a simple name (without any special characters).

                            Go to windows Devices and Printers and use the Add a printer wizard, but don't accept the defaults.

                            Another advantage is you control the printer outside of Alpha. Similar to mapping a drive.

                            Alpha has been known to hiccup with special characters in object names, so I try to avoid them.
                            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

                            http://www.iadn.com/images/media/iadn_member.png

                            Comment


                            • #15
                              Re: Dymo Network Printer - hdcPrn is Null

                              Mr. Buchholz, You have given me the answer. Problem solved! I am eternally grateful!

                              PS: Also nice to deal with an Alan who spells his name correctly!

                              Thanks again!

                              Comment

                              Working...
                              X