Buenas
Con oohg + Harbour es posible imprimir un archivo en PNG?
Es para imprimir el QR de la AEAT para las facturas con Verifactu.
Las consigo crear pero en PNG y ahora no las puedo imprimir.
Hay alguna función que las transforme el archivo PNG a JPG o BMP? Esos formatos sí los puedo imprimir.
Gracias
Saludos
Antonio Vázquez
::PrintImage( nSRow, nSCol, nERow, nECol, cImage, aResol, aSize )
Prints an image.
Parameters:
nSRow = y coordinate of the upper left corner.
Defaults to 1.
nSCol = x coordinate of the upper left corner.
Defaults to 1.
nERow = y coordinate of the lower right corner.
Defaults to 4.
nECol = x coordinate of the lower right corner.
Defaults to 4.
cImage = name of the image to print. Must point to a file.
MINIPRINT and HBPRINTER also accept images from the resource
file. See note. Defaults to "<>".
aResol = array specifing horizontal and vertical resolution of the
image (or a number if both values are the same). Unit: DPI.
aSize = array specifing width and height of the image (or a number
if both values are the same). Unit: 1/100 mm.
Notes:
MINIPRINT and HBPRINTER support ICO, BMP, JPG and GIF formats.
EXCELPRINT and HTMLPRINTFROMEXCEL support formats supported by Excel.
CALCPRINT and HTMLPRINTFROMCALC support formats supported by Calc.
PDFPRINT supports JPG and GIF formats. Beware that cImage must point
to a file with TIF, TIFF, JPG or JPEG extension.
DOSPRINT, RAWPRINT, SPREADSHEETPRINT, RTFPRINT and CSVPRINT do not
support image printing.
When using HTMLPRINT, supported formats depend on the underlying app
installed on the system (if both Excel and Calc are installed, the
first takes precedence; you can test DATA cPrintLibrary to identify
which one is being used).
Parameter support by printing mode:
aResol and aSize are supported by CALCPRINT mode only.
Specify aResol to print the image at its original size. To find the
image resolution use a graphics software like IrfanView.
Specify aSize to print the image at a different size.
If both parameters are specified, resolution takes precedence.
If none is specified the resulting size is defined by Calc.
Pero usando hmg oficial se puede imprimir PNG--
Has recibido este mensaje porque estás suscrito al grupo "[oohg]" de Grupos de Google.
Para cancelar la suscripción a este grupo y dejar de recibir sus mensajes, envía un correo electrónico a oohg+uns...@googlegroups.com.
Para ver este debate, visita https://groups.google.com/d/msgid/oohg/01bd01dcfeae%24951024a0%24bf306de0%24%40gmail.com.