Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Saving Data to text file.

Status
Not open for further replies.

cornboy88

Programmer
Jan 16, 2002
59
0
0
US
I have a program that prints out pdf files.
I have a list of 30 Bulk centers.
Right now I print out one bulk center per sheet, each sheet has 3 spots to print the center info.
It kind of looks like this:
1 1 1 < this is one page
2 2 2 < this is one page
3 3 3 < this is one page

I am altering the program so the user can choose how many to print for each bulk center.
I need to change the output to look like this:
1 2 5 < this is one page
1 3 5 < this is one page
1 3 5 < this is one page
2 4 6 < this is one page


They want to be able to cut the paper into 3 columns then take column 1 and put It on column 2 and column 2 on column 3.
By having them choose how many bulk center the output could change.
So I need to keep it in order and I am not really sure how to do it.

I would just like to write it out to a text file with some sort of special character separating them and have each row in the text file represent a printed page.

1:2:5
1:3:5
1:3:5
2:4:6

anybody have an idea?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top