559 |
from ruff import Report |
from ruff import Report |
560 |
x = tmpValuesDataSource.printing_document |
x = tmpValuesDataSource.printing_document |
561 |
#printing.previewPrint(reduce(lambda a, b: a+b, [i.render() for i in x.pages]),'xless -fn vga') |
#printing.previewPrint(reduce(lambda a, b: a+b, [i.render() for i in x.pages]),'xless -fn vga') |
562 |
printing.previewPrint([str(x)],gConfig('printcommand')) |
#printing.previewPrint([str(x)],gConfig('printcommand')) |
563 |
|
#hack.pleasePrint (self, reportNo, report, [ 'id='+str(ownDocumentBlock.idEntry) ],str(ownPosDocumentBlock.documentPrintCommand)) |
564 |
|
|
565 |
|
|
566 |
|
while 1: |
567 |
|
printing.previewPrint([str(x)],str(ownPosDocumentBlock.documentPrintCommand)+' -fn vga') |
568 |
|
if form.genericBox ('Verifique que se haya impreso bien', ['Listo', 'Reintentar'])==1: |
569 |
|
break |
570 |
</trigger> |
</trigger> |
571 |
|
|
572 |
<!-- Este trigger clacula el total del comprobante --> |
<!-- Este trigger clacula el total del comprobante --> |