October 6, 2018 at 8:27 am #17194
Hello to all,
I should print two reports in A5 on a folgio A4, I’ll explain better.
The report to be printed now is printed in A5 but to avoid waste of paper in my previous version (developed with another tool) I printed the same myodule twice on the same sheet.
If you have any suggestions or ideas.
Mimmo.October 9, 2018 at 8:56 am #17241Dario L.Participant
I’ve never used it before but you can try it by adding this line of code into your report’s construct method:
Do $cinst.$repeatfactor.$assign(2)October 19, 2018 at 10:09 am #17318Rudolf BargholzParticipant
This is probably not something I would want to do in Omnis, but ….
You can store a page setup for a printer in a report. That page setup stores detailed printer specific information, for example how many pages shoud be printed on one page, which printer are you printing to, what tray etc.. If you now set the repeatfactor to 2 in your Omnis report, two pages will be printed, normally on two pages. If you tell the printer driver to print two pages on one A4 page, your two pages will be printed on one page, saving you paper. It is a similar principle to printing one paper page front and back. You cannot tell Omnis to do that for you, but the printer driver knows how to do this, so you load the page setup with the correpsonding printer settings before printing your report, and let the printer driver do all the magic. Not all printer drivers support this, so it makes little sense to have Omnis define this directly.
Here some links that might help explaining how load page setup works:
RudolfOctober 24, 2018 at 4:28 pm #17383
Thank’s to all
MimmoJanuary 20, 2019 at 9:09 am #18230
Thanks for the answers
I did a bit of testing and the repeatfactor works as long as there is no subtotal in the print. My print, however, sometimes must print a only record, sometimes more records, that are repeated. I do not know if when I have to print more records the thing works is a chance but it can happen. I will make a text of how many recods should be printed and I will print them according to the number of records
You must be logged in to reply to this topic.