Home All Groups Group Topic Archive Search About
Author
15 Mar 2006 4:32 PM
Samuel Shulman
Hi

I have written an entire module in .NET printing using a PrintDocument but
now the users complain that they want something like .lay files that will
allow them to change the layout of the printed document.
Is there any tool that can be attached to .NET which has a similar function?

Thank you,
Samuel Shulman

Author
15 Mar 2006 5:59 PM
tommaso.gastaldi
Hi Samuel
Sincerely, I am not familiar with this .lay stuff, but I have seen that
there are at least 3 kinds of files that can take this extension. It's
clear however you mean a "layout" file, which specifies the page
layout.

I guess (just a hope) it should not too difficult to parse this file,
which probably is some plain text description - or xml (?) - and to
load the appropriate settings into the "PageSettings" object before
printing.

Can you provide a sample of this .LAY file. Or * much better * a
pointer to the relative  specification?

-tom

Samuel Shulman ha scritto:

Show quoteHide quote
> Hi
>
> I have written an entire module in .NET printing using a PrintDocument but
> now the users complain that they want something like .lay files that will
> allow them to change the layout of the printed document.
> Is there any tool that can be attached to .NET which has a similar function?
>
> Thank you,
> Samuel Shulman
Author
15 Mar 2006 6:08 PM
Chris
tommaso.gasta***@uniroma1.it wrote:
Show quoteHide quote
> Hi Samuel
> Sincerely, I am not familiar with this .lay stuff, but I have seen that
> there are at least 3 kinds of files that can take this extension. It's
> clear however you mean a "layout" file, which specifies the page
> layout.
>
> I guess (just a hope) it should not too difficult to parse this file,
> which probably is some plain text description - or xml (?) - and to
> load the appropriate settings into the "PageSettings" object before
> printing.
>
> Can you provide a sample of this .LAY file. Or * much better * a
> pointer to the relative  specification?
>
> -tom
>
> Samuel Shulman ha scritto:
>
>
>>Hi
>>
>>I have written an entire module in .NET printing using a PrintDocument but
>>now the users complain that they want something like .lay files that will
>>allow them to change the layout of the printed document.
>>Is there any tool that can be attached to .NET which has a similar function?
>>
>>Thank you,
>>Samuel Shulman
>
>

Why not let they have access to .RPT files (Crystal Report)  They can
change the report all they want and you have built in access in vb.net.

Chris