Topic: Fast print w/o FastReport

Hi all,

Sometimes there is a need for quick (draft) printing of a small-volume table.
This example provides such an opportunity without using FastReport.
Printing the title (Label) and table contents with support for fonts, styles and sizes.
Selecting page orientation via the drop-down menu of the print button.
Splitting by pages with printing the page number.
Something like this.

Post's attachments

Attachment icon FastPrint.rar 305.88 kb, 35 downloads since 2024-09-28 

2 (edited by k245 2024-10-01 07:31:11)

Re: Fast print w/o FastReport

Cool!
https://myvisualdatabase.com/forum/misc.php?action=pun_attachment&item=10714&download=0

Post's attachments

Attachment icon изображение_2024-10-01_103032142.png 83.27 kb, 7 downloads since 2024-10-01 

Визуальное программирование: блог и телеграм-канал.

Re: Fast print w/o FastReport

Hi all,
спасибо Константин.

There are a few errors in the example above.
I'm fixing the errors.
I'm adding a bonus.
Fixed:
- footer printing
- page numbering style change
- frame thickness increase for printing
- lower border for page printing decreased
- minor errors
- slightly optimized code
Added:
- support for alignment for header, footer and text in cells as in the source table
- fit to page function.
Don't try to fit something that won't fit.) Rotate the page).

Post's attachments

Attachment icon FastPrint Tbl Fix1.rar 22.19 kb, 33 downloads since 2024-10-01