Printing Text and Image together like a receipt

Mar 27 at 8:55 PM
Edited Mar 28 at 2:13 PM
Does anyone have an example of printing an image and text together like a receipt? I put together something from what I found going through the discussions here.
        private void PrintTextandGraphics_button_Click(object sender, EventArgs e)
        {
            //Configure Printer
            PrinterSettings ps = new PrinterSettings();
            ps.PrinterName = DefaultPrinterName; // "ZDesigner QLn420 (CPCL)";
            ps.Width = 203 * 4;
            ps.Length = 203 * 6;
            ps.PrintSpeed = 10;
            ps.Darkness = 30;

            //Create the list to add commands
            List<byte> list1 = new List<byte>();
            list1.AddRange(ZPLCommands.ClearPrinter(ps));

            // Print Logo
            {
                string ImgPath = @Path_textBox.Text; //monochrome bmp
                list1.AddRange(ZPLCommands.GraphicDelete('R', "MYLOGO"));
                list1.AddRange(ZPLCommands.GraphicStore(new Bitmap(ImgPath), 'R', "MYLOGO"));
                list1.AddRange(ZPLCommands.GraphicWrite(100, 50, "MYLOGO", 'R'));
            }


            //Text 
            {
                string text = Text_textBox.Text.Trim();
                list1.AddRange(ZPLCommands.TextWrite(100,150, Com.SharpZebra.ElementDrawRotation.NO_ROTATION, 15, text));
            }
            

            // Print Signature
            {
                string ImgPath = @SignatureCapture_textBox.Text; //basically another monochrome bmp
                list1.AddRange(ZPLCommands.GraphicDelete('R', "SIGNCAP1"));
                list1.AddRange(ZPLCommands.GraphicStore(new Bitmap(ImgPath), 'R', "SIGCAP1"));
                list1.AddRange(ZPLCommands.GraphicWrite(100, 200, "SIGCAP1", 'R'));
            }

             //Send it to the printer  
            list1.AddRange(ZPLCommands.PrintBuffer(1));
            new SpoolPrinter(ps).Print(list1.ToArray());


        }
Many thanks in advance!