PrintImage() public method

Prints the image. The image must be 384px wide.
public PrintImage ( Bitmap image ) : void
image System.Drawing.Bitmap /// Image to print. ///
return void
Ejemplo n.º 1
0
		static void TestImage(ThermalPrinter printer)
		{
			printer.WriteLine("Test image:");
			Bitmap img = new Bitmap("../../../mono-logo.png");
			printer.LineFeed();
			printer.PrintImage(img);
			printer.LineFeed();
			printer.WriteLine("Image OK");
		}