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

    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