Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Send a text file containing CHR(12) 's to the printer .
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00429558
Message ID:
00433306
Vues:
25
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?
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform