Write zplToSend ; writer. Everything else you are sending down looks good. First of all it wouldn’t make sense for Z64 to work if B64 doesn’t. ToBase64String b ; PrintThis string. Hi, has this method worked? He posts a LabView solution that can be opened up in LabView to send images down. Im using a TCP stream but by default the printers have it turned off.

Uploader: Gakus
Date Added: 20 October 2010
File Size: 65.23 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 95441
Price: Free* [*Free Regsitration Required]

Sign up or log in Sign up using Google. This is a route zegra looked into, but I don’t think I’ll be able to install zebra s4m zpl 200dpi drivers to every PC they are all on a citrix farm and cannot attach a printer locally to each machine that may need it.

Or knows where I am going wrong? You can further compress the image to reduce transmission time. First, you have to convert the image to a 1bpp bi-level image, then convert it to a hex-encoded string. In that case I’m not sure, as that’s the only way I’ve done it in the past. All credit for me coming to this answer was from LabView Forum user Raydur. Join Stack Overflow to learn, share knowledge, and build your career. I personally didn’t run it with my printer, I just used it to figure out the correct zebra s4m zpl 200dpi code so I could replicate it in my code.

I then started looking for the rest of the code I needed and stumbled upon the following: It says to either send it in Base64 or Hexadecimal, and I tried zebra s4m zpl 200dpi to no avail.

I attempted to xpl this with base64, appending zebra s4m zpl 200dpi calculated the CRC value as per the manual, but wasn’t able to get that to work. Everything else you are sending down looks good. Has anyone managed to accomplish something like this? By posting your answer, you agree to the privacy policy and terms of service.

Jan 11 ’12 at Looks like I deluded myself into solving this. The second encoding, known as Z64, first compresses the zebra s4m zpl 200dpi using the LZ77 algorithm to reduce its size. Back to the drawing board.


Warren 1 4. I’ve tried a few variations, and a couple of methods for generating the CRC and calculating the ‘size’. Also, it seems ZPL defaulted to the uncompressed version zebra s4m zpl 200dpi the font after failing to load the compressed ones. But none seem to work and the download of the graphics to zebra s4m zpl 200dpi printer is always getting aborted. Read buffer, 0, buffer.

As it turns out, the compression functionality was not implemented in the printers I am using–the manufacturer is working on a firmware version zebra s4m zpl 200dpi handles compressed objects fonts or images.

Write zplToSend ; writer. The big thing that I was missing was padding my Hexadecimal code. But it doesn’t have a great deal more info. I ended up going with hex as well. WritePage baseStream ; gdipj. SizeOf docInfo ; RuntimeHelpers. PrinterHandle, buffer, read, out written throw new Win32Exception ; if written! The ZB64 format is basically not documented, and attempts to get more information from Zebra support have been fruitless.


Stack Overflow works best with JavaScript enabled. I 200dli trying to find a way zebra s4m zpl 200dpi printing images to a zebra and having a lot of trouble. Drives are R, E, B, A.

Sign up using Facebook. Zero throw new Win32Exception ; this. Sign up using Email and Password.