Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2014-10

LazReport - "The paper ... has no defined rectangle!"

7 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Gabor Boros

Hi,

Want to try LazReport on Linux but get many paper errors at application start for (every?) paper size. Just start a new project drop a TfrReport to the main form and start the application. FPC 2.6.4 x86_64, trunk 46697, Qt, Kubuntu 14.04 64bit.

Gabor
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LazReport.jpg
Type: image/jpeg
Size: 19554 bytes
Desc: not available
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20141029/6bd83940/attachment-0001.jpg>

Reply by email

zeljko
to Gabor Boros
Gabor Boros wrote 6 lines
Hi, Want to try LazReport on Linux but get many paper errors at application start for (every?) paper size. Just start a new project drop a TfrReport to the main form and start the application. FPC 2.6.4 x86_64, trunk 46697, Qt, Kubuntu 14.04 64bit.

And printers4lazarus package is included in your project ? If yes, do you have any printer installed on your system ?

z.

Reply by email

Gabor Boros
to zeljko

2014.10.29. 18:25 keltez?ssel, zeljko ?rta:

Show quoted text 9 lines
On 10/29/2014 05:42 PM, Gabor Boros wrote: > Hi, > > Want to try LazReport on Linux but get many paper errors at application > start for (every?) paper size. Just start a new project drop a TfrReport > to the main form and start the application. FPC 2.6.4 x86_64, trunk > 46697, Qt, Kubuntu 14.04 64bit. And printers4lazarus package is included in your project ?

Added but nothing changed.

If yes, do you have any printer installed on your system ?

Yes. CUPS-PDF. I can print from the report designer and IDE too. Cross compiled i386-win32 application working also without explicitly added printers4lazarus.

Gabor

Reply by email

zeljko
to Gabor Boros
Gabor Boros wrote 12 lines
2014.10.29. 18:25 keltez?ssel, zeljko ?rta: > On 10/29/2014 05:42 PM, Gabor Boros wrote: >> Hi, >> >> Want to try LazReport on Linux but get many paper errors at application >> start for (every?) paper size. Just start a new project drop a TfrReport >> to the main form and start the application. FPC 2.6.4 x86_64, trunk >> 46697, Qt, Kubuntu 14.04 64bit. > > And printers4lazarus package is included in your project ? Added but nothing changed.

If it wasn't there then it crashed because of that.

Show quoted text 6 lines
> If yes, do you have any printer installed on your system ? Yes. CUPS-PDF. I can print from the report designer and IDE too. Cross compiled i386-win32 application working also without explicitly added printers4lazarus.

Don't know how it can work. Printer object comes from printer4lazarus.

zeljko

Reply by email

Gabor Boros
to zeljko

2014.10.29. 20:19 keltez?ssel, zeljko ?rta:

Show quoted text 5 lines
> Yes. CUPS-PDF. I can print from the report designer and IDE too. > Cross compiled i386-win32 application working also without explicitly > added printers4lazarus. Don't know how it can work. Printer object comes from printer4lazarus.

Compiled to GTK2 and application start without error. Qt bug? Every time I want to try a new thing with Qt found a problem. :-(

Wrote a message earlier with subject "Text position in controls" to the list. Nobody answered. You have any suggestions from Qt POV?

Gabor

Reply by email

zeljko
to Gabor Boros
Gabor Boros wrote 12 lines
2014.10.29. 20:19 keltez?ssel, zeljko ?rta: >> Yes. CUPS-PDF. I can print from the report designer and IDE too. >> Cross compiled i386-win32 application working also without explicitly >> added printers4lazarus. > > Don't know how it can work. Printer object comes from printer4lazarus. Compiled to GTK2 and application start without error. Qt bug? Every time I want to try a new thing with Qt found a problem. :-( Wrote a message earlier with subject "Text position in controls" to the list. Nobody answered. You have any suggestions from Qt POV?

I'm using Qt for production (commercial apps) on linux,win32 and mac and I don't have such problems. Please open separate issues about your problems and attach project examples, so I'll fix it.

zeljko

Reply by email