Implementación impresión de logo #38
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Información general
Se han implementado bastantes cambios para convertir imágenes a imprimibles, conseguir imprimirlas y asegurar comunicación correcta entre cliente/servidor y agregada una previsualización fiel y estructurada.
Cambios específicos:
::escpos->text()a::text()para así evitar repetición de código (realiza la misma tarea y agrega texto a la previsualización).importante
Este commit va de la mano con la actualización de mc20printer debido a que al imprimir imágenes se emplean caracteres especiales, el bug se detalla mejor aquí: https://github.com/FacturaScripts/mc20printer/pull/2
También como siempre poner a prueba para ver si todo está correcto. Mis pruebas a doc han salido bien pero puede haber algo incorrecto como siempre.
Disculpas
Finalmente, se que los cambios tienen que ser progresivos y los commits atómicos, pero este caso especial no ha sido posible separar la tarea en menores partes. Lo siento, en la próxima se intentará evitar.