How to put a form feed in a file

A

aarepasky

I write output to a file to produce a report. Then the user prints
this file.

Someone else wrote this program and I have taken it over. He has
written it using VB.NET, but wrote it like it is VB6. The program is
like a report writer. The user wants some page breaks. I tried it put
in a form feed, but it does not work. I tried the VB.NET built in form
feed "vbFormFeed" and also tried my own char to do it. Neither worked.
All it did was print a "0" in the upper left of the report on the
first page for the "vbFormFeed". I put in a char with octal 16 and it
prints a "2" in the upper left of the report on the first page.

How can I put in a form feed in the file so it actually goes to a new
page when the file is printed.

Thanks,
riprip
 
A

aarepasky

Kevin,

I can not change the program to do that. It write to a file and that
is that. It is in a business and it can not be changed. What
character can I send to the file so when it is printed it goes to a new
page.

riprip
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top