Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need a Page Eject Code
Message
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00017170
Message ID:
00017199
Views:
65
>>My users needed to send a report no to the screen or printer but to a file, and then have that file mailed to them so the can distribute it through out the department. I had no trouble creating the report and mailing it, but I have not been able to send the characters needed to perform a page eject when I will to have the next data on a new page. can anyone help me solve this. Currently I am using the following method:
>>
>>Set device to file mfilename
>>
>>DO WHILE NOT EOF()
>> @ 1,1 SAY blah blah.....
>> @ 2,1 SAY blah blah....
>> * Need an eject here....
>>ENDDO
>
>hi bret,
>
>try " ??? chr(12)"

No luck, the ??? expects you to go directly to a printer. I am not going
to a printer but a file. A CHR(12) formfeed does not formfeed the page
when sending to the printer, namely a laserjet iv. What I see in the file is my text and a funny looking box character when viewing it in wordpad of
windows 95. The main goal here is to create a text file that will be mailed, but have page breaks in it to separate the data. Maybe I am thinking
wrong in my assumption that a generic form feed can be produced in
FoxPro that can be acted upon by a printer that the user choses to send
this emailed file to.
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform