I have a problem in preparing the ZPL command for printing the bitmap image on Zebra RZ400 300 dpi.
I have folling code snippet and i dont understand where i am exta
https://stackoverflow.com/questions/7083180/print-bmp-with-zpl?rq=1
That should do the trick for you. As you're a new member I highly recommend you use the search feature.
Also this line:
var bitmapImagePath = :C:\\Sample.bmp";
should be
var bitmapImagePath = @"C:\Sample.bmp";
You potentially have two options.
If you don't need to use ZPLII, you can install the printer using the Zebra drivers. This will allow you to use the Zebra printer as you would a regular desktop printer. You can then build your label using standard .Net functions for printing, and send the document to the printer as you would a regular document programmatically.
If this isn't an option, you'll need to create a monochrome bitmap, I've never done that myself. However you could use img2grf to convert if you don't feel like writing your converter. You'll need to convert that library into a .Net assembly, which can easily be achieved by using IKVM. For instructions on how to use IKVM simply visit HtmlUnit Conversion with IKVM and follow the instructions under the "Converting HtmlUnit to .NET" section, it's the same process to convert img2grf.