Example #1
0
        //��ӡͼ��
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @SuppressLint("SdCardPath") private void printImage()
        private void printImage()
        {
            sbyte[]  sendData = null;
            PrintPic pg       = new PrintPic();

            pg.initCanvas(384);
            pg.initPaint();
            pg.drawImage(0, 0, "/mnt/sdcard/icon.jpg");
            sendData = pg.printDraw();
            mService.write(sendData);             //��ӡbyte������
        }
Example #2
0
		//��ӡͼ��
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @SuppressLint("SdCardPath") private void printImage()
		private void printImage()
		{
			sbyte[] sendData = null;
			PrintPic pg = new PrintPic();
			pg.initCanvas(384);
			pg.initPaint();
			pg.drawImage(0, 0, "/mnt/sdcard/icon.jpg");
			sendData = pg.printDraw();
			mService.write(sendData); //��ӡbyte������
		}