Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Send a text file containing CHR(12) 's to the printer .
Message
From
24/10/2000 17:51:05
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00429558
Message ID:
00433819
Views:
13
I'll have to think about this. I wonder if we can test the _pageno at the group header and force a page ejection? This seems like a good direction to look in.

Fred


>Fred,
>
>May be you can help me with the problem, I put aside for a while. I have one idea to try, but it seems to be complicated, may be you know better ways. I have a report designed in VFP report writer. The report itself is quite complicated. I have to insert a blank page, if group ends on odd number in order to print each group from the new page, IOW, if the user uses both sides of page to print it should be like:
>Group1
>Page1
>Page2
>Page3
>Empty Page
>
>Group2
>Page1
>Empty page
>
>Group3
>Page1
>Page2
>
>etc.
>
>Do you have ideas, how can I do this?
>
>Thanks in advance.
>
>>David:
>>
>>Thanks very much for the simplest solution yet! I tried it first, and it works great. I'm still going to explore the suggestions from Ed R. and Trey W.
>>
>>
>>
>>
>>>Bruce,
>>>
>>>You can stay within FoxPro by using the ??? command
>>>
>>>lcFile = filetostr(...)
>>>??? lcFile + ""
>>>
>>>>I have some text files, generated by another program, that need to be printed from within my VFP application. These text files contain embedded CHR(12)'s where each page break should occur. (Line width is already limited to 80 characters, so that's no problem.)
>>>>
>>>>How can files like these be printed programmatically without losing the pagination?
Fred Lauckner

You know, it works on my computer. I don't know what your problem is.

.Net aint so bad.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform