Continuous Paper


03-16-2010, 1:33 PM
I need to print labels on a printer with a labels roll. I can't used custom size paper because I don't know in advance the height  of the report.
 I need to set the  paper length according to the printed report (according to the number of labels printed) at run time.
can any body please tell me how to do it?

Re: Continuous Paper


03-17-2010, 1:19 AM
Emd,

On the basis of the description provided by you, I would suggest you to make sure all of your report's sections have fixed heights (ie: CanGrow and CanShrink set to False). Add up the total height of all expected sections based on the input data.

For example, a report with PageHeader, GroupHeader, Detail, GroupFooter, and PageFooter sections all with heights set to 0.5cm would be at minimum 2.5cm. Now, if you expected 30 detail records, the total page height would end up being 17cm (0.5cm + 0.5cm + (30 x 0.5cm) + 0.5cm + 0.5cm). If there were multiple groups, you would simply have to account for that as well in your calculation.

The sizing estimate and changing of the report's paper size would have to occur in or before the ReportStart event. Additionally, you would have to be sure that your label printer supports the page size or has a continuous print mode. The printer with a continuous print mode should work well as long as the page size is set before the report begin processing records.

However if you still face any issues, then I would request you to kindly provide me the with the RPX layout of your report and provide me some more information about your requirements. You may find information on saving and loading of RPX files here.

Regards,
Sankalp
Sankalp Sen
GrapeCity- DataDynamics

Re: Continuous Paper


03-18-2010, 12:17 AM
Thanks it worked perfectly