LimeReport Forum

General Category | Основное => Discussion | Обсуждение => Topic started by: Mucip on September 02, 2022, 10:30:09 AM

Title: Limereport with Godex Barcode printer?
Post by: Mucip on September 02, 2022, 10:30:09 AM
Hi,
I want to use LimeReport on Qt5.14, Debian 11 with Godex barcode printer. I installed Limereport and run designer without any problem.

I design barcode on 100mmx100mm page (because barcode printer label size is 100x100).
If I make pdf file from this report and send it to Godex Printer than it looks good.
But when I want to print directly from designer than barcode printer gives 5 empty label without anything on it?!

Any suggestion?

P.S. : I use LimeReport 1.5.1

Regards,
Mucip:)

 
Title: Re: Limereport with Godex Barcode printer?
Post by: Mucip on September 02, 2022, 03:15:05 PM
Hi,
I guess I found something?

When I make pdf of report by "report:pritToReport(somepdf.pdf)" then it makes perfect pdf with 100mmx100mm size. Because my report size is 100mmx100mm.

But when I try to print this pdf via pdfReader then it comes error. Because I see page size A4 in printer properties. But in XFCE Priter settings (Cups) I set the page size 100mmx100mm.

When I change the size of papaer in printer settings in pdfviewer then it print success.

I guess I need to change printer page settings from A4 to 100mmx100mm in LimeReport too.

Can I do this?

Regards,
Mucip)
Title: Re: Limereport with Godex Barcode printer?
Post by: Mucip on September 02, 2022, 03:37:01 PM
Hi again,
I think I found solution. :)

When I checked SetPageSizeToPrinter it started to print like a charm.

Regards,
Mucip:)