|
Home > Archive > Programming with dBASE > March 2006 > Printing Text files
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Printing Text files
|
|
| Jan Hoelterling 2006-03-07, 9:23 am |
| Hi Folks,
I am working on a program that takes "text" print jobs from another
application and prints them from Windows. I use a report and a text control
with variable that essentially covers the whole page. This works well for
single page print-jobs, but not for multi-page as I can't control the page
break. Is there any way I can control when a page break will occur, maybe
with some HTML tag? Or any other ideas?
Thanks,
Jan
| |
| Ronnie MacGregor 2006-03-07, 9:23 am |
|
On Tue, 7 Mar 2006 08:45:51 -0600
Jan Hoelterling said :
Hi Jan
> I am working on a program that takes "text" print jobs from another
> application and prints them from Windows. I use a report and a text control
> with variable that essentially covers the whole page. This works well for
> single page print-jobs, but not for multi-page as I can't control the page
> break. Is there any way I can control when a page break will occur, maybe
> with some HTML tag? Or any other ideas?
Chop the text up into strings of length less than x characters without
splitting whole words. (I have a function that will do that if you need it.)
Put the strings into the rows of a temp table.
Use QR3 to produce your report using that table as the basis for your report.
Go to the Group section and select the temp table field you want to group on,
and choose "new Page for each Group"
Hope this helps.
--
Ronnie MacGregor
Scotland
Ronnie at
dBASEdeveloper
dot co dot uk
www.dBASEdeveloper.co.uk
| |
| Jan Hoelterling 2006-03-07, 11:23 am |
|
"Ronnie MacGregor" <No_Sp@m.Thanks> wrote in message
news:MPG. 1e77b51dee28ae249897
43@news.dbase.com...
> Chop the text up into strings of length less than x characters without
> splitting whole words. (I have a function that will do that if you need
> it.)
Hi Ronnie,
the text is fortunately already formatted. I thought about the route via a
temporary table, wasn't sure if that was the best idea.
Thanks for your thoughts,
Jan
|
|
|
|
|