Receipt printers and endless paper reel

Stimulsoft Reports.NET discussion
xss
Posts: 64
Joined: Wed Jun 10, 2009 3:03 am
Location: Austria

Receipt printers and endless paper reel

Post by xss »

Hi,

I investigated Stimulsoft Reports.Net Trial about 3 weeks ago and it really rocks - except in one point. We are developing an electronic cash register application and our customers use receipt/kitchen printers mainly. The common receipt paper size is about 80mm x 3276mm. So i created the report and set unlimited height = true and paper size = custom with no success. The report is still using the page height and at print, the whole receipt reel runs through and page/report footers get rendered at the end of paper. When i set the page height to 100mm for example, the report is still rendered "in pages". What we need is that the entire report is rendered in one page and that the height adjusts to the final output automatically. Thats the only thing why we are using Crystal Reports at this point in time.

If this is possible or would be possible in the foreseeable future then there's nothing that can hold us back of using your reporting solution.

Best regards.

Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Receipt printers and endless paper reel

Post by Jan »

Hello,

Please use following code before printing:

Code: Select all

Stimulsoft.Report.Print.StiPrintProvider.SetPaperSource = false;
Thank you.
xss
Posts: 64
Joined: Wed Jun 10, 2009 3:03 am
Location: Austria

Receipt printers and endless paper reel

Post by xss »

Thank you, i check it out...
xss
Posts: 64
Joined: Wed Jun 10, 2009 3:03 am
Location: Austria

Receipt printers and endless paper reel

Post by xss »

hm...I tried your piece of code at application startup and at StiReport.Printing event additionally, but without success - the paper reel still runs through.

PaperKind=Custom
PageHeight=3276
UnlimitedHeight=True

Is it possible, that the trial watermark "demo" in the middle of the page is responsible for that behavior?
Or should i wait and test it out with your next release? I checked the change log announcement for 2009.2 and it says, that something has been fixed with unlimited height.

Thanks in advance.

P.S.: When a subreport inside a subreport is used, an IndexOutOfRangeException occurs.
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Receipt printers and endless paper reel

Post by Jan »

Hello,

We have made some changes in our code. Please get build from 15 June (when it will be available). Set PaperKind to Custom. Set PageHeight to required height.

Thank you.
xss
Posts: 64
Joined: Wed Jun 10, 2009 3:03 am
Location: Austria

Receipt printers and endless paper reel

Post by xss »

Nice, seems to work, thank you. I think it depends on the watermark in the trial version, because after that it stops to print.

We gonna change to Stimulsoft Reports.Net in a few weeks.

So long...
XSS
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Receipt printers and endless paper reel

Post by Andrew »

Hello,

It is set after the last graphic element is output. In case it is the watermark.

Thank you.
DeanP
Posts: 2
Joined: Sat Jan 06, 2007 8:40 pm
Location: Edmonton

Receipt printers and endless paper reel

Post by DeanP »

I am having a similar problem. I have updated to 2009.3 but the Epson TM-T88IV printer seems to print about 12 inches and quits.

I have:

Page Size = Custom
Page Height = 40 inches
Unlimited Height = true

I have set Stimulsoft.Report.Print.StiPrintProvider.SetPaperSource = false in my code.

Any suggestions?
xss
Posts: 64
Joined: Wed Jun 10, 2009 3:03 am
Location: Austria

Receipt printers and endless paper reel

Post by xss »

hi deanp,

we had a similiar problem with the epson tm-t81 and it was the printer driver (imho crap).

please check following driver settings:
1) the paper size u're using in the report must be declared in the printer settings exactly - otherwise he doe's what he wants to.
2) after setting an custom paper size we had to adjust the horizontal print position in the driver settings. -3.0 mm in our case.
3) try to change the paper conservation in the document settings - we had to use bottom in our case.
4) if u don't need to cut at page ends, u can change the paper source to document(?) in the document settings.
.
.
99) use a different printer as we do. :biggrin:

maybe this will help u...hopefully! :dreamer:

greetz xss
DeanP
Posts: 2
Joined: Sat Jan 06, 2007 8:40 pm
Location: Edmonton

Receipt printers and endless paper reel

Post by DeanP »

Thanks for your help xss. I think I got it to work after many meters of paper. Unfortunately the client has many of these printers so I am glad you offered your experience and saved what little hair I have left.

Thanks again.
Post Reply