Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. I'm at a place I never hoped to reach...

I'm at a place I never hoped to reach...

Scheduled Pinned Locked Moved The Lounge
csharpjavascriptcloudlinqcom
22 Posts 17 Posters 24 Views 1 Watching
  • 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.
  • Sander RosselS Sander Rossel

    I'll have to print a label using a Zebra printer. I'm looking at the documentation and the Zebra language (one of four, it seems) is a 1590 page document... Apparently, the string for printing my name would look as follows:

    ^XA
    ^FO50,50^ADN,36,20^FDSander Rossel
    ^FS
    ^XZ

    I don't think I'm prepared for this :wtf:

    Best, Sander sanderrossel.com Migrating Applications to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

    L Offline
    L Offline
    Lost User
    wrote on last edited by
    #6

    Here's a much better way to print Sander Rossel: ++++++++++[>+>+++>+++++++>++++++++++<<<<-]>>>+++++++++++++.>---.+++++++++++++.----------.+.+++++++++++++.<<++.>-.>---.++++..--------------.+++++++. BrainElephant

    R 1 Reply Last reply
    0
    • D Daniel Pfeffer

      jeron1 wrote:

      If there's (quality) any documentation, be happy, you're way ahead of the game.

      In many cases (OSS projects - I'm looking at you! :mad:), the only documentation is the source code. No comments, no nothing. :sigh:

      Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.

      J Offline
      J Offline
      jeron1
      wrote on last edited by
      #7

      Daniel Pfeffer wrote:

      the only documentation is the source code. No comments, no nothing.

      C'mon, it's the challenge that makes it fun, no? :-D

      "the debugger doesn't tell me anything because this code compiles just fine" - random QA comment "Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst "I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle

      D 1 Reply Last reply
      0
      • Sander RosselS Sander Rossel

        I'll have to print a label using a Zebra printer. I'm looking at the documentation and the Zebra language (one of four, it seems) is a 1590 page document... Apparently, the string for printing my name would look as follows:

        ^XA
        ^FO50,50^ADN,36,20^FDSander Rossel
        ^FS
        ^XZ

        I don't think I'm prepared for this :wtf:

        Best, Sander sanderrossel.com Migrating Applications to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

        P Offline
        P Offline
        Peter Sentveld
        wrote on last edited by
        #8

        Have done a few Zebra labels. Watch out for firmware levels. I ones created a nice label, different fonts, different barcodes, different orientation etc. On my test printer looked nice, on all others not. Had to upgrade the firmware on all other printers (same model, old firmware) to get the same result. Make sure the documentation fits the firmware.

        1 Reply Last reply
        0
        • Sander RosselS Sander Rossel

          I'll have to print a label using a Zebra printer. I'm looking at the documentation and the Zebra language (one of four, it seems) is a 1590 page document... Apparently, the string for printing my name would look as follows:

          ^XA
          ^FO50,50^ADN,36,20^FDSander Rossel
          ^FS
          ^XZ

          I don't think I'm prepared for this :wtf:

          Best, Sander sanderrossel.com Migrating Applications to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

          Richard DeemingR Offline
          Richard DeemingR Offline
          Richard Deeming
          wrote on last edited by
          #9

          Labelary have a pretty decent online viewer[^] and a web service[^] to generate an image from a ZPL string, if it helps. :)


          "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

          "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

          1 Reply Last reply
          0
          • Sander RosselS Sander Rossel

            I'll have to print a label using a Zebra printer. I'm looking at the documentation and the Zebra language (one of four, it seems) is a 1590 page document... Apparently, the string for printing my name would look as follows:

            ^XA
            ^FO50,50^ADN,36,20^FDSander Rossel
            ^FS
            ^XZ

            I don't think I'm prepared for this :wtf:

            Best, Sander sanderrossel.com Migrating Applications to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #10

            These printers usually support printing an image: compose a visual in WPF and send that. That's how you print shipping labels from postal carriers (you retrieve an image from them via an account).

            It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food

            D 1 Reply Last reply
            0
            • L Lost User

              These printers usually support printing an image: compose a visual in WPF and send that. That's how you print shipping labels from postal carriers (you retrieve an image from them via an account).

              It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food

              D Offline
              D Offline
              Dan Neely
              wrote on last edited by
              #11

              Gerry Schmitz wrote:

              These printers usually support printing an image: compose a visual in WPF and send that.

              I've done similar with other label printers in UWP, and receipt printers in WPF. OTOH I've also had to print to receipt printers that were pure text only line printers; those you I did need to insert magic characters into the string sequence to make some things work. That was one part of the project I absolutely don't miss. X|

              Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt

              1 Reply Last reply
              0
              • J jeron1

                Daniel Pfeffer wrote:

                the only documentation is the source code. No comments, no nothing.

                C'mon, it's the challenge that makes it fun, no? :-D

                "the debugger doesn't tell me anything because this code compiles just fine" - random QA comment "Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst "I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle

                D Offline
                D Offline
                Daniel Pfeffer
                wrote on last edited by
                #12

                Oh, sure. It's the programming equivalent of building a bridge with no data on the thickness of the iron bars, the quality of the cement, etc. Great fun - until it all collapses. /s

                Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.

                J 1 Reply Last reply
                0
                • Sander RosselS Sander Rossel

                  I'll have to print a label using a Zebra printer. I'm looking at the documentation and the Zebra language (one of four, it seems) is a 1590 page document... Apparently, the string for printing my name would look as follows:

                  ^XA
                  ^FO50,50^ADN,36,20^FDSander Rossel
                  ^FS
                  ^XZ

                  I don't think I'm prepared for this :wtf:

                  Best, Sander sanderrossel.com Migrating Applications to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

                  S Offline
                  S Offline
                  Stefan_Lang
                  wrote on last edited by
                  #13

                  Doesn't look so hard. I have no idea about Zebra, but by my educated guessing I'd say ^XA and ^XZ enclose the document to be printed, and ^FD and ^FS enclose a single string to be printed. The rest probably indicates stuff like the font to be used and it's properties, such as size and style. I've seen worse. *shrug*

                  GOTOs are a bit like wire coat hangers: they tend to breed in the darkness, such that where there once were few, eventually there are many, and the program's architecture collapses beneath them. (Fran Poretto)

                  1 Reply Last reply
                  0
                  • Sander RosselS Sander Rossel

                    I'll have to print a label using a Zebra printer. I'm looking at the documentation and the Zebra language (one of four, it seems) is a 1590 page document... Apparently, the string for printing my name would look as follows:

                    ^XA
                    ^FO50,50^ADN,36,20^FDSander Rossel
                    ^FS
                    ^XZ

                    I don't think I'm prepared for this :wtf:

                    Best, Sander sanderrossel.com Migrating Applications to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

                    P Offline
                    P Offline
                    PIEBALDconsult
                    wrote on last edited by
                    #14

                    :yawn: :D How about programming for DEC LA-120 printers? And storing the codes in the SYSDEVCTL library?

                    1 Reply Last reply
                    0
                    • D Daniel Pfeffer

                      Oh, sure. It's the programming equivalent of building a bridge with no data on the thickness of the iron bars, the quality of the cement, etc. Great fun - until it all collapses. /s

                      Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.

                      J Offline
                      J Offline
                      jeron1
                      wrote on last edited by
                      #15

                      :laugh: What, your first guess isn't spot on every time? Jeeze, what on earth is wrong with you?

                      "the debugger doesn't tell me anything because this code compiles just fine" - random QA comment "Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst "I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle

                      1 Reply Last reply
                      0
                      • Sander RosselS Sander Rossel

                        I'll have to print a label using a Zebra printer. I'm looking at the documentation and the Zebra language (one of four, it seems) is a 1590 page document... Apparently, the string for printing my name would look as follows:

                        ^XA
                        ^FO50,50^ADN,36,20^FDSander Rossel
                        ^FS
                        ^XZ

                        I don't think I'm prepared for this :wtf:

                        Best, Sander sanderrossel.com Migrating Applications to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

                        R Offline
                        R Offline
                        Rick York
                        wrote on last edited by
                        #16

                        Don't they have drivers? That's why the concept of a printer driver was invented - so you don't have to send a different set of bytes to each device to get it to output text for you. This is a rhetorical question. Obviously they don't or you wouldn't have this headache. However, you might find that someone has written some code to simplify this. I don't even want to start down that rabbit hole. I have enough weirdness going on.

                        "They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"

                        1 Reply Last reply
                        0
                        • L Lost User

                          Here's a much better way to print Sander Rossel: ++++++++++[>+>+++>+++++++>++++++++++<<<<-]>>>+++++++++++++.>---.+++++++++++++.----------.+.+++++++++++++.<<++.>-.>---.++++..--------------.+++++++. BrainElephant

                          R Offline
                          R Offline
                          raddevus
                          wrote on last edited by
                          #17

                          When I tried it, I got an error...

                          Uncaught SyntaxError: expected expression, got '++'

                          Edit... Oh that's not JavaScript. :D

                          1 Reply Last reply
                          0
                          • Sander RosselS Sander Rossel

                            I'll have to print a label using a Zebra printer. I'm looking at the documentation and the Zebra language (one of four, it seems) is a 1590 page document... Apparently, the string for printing my name would look as follows:

                            ^XA
                            ^FO50,50^ADN,36,20^FDSander Rossel
                            ^FS
                            ^XZ

                            I don't think I'm prepared for this :wtf:

                            Best, Sander sanderrossel.com Migrating Applications to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

                            L Offline
                            L Offline
                            Lost User
                            wrote on last edited by
                            #18

                            Never had a problem with Zebra Printer. Simply installed it on windows and used the standard printer forms to print the labels :confused:

                            It does not solve my Problem, but it answers my question Chemists have exactly one rule: there are only exceptions

                            1 Reply Last reply
                            0
                            • Sander RosselS Sander Rossel

                              I'll have to print a label using a Zebra printer. I'm looking at the documentation and the Zebra language (one of four, it seems) is a 1590 page document... Apparently, the string for printing my name would look as follows:

                              ^XA
                              ^FO50,50^ADN,36,20^FDSander Rossel
                              ^FS
                              ^XZ

                              I don't think I'm prepared for this :wtf:

                              Best, Sander sanderrossel.com Migrating Applications to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

                              CPalliniC Offline
                              CPalliniC Offline
                              CPallini
                              wrote on last edited by
                              #19

                              Sander Rossel wrote:

                              I don't think I'm prepared for this

                              Because you didn't read Don Quixote. :-D

                              In testa che avete, signor di Ceprano?

                              1 Reply Last reply
                              0
                              • Sander RosselS Sander Rossel

                                I'll have to print a label using a Zebra printer. I'm looking at the documentation and the Zebra language (one of four, it seems) is a 1590 page document... Apparently, the string for printing my name would look as follows:

                                ^XA
                                ^FO50,50^ADN,36,20^FDSander Rossel
                                ^FS
                                ^XZ

                                I don't think I'm prepared for this :wtf:

                                Best, Sander sanderrossel.com Migrating Applications to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

                                M Offline
                                M Offline
                                Marc Clifton
                                wrote on last edited by
                                #20

                                I think the last time I worked on a Zebra printer (or something that looks similar to what you posted) was around the 1980's when I was writing a custom print routine on a Commodore 64!

                                Latest Articles:
                                Proxy class for TypeScript/Intellisense DOM manipulation

                                1 Reply Last reply
                                0
                                • Sander RosselS Sander Rossel

                                  I'll have to print a label using a Zebra printer. I'm looking at the documentation and the Zebra language (one of four, it seems) is a 1590 page document... Apparently, the string for printing my name would look as follows:

                                  ^XA
                                  ^FO50,50^ADN,36,20^FDSander Rossel
                                  ^FS
                                  ^XZ

                                  I don't think I'm prepared for this :wtf:

                                  Best, Sander sanderrossel.com Migrating Applications to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

                                  O Offline
                                  O Offline
                                  obermd
                                  wrote on last edited by
                                  #21

                                  I had to print to these beasts for a while. What a pain.

                                  1 Reply Last reply
                                  0
                                  • Sander RosselS Sander Rossel

                                    I'll have to print a label using a Zebra printer. I'm looking at the documentation and the Zebra language (one of four, it seems) is a 1590 page document... Apparently, the string for printing my name would look as follows:

                                    ^XA
                                    ^FO50,50^ADN,36,20^FDSander Rossel
                                    ^FS
                                    ^XZ

                                    I don't think I'm prepared for this :wtf:

                                    Best, Sander sanderrossel.com Migrating Applications to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

                                    U Offline
                                    U Offline
                                    User 13224750
                                    wrote on last edited by
                                    #22

                                    Label printers are the bane of our existence. Every manufacturer has their own proprietary printer language. You would think that in today's world they'd all be using Postscript. There's a lot of off the shelf software that will take a label design and generate the correct instructions for the label printer. What are you trying to do that requires you to dive into the coding of the label?

                                    1 Reply Last reply
                                    0
                                    Reply
                                    • Reply as topic
                                    Log in to reply
                                    • Oldest to Newest
                                    • Newest to Oldest
                                    • Most Votes


                                    • Login

                                    • Don't have an account? Register

                                    • Login or register to search.
                                    • First post
                                      Last post
                                    0
                                    • Categories
                                    • Recent
                                    • Tags
                                    • Popular
                                    • World
                                    • Users
                                    • Groups