Problema con NeoPdf - Forum

Forum Navigation
You need to log in to create posts and topics.

Problema con NeoPdf

Estoy intentando configurar el ticket con medidas personalizadas pero no me genera el render  correctamente al final, ademas que el tamaño generado es super chico y no el que especifique

Las medidas que trae para elegir el plugin por defecto no traen una opcion para ticket ejemplo

Si uso lo siguiente funciona perfectamente:

neoPdfInit "ticket" "A4" "portrait"

Pero si uso el customizado ya no muestra nada, tengo un papel termico de 8cm de ancho:

neoPdfInitCustomSize "ticket" "portrait" "cm" 8.0 10.0

@gustavo1973

If I use the following it works perfectly:

neoPdfInit "ticket" "A4" "portrait"

But if I use custom no longer shows anything, I have an 8cm wide thermal paper:

neoPdfInitCustomSize "ticket" "portrait" "cm" 8.0 10.0

Can you post all the neoPdfXxxx command you invoke to render the text/images ?

@gaev

I already managed to solve it by reducing the size of the texts

Now I have another problem when trying to use the option "AutoPrint" does not print automatically, the Chrome dialog box appears showing me the previous image of the pdf with the button to print.
And I need you to print the PDF without any window in between

ya logre solucionarlo achicando el tamaño de los textos

Ahora tengo otro problema al intentar usar la opcion "AutoPrint" no imprime de manera automatica, me aparece el cuadro de dialogo de Chrome mostrandome la imagen previa del pdf con el boton
de imprimir.
Y yo necesito que imprima el PDF sin ventana alguna de por medio