Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Insert blank page if page group finishes on the odd page
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00444634
Message ID:
00445683
Views:
13
Hi Vlad,

Actually, I already tried your second idea with no lack :( Since it was while ago, I may try again.

I probably will work on your first idea too and see, if I achieve the desired result.

Thanks. I'll try today and let you know the results.

>Hi!
>
>Its quite clear for me why it does not works. However, it seems it will be hard to get it work. It is different for different printers, printer drivers and printer settings.
>
>All that is required is to get text printed as text, not as graphics. Some printer drivers optimize printing by sending text directly to printer instead of converting it into graphic image. However, this is only works in following cases:
>
>1. Either font of text is available at printer or priner have ability to load font and than use it to print text.
>
>2. Option for printer driver to print text as graphics is turned off.
>
>There may be many other reasons why text printed as graphics, for example, matrix printers will do that always. Anyway, once text printed as text, you will be able to use chr(12) code.
>
>I comed upon another solution. You may try to use some sort of control with spaces that enlarge self enough to produce another page. So, when it is not printed - no change. When printed, footer of group enlarged enough to print another page. I dont know, however, if this will help, but at least you may try. And this does not require printer configuring.
>
>>Hi Vlad,
>>
>>Really glad to see you again here. Yes, I tried to put a textbox with chr(12) expression and print when (and even without print when, just to try). It prints square box instead on some printers, and on some it just ignores. Also, I'd like to produce PDF from this report, but the blank page should be insterted. The only idea, which I have in mind and it's really complicated, is run report twice, the first run would insert records, etc. I was hoping, may be somebody else had this problem before and solved it by more simple way, than my idea.
>>
>>>Hi!
>>>
>>> How you print chr(12) code in report? I suggest you place a textbox in the group footer with expression "chr(12)" and specify in 'Print When' condition of printing to print it only when current page is not odd. Is this correct or you use some other way?
>>>
>>>>Hi everyone,
>>>>
>>>>I asked this question before and nobody suggested something, that works :(
>>>>I have my own idea to try, but it's quite cumbersome. Therefore I'd like to ask you, do you know a trick to insert a blank page, if Group ends on odd page? This report prints on both sides of paper and each group should start from the odd number, e.g. I have to insert a blank page, if group ends on odd page.
>>>>
>>>>chr(12) doesn't work, unfortunately. It works fine in the old version of this Report, written in RR.
>>>>
>>>>Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform