• Login
Community
  • Login

print zpl

Scheduled Pinned Locked Moved General Discussion
9 Posts 5 Posters 2.6k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I
    ivan bergamaschi
    last edited by Mar 15, 2023, 9:53 AM

    Hello,
    i am entusiast user of notepad++.
    I have a question
    if i print a zpl label with notepad windows all is ok.
    But if i print zpl with notepad++
    some graphich patrs are warped.
    thank you in advance

    D L 2 Replies Last reply Mar 15, 2023, 10:15 AM Reply Quote 0
    • D
      datatraveller1 @ivan bergamaschi
      last edited by datatraveller1 Mar 15, 2023, 10:16 AM Mar 15, 2023, 10:15 AM

      Hi @ivan-bergamaschi, does the graphic look correctly in the Notepad++ Editor (before printing)?

      I 1 Reply Last reply Mar 15, 2023, 11:38 AM Reply Quote 0
      • I
        ivan bergamaschi @datatraveller1
        last edited by Mar 15, 2023, 11:38 AM

        @datatraveller1
        Hello in notepad++ look as in notepad windows
        may be notepad++ add some code in printer code ?
        I would like to point out that printing is sent to a text-only printer

        D 1 Reply Last reply Mar 15, 2023, 2:05 PM Reply Quote 0
        • D
          datatraveller1 @ivan bergamaschi
          last edited by Mar 15, 2023, 2:05 PM

          @ivan-bergamaschi Unfortunately, I can’t help further. Anyone else?

          1 Reply Last reply Reply Quote 0
          • L
            Lycan Thrope @ivan bergamaschi
            last edited by Lycan Thrope Mar 16, 2023, 7:10 AM Mar 16, 2023, 7:07 AM

            @ivan-bergamaschi ,
            You’ve basically answered your own question, if i read your problem correctly.
            A label, .zpl in this case, is a formatting for printing barcodes, etc and from the small example of what I saw, the code has to be interpreted by a .zpl label program. It is, according to the definition from a simple search, described as such:

            ZPL is a print language used by many label printers. A print language is a set of commands that can be used to draw elements like text, shapes, barcodes and images, combine these elements, and finally print them.

            This won’t be translated and printed to the printer, if I understand correctly what you’re requesting.

            @datatraveller1 , here is a link to a definition, which is why you probably couldn’t figure out an answer to it:
            An Introduction to ZPL

            Of course, I could be off base, but my understanding is that NPP is a Text Editor, not a label printing facility.l

            I 1 Reply Last reply Mar 16, 2023, 7:27 AM Reply Quote 2
            • I
              ivan bergamaschi @Lycan Thrope
              last edited by Mar 16, 2023, 7:27 AM

              @Lycan-Thrope
              hello
              may be tha my english is not so smart
              sorry.
              if send some commands in zpl via generic text only on a zebra printer,
              if i use notepad the label with some parts graphic like logo is ok
              if i do the same with notepad++ the logo appear wrapped.
              if you want i can send you a sample.
              thank you

              A D L 3 Replies Last reply Mar 16, 2023, 11:47 AM Reply Quote 0
              • A
                Alan Kilborn @ivan bergamaschi
                last edited by Mar 16, 2023, 11:47 AM

                @ivan-bergamaschi said in print zpl:

                if you want i can send you a sample.

                You can certainly take some screenshots and paste them into a posting here, to illustrate the problem better.

                1 Reply Last reply Reply Quote 1
                • D
                  David Brigden52 @ivan bergamaschi
                  last edited by David Brigden52 Mar 17, 2023, 1:05 AM Mar 17, 2023, 1:02 AM

                  @ivan-bergamaschi I sometimes send zpl directly to the printer as you are doing.

                  One thing to double-check,. Are you sending the RAW ZPL to the printer? I wonder if you are not. If I recall, N++ by default includes header and footer information. I don’t recall if it prints line numbers or not.

                  Edit to clarify:. I don’t send the ZPL from N++, I use N++ (or code) to edit ZPL files and send the files to the printer.

                  1 Reply Last reply Reply Quote 1
                  • L
                    Lycan Thrope @ivan bergamaschi
                    last edited by Mar 17, 2023, 6:27 AM

                    @ivan-bergamaschi ,
                    Let’s do this, this way. I went to the website I linked to showing what zpl code looks like, and I selected it and copied it to NPP from the website:
                    zpl_labelcodecopytoNPPfromwebpage.PNG

                    I then pasted it into Notepad++ like this here:
                    zpl_labelcodeinNPP.PNG

                    As you can see, all the line endings here, did not translate being copied into Notepad++. regardless, I then printed the page to a .pdf file here:
                    zpl_labelcodeprintedfromNPP2PDF.PNG

                    As you can see, NPP printed the “code” per NPP, not the commands and associated representations you expect to be printed. Also note, that printing into PDF from NPP, it added a return symbol at the end of the line that I did not enter, so apparently what you see is not what you get, depending on the printer used.

                    I suspect since it was a .pdf, there are defaults for that, and may have printed differently on a text only printer, and it would probably if it is able to send to your printer, add things that are not ‘standard’ for your printer to accept. After all, this is a text editor, not a lable printer, so it is going to do things according to how NPP interprets things. Your job will be to find out why and if possible, change what is necessary to make it come out the way you want on the printer you want it to come out on.

                    Unless someone here has similar experience using what you use, it would be incumbent on you to figure it out and maybe come back here with an answer that will help someone else in the future. Isn’t technology and freedom fun? :-)

                    1 Reply Last reply Reply Quote 1
                    5 out of 9
                    • First post
                      5/9
                      Last post
                    The Community of users of the Notepad++ text editor.
                    Powered by NodeBB | Contributors