LimeReport icon indicating copy to clipboard operation
LimeReport copied to clipboard

Printing with Dymo / Border Problem?

Open Athesis opened this issue 6 years ago • 13 comments

Hi,

I like to use LimeReports with an Dymo LabelWriter 450 ... With kinda bad results. Everything is scaled down on the Label even if the page is perfectly fitted to the label sizes.

I guess, since if I export the same Label to PDF it shows way bigger borders, that the data send to the printer has other, bigger, dimensions then the setup page geometry.

I created my test prints from the Designer. Is there a possibility to fix this?

Athesis avatar May 08 '19 11:05 Athesis

Hi! Have you tried to activate fullPage property on PageItem?

fralx avatar May 08 '19 18:05 fralx

Hi! No I didn't. Thanks, moved me along quite a bit. But still, printing on Dymo LabelWriter is kinda ... weird. If I can I'll provide more informations about soon!

Athesis avatar May 09 '19 13:05 Athesis

Hi! I had some time looking into the details. I've got 25x54mm Labels, on Dymo they have an Printing-Area of 23x50mm. After some experimenting I set the Page-Size to exactly this size with no margins and "fullPage" checked. The main problem then is: On normal Dymo-Use the printing starts at 2mm on the label, trough LimeReports it starts at 4mm.

Athesis avatar Aug 23 '19 12:08 Athesis

Hi! May I take a look at your label template?

fralx avatar Aug 25 '19 20:08 fralx

Sure,

Here you go. I tried with an older version (1.4.7) and the current version (1.5.0)

t_25x54.zip

The printing result is always something like this: DSC_0551

Thanks for your help!

Athesis avatar Aug 26 '19 11:08 Athesis

I will try to solve the problem. I have some idea why it happens and i need some time to test it.

fralx avatar Aug 28 '19 15:08 fralx

Hi! As i can see you use landscape page orientation. If you change it to portrait how the label will be printed?

fralx avatar Aug 28 '19 18:08 fralx

Hi,

It's shrinking it down and pint it as Portrait:

DSC_0555

Athesis avatar Aug 29 '19 08:08 Athesis

Hi! I have created a new branch https://github.com/fralx/LimeReport/tree/feature/Custom_size_printing. Could you test if it will change the size of the borders?

fralx avatar Aug 30 '19 10:08 fralx

It changed at least something, I'll look into it in more detail soon ...

t_25x54.zip

DSC_0556

Image on the Top is printed with current Master, bottom with the Custom_size_printing branch, both printed with same settings on printer

Athesis avatar Sep 02 '19 14:09 Athesis

Hi! I have added the ability to send page margins to the printer via using printerMargin(Left, Top, Right, Bottom) and changePrinterMargins properties. I think this can be useful for moving the label to the right position. Could you check it?

fralx avatar Sep 03 '19 10:09 fralx

I have the same problem me too, see my examples when i print tickets the problem is the right margin, may be due to the band!? 20190903_184730_Film1 Uploading 20190905_090151_Film1.jpg…

yanis60 avatar Sep 05 '19 08:09 yanis60

@yanis60 Have you checked it on the Custom_size_printing branch?

fralx avatar Sep 05 '19 19:09 fralx