Lazarus
Home
Forum
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Using the Lazarus IDE
»
General
»
TPrintDialog in Linux
Downloads
Daily Snapshots
FAQ
Wiki
Bugtracker
IRC channel
Developer Blog
Follow us on Twitter
Mailing List
Free pascal
Other languages
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
About donations (wiki)
Bookstore
Lazarus, the complete guide
Search
Advanced search
« previous
next »
Print
Pages: [
1
]
Author
Topic: TPrintDialog in Linux (Read 1785 times)
eric
Jr. Member
Posts: 94
TPrintDialog in Linux
«
on:
August 22, 2005, 05:46:57 pm »
Does TPrintDialog work in Linux at present? On my system the program exits immediately when processing PrintDialog1.Execute. No exception is raised and no output messages are posted.
I'm using the latest SVN version of Lazarus with FPC 2.0.
Eric
Logged
alanphys
New member
Posts: 30
RE: TPrintDialog in Linux
«
Reply #1 on:
August 23, 2005, 08:10:36 am »
Mine works fine on FC2 using CUPS. Check that you have both the Printers and the PrinterDlgs units in your uses clause and that your printer is correctly installed and set up. Some other people have reported strange behaviour with printing.
Logged
Alanphys
eric
Jr. Member
Posts: 94
RE: TPrintDialog in Linux
«
Reply #2 on:
August 23, 2005, 08:55:53 am »
Thanks, I've got all those things. I do have two printers though; I wonder if TPrintDialog chokes on more than one?
Eric
Logged
alanphys
New member
Posts: 30
RE: TPrintDialog in Linux
«
Reply #3 on:
August 24, 2005, 08:13:22 am »
I have three printers installed and I can print from all using the print dialog. Do you maybe want to post your code?
alanphys
Logged
Alanphys
eric
Jr. Member
Posts: 94
RE: TPrintDialog in Linux
«
Reply #4 on:
August 24, 2005, 12:19:56 pm »
Thanks for the suggestion, but on further investigation it turns out that the problem is a conflict between Printer4Lazarus or TPrinter and one of the forms in my project. Any use of the Printer object causes a crash if this particular form is open, or if it's opened subsequently. Printing works fine in other projects. I'm going to have a lot of fun debugging this.
Eric
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Using the Lazarus IDE
»
General
»
TPrintDialog in Linux
Recent
Q about capabilities of t...
by
mdlueck
[
Today
at 06:30:59 pm]
Cross Compile
by
Leledumbo
[
Today
at 05:23:05 pm]
TaChart ternary plot func...
by
wp
[
Today
at 05:08:44 pm]
Stable database?
by
BigChimp
[
Today
at 03:27:28 pm]
Lazarus 0.9.30.4 released
by
felipemdc
[
Today
at 03:08:45 pm]
Colored cells of a string...
by
paskal
[
Today
at 02:34:31 pm]
writeln fails to output t...
by
jack616
[
Today
at 02:18:10 pm]
[SOLVED] How to install l...
by
HexNihilo
[
Today
at 01:24:54 pm]
libUSB under win32
by
helloa
[
Today
at 01:20:01 pm]
[SOLVED] How to make a pu...
by
paskal
[
Today
at 01:14:38 pm]