Avery 2163 Mini labels
Hello:
I am trying to create a report to print on the Avery 2163 mini mailing labels. The problem is that this label is 1 column. The top half of the sheet has 2 labels, each 2" x 4"... same for the bottom... BUT, they are separated by a 1" gap. Printing to the top 2 labels is a piece of cake, but how to you force the band to drop down an inch so that it can print the bottom 2?
Here is what these labels look like. http://www.avery.com/avery/en_us/Templates...0002118140aRCRD
Starting from the top.
- 0.5" top margin
- 2" high (label #1)
- 2" high (label #2)
- 1" gap
- 2" high (label #3)
- 2" high (label #4)
- 0.5" bottom margin.
Many thanks,
Dale
I am trying to create a report to print on the Avery 2163 mini mailing labels. The problem is that this label is 1 column. The top half of the sheet has 2 labels, each 2" x 4"... same for the bottom... BUT, they are separated by a 1" gap. Printing to the top 2 labels is a piece of cake, but how to you force the band to drop down an inch so that it can print the bottom 2?
Here is what these labels look like. http://www.avery.com/avery/en_us/Templates...0002118140aRCRD
Starting from the top.
- 0.5" top margin
- 2" high (label #1)
- 2" high (label #2)
- 1" gap
- 2" high (label #3)
- 2" high (label #4)
- 0.5" bottom margin.
Many thanks,
Dale
Comments
procedure Page1OnManualBuild(Sender: TfrxComponent);
begin
Engine.ShowBand(MasterData1);
Engine.ShowBand(MasterData1);
Engine.CurY := Engine.CurY + 20;
Engine.ShowBand(MasterData1);
Engine.ShowBand(MasterData1);
end;
How do I make it put a different record on each label?
set you cury in the oap or obp event of the band.
or in the band oap move the dataset to next record if you want to use masterdata not connected to a dataset
set the band height = the label height.
in the obp event of the band write code
if <line#> mod3 = 0 then engine.cury := engine.cury + value
what constitutes one record a pair of labels or 1 single label.?
note that you can set a databand to a set number, rowcount prop, don't connect to a dataset
control movement from code
Regards,
Dale
procedure Page1OnManualBuild(Sender: TfrxComponent);
begin
Engine.ShowBand(MasterData1);
MasterData1.DataSet.Next; { <--- this works as long as the others below are commented out}
Engine.ShowBand(MasterData1);
//MasterData1.DataSet.Next; { <--- uncomment this and it just sits on the first row of the dataset}
Engine.CurY := Engine.CurY + 20; {gap}
Engine.ShowBand(MasterData1);
//MasterData1.DataSet.Next;
Engine.ShowBand(MasterData1);
//MasterData1.DataSet.Next;
end;
write code in the obp event of the band to check where you are (which line, system variable Line# or line which ever is approp ) and if on the 3 set the engines cury
That did it.
Dale