/[papo]/papo/forms/components/own_document.nebc
ViewVC logotype

Diff of /papo/forms/components/own_document.nebc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.15 by mhepp, Tue Nov 25 15:16:59 2003 UTC revision 1.16 by mhepp, Tue Nov 25 16:23:42 2003 UTC
# Line 559  $reference_despatch_note => '1' Line 559  $reference_despatch_note => '1'
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 -->

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26