This is a migrated thread and some comments may be shown as answers.

Single continuous page receipt

11 Answers 412 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Kofi
Top achievements
Rank 1
Kofi asked on 28 Nov 2015, 07:36 PM

hello ,

i'm facing problem in printing long receipt , it cut after certian page regarding the speceifed lengh in heigh in report.

 im in trouble because i'm the one who suggest using your product , please help

11 Answers, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 02 Dec 2015, 01:43 PM
Hello Kofi,

Reports are paged with fixed sizes and printed based on the PageSettings properties.

Test settings a Report.PageSettings.PaperKind and Report.PageSettings.PaperSize to such values that allows you to gather the whole content on a single page. Thus when you print there will be only one page, and the printer will not cut the paper.

There is also an approved feature request for having support for print settings for roll paper. Feel free to vote for the feature, as features are considered for implementation based on the demand for them.

Regards,
Stef
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Ahmed
Top achievements
Rank 1
answered on 15 Dec 2015, 09:18 PM
what if i designed this report from designer not draw it by code ? and what will happened in the case that receipt is shorter, kindly reply me as i'm facing this problem in my work too..relay very serious case i swear
0
Ahmed
Top achievements
Rank 1
answered on 16 Dec 2015, 12:34 PM
Is there setting i need to apply on the thermal printer , it's type : FP1000
0
Stef
Telerik team
answered on 17 Dec 2015, 04:31 PM
Hello Ahmed,

If the report is printed directly from a Report Designer's preview, you have option to manually change the page settings of the document. This will allow you to set manually paper size gathering the whole content.

If reports are only designed in the Standalone Report Designer, and then are printed from code. the TRDX file's content can be deserialized into a Telerik.Reporting.Report object, which allows you to change the report's PageSettings properties in code.

Regards,
Stef
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Ahmed
Top achievements
Rank 1
answered on 18 Dec 2015, 09:42 PM
hello , thanks alot for your reply , kindly give me a small example of how do this ..thanks again
0
Ahmed
Top achievements
Rank 1
answered on 18 Dec 2015, 09:47 PM
i got it now , hoping it works as i'm in bas situation , but the question why it didn't work when i chanded width from desginer
0
Stef
Telerik team
answered on 23 Dec 2015, 01:40 PM
Hello Ahmed,

The suggested settings should be applied on the report's PageSettings.
You can serialize back in TRDX file the report, which is modified at run-time, to compare the differences and to determine if the changes can be applied while designing the report.

I hope this information helps you.

Regards,
Stef
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Ahmed
Top achievements
Rank 1
answered on 24 Dec 2015, 10:56 PM

i tried the following code but invain

 

                    using (System.Xml.XmlReader xmlReader = System.Xml.XmlReader.Create(ReportPath, settings))
                    {


                        Telerik.Reporting.XmlSerialization.ReportXmlSerializer xmlSerializer = new Telerik.Reporting.XmlSerialization.ReportXmlSerializer();
                        Telerik.Reporting.Report report = (Telerik.Reporting.Report)xmlSerializer.Deserialize(xmlReader);
                        report.PageSettings.PaperKind = PaperKind.Custom;
                        report.PageSettings.PaperSize = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(100), Telerik.Reporting.Drawing.Unit.Cm(500));
                        PSetting.Copies = NoOfCopies;
                        reportProcessor.PrintReport(report, PSetting);
                    }

it still cut it
0
Stef
Telerik team
answered on 25 Dec 2015, 04:36 PM
Hi Ahmed,

The result page must be 100x500 in CM. Please test exporting the report in PDF - Exporting Report Programmatically.
Then print it from the PDF reader to verify the settings are correct and the printer keeps the report's PageSettings.


Regards,
Stef
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Ahmed
Top achievements
Rank 1
answered on 27 Dec 2015, 06:25 PM
i tried printit with crystal , what it needed to make a custom page..and it printed normaly...i like your products and didn't want to move to crystal..please try your solution and till me if it valid with you
0
Stef
Telerik team
answered on 14 Sep 2016, 01:38 PM
Hello,

As of Telerik Reporting R3 2016 printing on continuous paper is supported. There is a PageSettings.ContinousPaper property allowing you to print without paging the document.

For more details, please check PageSettings Properties.

Regards,
Stef
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Kofi
Top achievements
Rank 1
Answers by
Stef
Telerik team
Ahmed
Top achievements
Rank 1
Share this question
or