K
K
Kalwin UA2016-08-16 10:37:07
PHP
Kalwin UA, 2016-08-16 10:37:07

How to make a form print?

Good people, tell me where to get the information to implement the print form.
For example:
I enter data into a form, send it for printing, the data is inserted into an already prepared form (contract), and then it is printed by a printer.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alex, 2016-08-16
@Mari-art

Есть еще вариант.
Пользователь заполняет поля формы и выбирает печать в браузере, а мы средствами css видоизменяем страницу для печати в виде договора.

@media print {
...
}
@media not print {
...
}

Антон Нагаец, 2016-08-16
@gr1mm3r

1) Making forms to fill out.
2) Save variables. (js/php doesn't matter.)
3) Set up a print template where we insert these same variables.
4) Create a print template for the printer or generate a PDF ( As a variant of the manual
5) PROFIT.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question