update for print copies for printer_worker.rb

This commit is contained in:
Yan
2017-11-27 19:03:50 +06:30
parent 7a28dc1ddc
commit e5746b902b
2 changed files with 37 additions and 13 deletions

View File

@@ -100,7 +100,7 @@ class Printer::ReceiptPrinter < Printer::PrinterWorker
#Generate PDF
#Print
pdf = QueueNoPdf.new(printer_settings,queue)
pdf.render_file "tmp/print_queue_no.pdf"
pdf.render_file "tmp/print_queue_no.pdf"
self.print("tmp/print_queue_no.pdf")
end