471,353 Members | 1,795 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,353 software developers and data experts.

How can I print seperate pages from one file?

5
I have some files that I would like to print in a program.

I can print them individually, but that seems to jam the printer que full

Is there any way that I can read these into one file, then print them all as that one file, but still have each original file on seperate pages?

Is there any key for new page like there is for new line (\n)?

Any suggestions would be great.

Thanks in advance.
Dec 28 '07 #1
4 1170
bvdet
2,851 Expert Mod 2GB
I have some files that I would like to print in a program.

I can print them individually, but that seems to jam the printer que full

Is there any way that I can read these into one file, then print them all as that one file, but still have each original file on seperate pages?

Is there any key for new page like there is for new line (\n)?

Any suggestions would be great.

Thanks in advance.
Have you tried the form feed character "\f"?
Dec 28 '07 #2
mg0959
5
Have you tried the form feed character "\f"?
"\f" does not work. It doesn't do anything... any other ideas?
Dec 28 '07 #3
I have some files that I would like to print in a program.

I can print them individually, but that seems to jam the printer que full

Is there any way that I can read these into one file, then print them all as that one file, but still have each original file on seperate pages?

Is there any key for new page like there is for new line (\n)?

Any suggestions would be great.

Thanks in advance.
My i suggest that you make your program pause between sending the individual print jobs.
Or adjusting the system resources on the print server.

Hope this is of use.

Fred.
Jan 5 '08 #4
mg0959
5
thanks so much for the help
Jan 24 '08 #5

Post your reply

Sign in to post your reply or Sign up for a free account.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.