I am printing a modal window with all its content, but I do not want to open the dialog to select a printer since I have only one thermal printer and I have it configured, is there any parameter to print directly to the printer?
$(document).on("click",".btn-print",function(){
$(".contenido").addClass("impresion");
$(".contenido").print({
globalStyles: true,
mediaPrint: false,
stylesheet: null,
noPrintSelector: ".no-print",
append: null,
prepend: null,
manuallyCopyFormValues: true,
deferred: $.Deferred(),
timeout: 750,
title: " ",
doctype: '<!doctype html>'
});