Page 1 of 1

Specifying how many labels to print

Posted: Tue Sep 27, 2011 10:17 am
by Ink
Hi,

I have used the label report wizrd report to create a report based on an avery label.
I have place a rich text box onto the first label on the report into which I load a file using the Get Value event.
When I print the report, I only get one label. How do I specify the amount of labels I want to print? I just want the same data to appear on each label, but the count of label may differ each time the report is run.
So I have one rtf file and I want it to repeat on as many labels as I specify. Count data gives me one label in each column, but say I have 3 columns and I want 9 labels I need to be able to specify that I want 3 rows; 3 Columns x 3 Rows = 9 labels.


Thanks,

Jon.

Specifying how many labels to print

Posted: Wed Sep 28, 2011 3:01 am
by HighAley
Hello, Jon.
Ink wrote:I have used the label report wizrd report to create a report based on an avery label.
I have place a rich text box onto the first label on the report into which I load a file using the Get Value event.
When I print the report, I only get one label. How do I specify the amount of labels I want to print? I just want the same data to appear on each label, but the count of label may differ each time the report is run.
So I have one rtf file and I want it to repeat on as many labels as I specify. Count data gives me one label in each column, but say I have 3 columns and I want 9 labels I need to be able to specify that I want 3 rows; 3 Columns x 3 Rows = 9 labels
Please, set the Count Data property of Data Band to 9 and the Columns property to 3.
See attached report template and image.

Thank you.

Specifying how many labels to print

Posted: Wed Sep 28, 2011 3:43 am
by Ink
Hi Aleksey,
I tried that but I get the following error. I have emailed files to support.

----------------------------
[Customer Explanation]



----------------------------
[General Info]

Application: Stimulsoft Reports.Net
Framework: v4.0.30319
Version: Version: 2011.2.1026 from 18 August 2011
MachineName: JELT
OSVersion: Microsoft Windows NT 6.1.7600.0
UserName: jon.ellis

----------------------------
[Exception Info]
Message: Object reference not set to an instance of an object.

Source: Stimulsoft.Report

StackTrace:
at Stimulsoft.Report.Engine.StiEngine.InternalRenderContainerToColumns(StiContainer container, Boolean isPrintAtBottom, Boolean isFooterOnAllPages)
at Stimulsoft.Report.Engine.StiEngine.InternalRenderBand(StiBand band, Boolean ignorePageBreaks, Boolean allowRenderingEvents, Boolean& isChildsEnabled)
at Stimulsoft.Report.Engine.StiEngine.RenderBand(StiBand band, Boolean ignorePageBreaks, Boolean allowRenderingEvents)
at Stimulsoft.Report.Engine.StiDataBandV2Builder.RenderMaster(StiDataBand masterDataBand)
at Stimulsoft.Report.Engine.StiPageHelper.RenderPage(StiPage page)
at Stimulsoft.Report.Engine.StiRenderProviderV2.RenderReport(StiReport report, StiReport masterReport, StiRenderState state)
at Stimulsoft.Report.Engine.StiRenderProviderV2.Render(StiReport report, StiRenderState state)
at Stimulsoft.Report.Engine.StiReportV2Builder.RenderSingleReport(StiReport masterReport, StiRenderState renderState)
at Stimulsoft.Report.StiReport.RenderReport(StiRenderState renderState)
at Stimulsoft.Report.StiReport.Render(StiRenderState renderState, StiGuiMode guiMode)
at Stimulsoft.Report.Design.Controls.StiDesignerPreviewControl.btRefresh_Click(Object sender, EventArgs e)

----------------------------
[Assemblies]
mscorlib, Version = 2.0.0.0
Stimulsoft.Base, Version = 2011.2.1026.0
Stimulsoft.Report, Version = 2011.2.1026.0
Stimulsoft.Report.Design, Version = 2011.2.1026.0
System.Windows.Forms, Version = 2.0.0.0

Specifying how many labels to print

Posted: Wed Sep 28, 2011 3:44 am
by Ink
Hi Aleksey,
I tried that but I get the following error. I have emailed files to support.

----------------------------
[Customer Explanation]



----------------------------
[General Info]

Application: Stimulsoft Reports.Net
Framework: v4.0.30319
Version: Version: 2011.2.1026 from 18 August 2011
MachineName: JELT
OSVersion: Microsoft Windows NT 6.1.7600.0
UserName: jon.ellis

----------------------------
[Exception Info]
Message: Object reference not set to an instance of an object.

Source: Stimulsoft.Report

StackTrace:
at Stimulsoft.Report.Engine.StiEngine.InternalRenderContainerToColumns(StiContainer container, Boolean isPrintAtBottom, Boolean isFooterOnAllPages)
at Stimulsoft.Report.Engine.StiEngine.InternalRenderBand(StiBand band, Boolean ignorePageBreaks, Boolean allowRenderingEvents, Boolean& isChildsEnabled)
at Stimulsoft.Report.Engine.StiEngine.RenderBand(StiBand band, Boolean ignorePageBreaks, Boolean allowRenderingEvents)
at Stimulsoft.Report.Engine.StiDataBandV2Builder.RenderMaster(StiDataBand masterDataBand)
at Stimulsoft.Report.Engine.StiPageHelper.RenderPage(StiPage page)
at Stimulsoft.Report.Engine.StiRenderProviderV2.RenderReport(StiReport report, StiReport masterReport, StiRenderState state)
at Stimulsoft.Report.Engine.StiRenderProviderV2.Render(StiReport report, StiRenderState state)
at Stimulsoft.Report.Engine.StiReportV2Builder.RenderSingleReport(StiReport masterReport, StiRenderState renderState)
at Stimulsoft.Report.StiReport.RenderReport(StiRenderState renderState)
at Stimulsoft.Report.StiReport.Render(StiRenderState renderState, StiGuiMode guiMode)
at Stimulsoft.Report.Design.Controls.StiDesignerPreviewControl.btRefresh_Click(Object sender, EventArgs e)

----------------------------
[Assemblies]
mscorlib, Version = 2.0.0.0
Stimulsoft.Base, Version = 2011.2.1026.0
Stimulsoft.Report, Version = 2011.2.1026.0
Stimulsoft.Report.Design, Version = 2011.2.1026.0
System.Windows.Forms, Version = 2.0.0.0

Specifying how many labels to print

Posted: Wed Sep 28, 2011 4:24 am
by Ink
Please disregard. I have rebuilt the report from scratch without using the wizard, and the columns and data count properties now give me just what I need.

Thanks!

Specifying how many labels to print

Posted: Wed Sep 28, 2011 8:39 am
by HighAley
Hello.

We are glad that all works right.

Have a nice day!

Thank you.