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:
00017211
Views:
61
>>>>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.
>
>I'm confused. 1. Are you mailing (physical) or e-mailing ? 2. If you are e-mailing (I think you are) then... Is the text you created going into the body of the message or as an attachment to the mail (sounds like attachment). 3. If this is an attachment, Why not send in body of message and let e-mail handle printing/pagination. If sent as attachment, can this be a report to form ascii ?

there is no report to form ascii in 2.6...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform