Print coil style on Rlreport

Asked

Viewed 774 times

3

I developed a coupon-style report, where I have the header and items of my note.

RLReport - PageSetup:
Orientation : poPortrait
PaperHeight : 220
PaperSize   : fpCustom
PaperWidht  : 80

In my Rlreport I have:

RLBand1 - BandType : btHeader
RLGroup
   Band2 - BandType : btHeader
   Band3 - BandType : btDetail (meus itens)  
RLBand4 - BandTye : btFooter 

The problem is that I can have N items, if the amount of items pass the page size the other items go to second page, if they go to second page I will have header and footer printing twice.

If I put a size on Paperheight high, and I don’t have that many items, I’ll be wasting paper.

I tried using the Rldraftfilter component I set the option:

EjectMethod : EjLeavePage

In the preview at the time of choosing the printer I tried to put the filter but not one of the options worked, just the printer did not print.

I am using the Datamax Oniel RL4 printer.

Someone’s been through it?

1 answer

1

When I had to do that, I used this tip. Replicating:

  • First go to Configure Page. (File > Page Settings)

  • Select the Other Options tab (Other Options)

  • Now check the option "Page Height Without End" (Endless page height).

Another important step is to change a Tfrxreport property. In Printoptions > Printmode leave with pmSplit.

Then you just adjust the correct page width.

Ready, your report is prepared for printing on reel.

  • 1

    I am using Trlreport. I have not found the Printoptions option.

  • Sorry! These instructions are for Fastreport. I swear I read frx instead of RL rs... In this case, it seems that your code is all right! Are you sure it’s not a problem with the printer or drivers?

Browser other questions tagged

You are not signed in. Login or sign up in order to post.