?
Solved

How to  previw/print html file without using TWebBrowser

Posted on 2003-11-25
9
Medium Priority
?
212 Views
Last Modified: 2010-04-05
How can I previw/print html file without using TWebBrowser or another Active X component.

I need this to do under linux with kylix3.

Best regards,
djuRa
0
Comment
Question by:djuzoran
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 17

Expert Comment

by:Wim ten Brink
ID: 9817772
Doesn't Kylix have this TTextBrowser component that can parse HTML input?
0
 
LVL 17

Accepted Solution

by:
Wim ten Brink earned 500 total points
ID: 9817785
No, wait. It's the TTextViewer component! I just checked and opened a HTML file in it. Works quite fine.
0
 

Author Comment

by:djuzoran
ID: 9817993
Yes, but I can not print with TTextViewer.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 2

Expert Comment

by:TheLeader
ID: 9821879
listening ...
0
 
LVL 5

Assisted Solution

by:DeerBear
DeerBear earned 500 total points
ID: 9823205
Hi,

Yeah, you can't print with TTextViewer, but you can print images :-)
Just capture the image at the desired size and send it to lpr :-)

HTH,

Andrew
0
 

Author Comment

by:djuzoran
ID: 9823248
Ok, but that is not answer for my question.
I want to print html file, not to copy image from screen to printer.
What will be if I have scrollbar - I can not capture image.
0
 
LVL 5

Expert Comment

by:DeerBear
ID: 9823257
Hi,

I didn't check yesterday for this, but you may well have a scrollbar
component under Kylix which would help in expanding the TextViewerand
snapshot a /complete/ image, I think.

Would you please check it out?

Rgds,

Andrew
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses
Course of the Month14 days, 20 hours left to enroll

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question