Open sefatamak opened 6 years ago
My printer is ZIJANG-8330 Thermal Receipt Printer. It's size 80 * 210 mm. When I send print job it's writing blank page. This is my code. How can I solve it? $ticketnew = { "version":"1.0", "print":{ "vendor_ticket_item":[], "page_orientation": { "type":"PORTRAIT", }, "color":{ "type":"STANDARD_MONOCHROME" }, "margins":{ "top_microns":0, "right_microns":0, "bottom_microns":0, "left_microns":0 }, "fit_to_page":{ "type":1 }, "copies":{ "copies":1 }, "media_size": { "width_microns":80000, "height_microns": 210000, "is_continuous_feed":False}, } }
$ticketnew = { "version":"1.0", "print":{ "vendor_ticket_item":[], "page_orientation": { "type":"PORTRAIT", }, "color":{ "type":"STANDARD_MONOCHROME" }, "margins":{ "top_microns":0, "right_microns":0, "bottom_microns":0, "left_microns":0 }, "fit_to_page":{ "type":1 }, "copies":{ "copies":1 }, "media_size": { "width_microns":80000, "height_microns": 210000, "is_continuous_feed":False}, } }
My printer is ZIJANG-8330 Thermal Receipt Printer. It's size 80 * 210 mm. When I send print job it's writing blank page. This is my code. How can I solve it?
$ticketnew = { "version":"1.0", "print":{ "vendor_ticket_item":[], "page_orientation": { "type":"PORTRAIT", }, "color":{ "type":"STANDARD_MONOCHROME" }, "margins":{ "top_microns":0, "right_microns":0, "bottom_microns":0, "left_microns":0 }, "fit_to_page":{ "type":1 }, "copies":{ "copies":1 }, "media_size": { "width_microns":80000, "height_microns": 210000, "is_continuous_feed":False}, } }