Print System Question's
Posted: Sat Jan 14, 2023 2:59 am
Hola a todos !!!
Estoy trabajando con la excelente y muy intuitiva librería de impresión.
En pocos minutos y gracias a lo bién documentada que está, logré lo que quería !
Ahora tengo sólo dos preguntas:
Cómo seteo el PaperLenght para una impresora térmica que usa rollo de 79mm. de ancho
(eso ya está) pero el ticket puede tener de 10 cmt. a más de 1 metro de largo !
No dispongo de la impresora física acá y no puedo hacer pruebas en el establecimiento...
Si alguien lo probó y me puede indicar me ayudaría a no cometer errores !
Hello everyone !!!
I am working with the excellent and very intuitive printing library.
In a few minutes and thanks to how well documented it is, I achieved what I wanted !
Now I have only two questions:
How do I set the PaperLength for a thermal printer that uses a 79mm. roll wide
(That's it) but the ticket can be 10 cmt. more than 1 meter long !
I don't have the physical printer here and I can't do tests in the establishment...
If someone tried it and can tell me it would help me not to make mistakes !
Segunda pregunta:
La ventana Preview se muestra en 1600x900px.
Se puede redimensionar al llamarla o tengo que modificar la librería y recompilarla ?
Desde yá muy agradecido !!!
Second question:
The Preview window is displayed at 1600x900px.
Can it be resized for code, or do I have to modify the library and recompile it ?
From now very grateful !!!
Estoy trabajando con la excelente y muy intuitiva librería de impresión.
En pocos minutos y gracias a lo bién documentada que está, logré lo que quería !
Ahora tengo sólo dos preguntas:
Cómo seteo el PaperLenght para una impresora térmica que usa rollo de 79mm. de ancho
(eso ya está) pero el ticket puede tener de 10 cmt. a más de 1 metro de largo !
No dispongo de la impresora física acá y no puedo hacer pruebas en el establecimiento...
Si alguien lo probó y me puede indicar me ayudaría a no cometer errores !
Hello everyone !!!
I am working with the excellent and very intuitive printing library.
In a few minutes and thanks to how well documented it is, I achieved what I wanted !
Now I have only two questions:
How do I set the PaperLength for a thermal printer that uses a 79mm. roll wide
(That's it) but the ticket can be 10 cmt. more than 1 meter long !
I don't have the physical printer here and I can't do tests in the establishment...
If someone tried it and can tell me it would help me not to make mistakes !
Code: Select all
Select Printer Default To lOk;
Orientation PRINTER_ORIENT_PORTRAIT;
PaperSize PRINTER_PAPER_USER;
PaperLength 300; // <<-- HPDF have limit... in this lib. what is the limit ? or no limit ?
PaperWidth 79;
Copies 1;
DefaultSource PRINTER_BIN_LARGECAPACITY; // Is correct ?
Quality PRINTER_RES_MEDIUM;
Color PRINTER_COLOR_MONOCHROME;
Collate PRINTER_COLLATE_FALSE;
PreView // <<-- only for test at home...
If ! lOk
............
La ventana Preview se muestra en 1600x900px.
Se puede redimensionar al llamarla o tengo que modificar la librería y recompilarla ?
Desde yá muy agradecido !!!
Second question:
The Preview window is displayed at 1600x900px.
Can it be resized for code, or do I have to modify the library and recompile it ?
From now very grateful !!!