Juan,
Thank you so much for the suggestion. I will try to design the report using VFP report writer, but if it fails or I see that I need more control over where printing is done, I will use your approach.
>Hello Dmitry.
>
>If you are filling in pre-printed forms and want to have 100% control over the printing process you can try another thing, specially when you have a dot matrix and want Text mode.
>If this is your situation, we solved this issue in order to print a 7" form and we don't depend on printer drivers or paper sizes.
>
>Try this in your printing procedure:
>
>** -----------------------------------------------
>
>set device to print
>
>??? " " && bypasses the printer driver and sends data
> && directly to the printer.
> && See the help for ??? and PROW() commands
>
>@ prow() + 1, 1 say " "
>@ prow() + 1, 20 say alltrim(cCompany)
>@ prow() + 1, 20 say Date()
>
>@ prow() + 5 say " "
>
>** Add any VFP commands you need to print your form: IF, CASE, etc.
>
>** Close printer
>
>
>set device to screen
>
>
>** --------------------------------------
>
>
>
>
>
>
>
>
>
>>I need to design a report which will print on a continuous pin-fed paper where each page is 1/3 of regular 11" paper.
>>
>>How and where do I specify the custom size of the paper and disable page eject?
>>
>>TIA.
>>Dmitry
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham