Log in

View Full Version : Removing Lines from Text Document Durring Print



mjsmikey
12-10-2008, 03:46 PM
I have a text document, Actually a .lst document and it has about 600 pages in it (when Printed). I need to print this, but not print all of it.
I currently have Limited Experience with VB, Javascript, HTML, and CSS.

I need to print only Lines from the Text document where the Rows are Less then 15 lines, all other lines can be Skipped.

What should my code looklike, As I have Absolutely No Clue at this Point and there isn't anything on the internet about this type of Filtering Process.

Thanks,

MIKE

Medyman
12-11-2008, 03:58 AM
I have a text document, Actually a .lst document and it has about 600 pages in it (when Printed). I need to print this, but not print all of it.
I currently have Limited Experience with VB, Javascript, HTML, and CSS.

I need to print only Lines from the Text document where the Rows are Less then 15 lines, all other lines can be Skipped.

What should my code looklike, As I have Absolutely No Clue at this Point and there isn't anything on the internet about this type of Filtering Process.

Thanks,

MIKE

What do you mean by "rows" exactly? Are you talking about rows in a HTML table? If not, what specifies a row? And how is each row separated?

Is this only for you or is this for a website (i.e. used by a wide audience with varied browser preference)?

mjsmikey
12-15-2008, 01:20 PM
I'm specifically talking about rows in .txt documents

There are no special characters from any formatting or anything like that.
This is not used in HTML or anything, although I could transfer the BASIC text to HTML, but it will not have any line breaks.

The Document will be of this format look....
--------------------

Document Name
Document Head

Hello I need this Information
Good Day People
Just an example

Skip Me jhikniunln f2541654245
Skip Me Stuff 16521455 1451455665
Kabonlkmoin 44545455 15515654545
Skip Me jhikniunln f2541654245
Skip Me Stuff 16521455 1451455665
Kabonlkmoin 44545455 15515654545
Skip Me jhikniunln f2541654245
Skip Me Stuff 16521455 1451455665
Kabonlkmoin 44545455 15515654545
Skip Me jhikniunln f2541654245
Skip Me Stuff 16521455 1451455665
Kabonlkmoin 44545455 15515654545
Skip Me jhikniunln f2541654245
Skip Me Stuff 16521455 1451455665
Kabonlkmoin 44545455 15515654545

I need this information because i'm the headder

Test this information
Tell me...


Skip Me.... jlnoinionolnm lkmlnonolmlknoni
ononionln
noon
.
.
.
(and it goes on)

----------------------------------------------

Just need to skip the rows were there are 15 or more bundled together