Hola compa帽eros hace largo tiempo que utilizo imagenes emf para imprimir, facturas, remitos etc. el c贸digo es el siguiente:
Quisiera saber como poder reemplazar los archivo emf, por jpg u otros tipo, modificando lo menos posible el c贸digo
Muchas Gracias
聽 聽SetPrintDefault( AllTrim( oApp:imppdf ) )
聽 聽PRINTER oPrn PREVIEW
聽 聽oPrn:cdocument := aElectro:cnombre
聽 聽PAGE
聽 聽oPrn:ImportWMF( iif( lfacturab,"facturaB.emf","facturaA.emf" ) )
聽 聽oPrn:CmSay( 聽 0.85, 12.2, 聽cTitu,oFont4,, RGB( 11,41,90 ) )
聽 聽oPrn:CmSay( 聽 1.03, 11.08, ( "Cod. " + cCod ), oFont3,, RGB( 11,41,90 ) )
聽 聽oPrn:Cmsay( 聽 1.3, 12.2, 聽 ( "N潞 聽" + cNrofactu ),oFont4,, RGB( 11,41,90 ) )
聽 聽oPrn:Cmsay( 聽 2.1, 12.2, ( "FECHA: " + AllTrim(Transform(dfec,"@D" ) ) ), oFont,, RGB( 11,41,90 ) )
聽 聽oPrn:CmSay( 聽4.35, 4.2, 聽 聽AllTrim( aCliente:napea ), oFont,, RGB( 0,0,0 ) )
聽 聽oPrn:CmSay( 聽4.35, 17.2, 聽 聽valstr( aCliente:nclia ), oFont )
聽 聽oPrn:CmSay( 聽4.75, 4.2, aCliente:domia,oFont )
聽etc,etcQuisiera saber como poder reemplazar los archivo emf, por jpg u otros tipo, modificando lo menos posible el c贸digo
Muchas Gracias