How do we parse report in to another printer language (Eg:ZPL,EPL,fingerprint etc).
Parse report in to another printer language
Parse report in to another printer language
Hello.
Thank you.
Sorry, maybe we did not exactly understand your question. Could you explain your issue in more details?Chasoo wrote:How do we parse report in to another printer language (Eg:ZPL,EPL,fingerprint etc).
Thank you.
Parse report in to another printer language
we are planing to do our new project using Reports Designer.Web. But the prob is client want to Create dynamic reports for label printing.And they wanna parse these reports in to another printer languages such as ZPL/EPL and Intermec FingerPrint. is there a anyway we can parse report data and formatting objects(font size,family,Text align) in to a readable format. other than deserializing .mrt xml file.(looking for a some kind of a export or something which u have done for dotmetrix printers.)
tnx in advanced
tnx in advanced
Parse report in to another printer language
Hello,
We have discussed the issue with the team-leader.
I regret to say that, at this moment, this feature is very rarely requested, and we have tasks of a higher priority. Sorry.
As a recommendation for solving the problem, you can convert your report format you need immediately after rendering a report with the following code, for example:
StiReport rep = new StiReport();
rep.Load(@"d:\report.mrt");
rep.Render();
foreach (StiPage page in rep.RenderedPages)
{
//store page info
// .....
foreach (StiComponent comp in page.Components)
{
if (comp is StiText)
{
StiText text = comp as StiText;
//store text line
// .....
}
if (comp is StiImage)
{
StiImage image = comp as StiImage;
//store image
// .....
}
// store other component
// .....
}
}
Thank you.
We have discussed the issue with the team-leader.
I regret to say that, at this moment, this feature is very rarely requested, and we have tasks of a higher priority. Sorry.
As a recommendation for solving the problem, you can convert your report format you need immediately after rendering a report with the following code, for example:
StiReport rep = new StiReport();
rep.Load(@"d:\report.mrt");
rep.Render();
foreach (StiPage page in rep.RenderedPages)
{
//store page info
// .....
foreach (StiComponent comp in page.Components)
{
if (comp is StiText)
{
StiText text = comp as StiText;
//store text line
// .....
}
if (comp is StiImage)
{
StiImage image = comp as StiImage;
//store image
// .....
}
// store other component
// .....
}
}
Thank you.