Go Back   Cyber Tech Help Support Forums > General > The Anything Else Board

Notices

Reply
 
Topic Tools
  #1  
Old October 19th, 2007, 10:05 PM
jdcarte jdcarte is offline
CTH Subscriber
 
Join Date: Dec 2005
Posts: 27
Angry html printing

I have an application that creates a folder with several html files - main, index and hundreds of linked pages. How can I print this lot into a single hardcopy document? There must be a utility somewhere to do this but the solution escapes me.
John
Reply With Quote
  #2  
Old October 20th, 2007, 07:28 AM
oracle128's Avatar
oracle128 oracle128 is offline
Α Ω
 
Join Date: Oct 2000
O/S: Windows XP Pro
Location: Melbourne, Australia
Age: 24
Posts: 9,401
Go here and look at the section for PrintHTM.bat, Version 2.00. Make sure to follow the instructions to get Kix installed. Copy the code into notepad, save it, then rename it to printhtm.bat.

Now create another batch file, this time using the following code:
Code:
for /f "delims=" %%a in ('dir /b *.html') do call printhtm "%%a"
These 2 batch files should be in the same folder as your HTML files.
__________________
Oracle's backup tutorial

"A lot of people say games are addictive. Well, they're addictive in the sense that anything you like doing you repeat endlessly. But no one would say, 'Mr Kasparov, you have a chess problem,' or 'Tiger Woods, you have a golf addiction.'" - Ian Livingstone, Creative Director, Eidos.

"A problem well stated is a problem half solved" - Charles Franklin Kettering
Reply With Quote
Reply

Bookmarks

Topic Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:12 AM.

[ RSS ]