escpos-coffee
escpos-coffee copied to clipboard
How to add Job Name
Is there any way to add the Job Name to replace the doc name "Java Printing" when the printer is not available? something like this
PrintRequestAttributeSet pras = new HashPrintRequestAttributeSet();
pras.add(new JobName("your job name", Locale.getDefault()));
docPrintJob.print(docToPrint, pras);
I created the PR to support this feature