By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,478 Members | 1,374 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,478 IT Pros & Developers. It's quick & easy.

Best way to print a paper form ?

P: n/a
Hi all,

We have a "testing report" form at work that we fill with data (typing for
now). The form has a table, other lines and a company logo. I can make a
windows form that will get the data from the user (although eventually it
will need to be read from a serial port) and generate a print preview of the
form but I don't know how to display just the printed form (and data) and
not the rest of the entry fields or the "print" and "exit" buttons. The data
needs to be saved to a text file as well after printing. I tried a windows
form to get the data and call another form to print but I always have the
print button show up in the printed form.

What's a better way to do something like this ?

Thanks
Mar 29 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hi,

For a win app I always use Crystal Reports. The version shipped with VS is
good enought for most of the tasks at hand.

"Rodo" <ds*****@yahoo.comwrote in message
news:sXHOh.59377$un.17060@trnddc03...
Hi all,

We have a "testing report" form at work that we fill with data (typing for
now). The form has a table, other lines and a company logo. I can make a
windows form that will get the data from the user (although eventually it
will need to be read from a serial port) and generate a print preview of
the form but I don't know how to display just the printed form (and data)
and not the rest of the entry fields or the "print" and "exit" buttons.
The data needs to be saved to a text file as well after printing. I tried
a windows form to get the data and call another form to print but I always
have the print button show up in the printed form.

What's a better way to do something like this ?

Thanks

Mar 29 '07 #2

P: n/a
I'm not sure if I follow .... so create the "testing report" template in
crystal report and have the window form (C#) fill the cells and then print
it ? What if I wanted to preview it or print preview it ?

Thanks

"Ignacio Machin ( .NET/ C# MVP )" <machin TA laceupsolutions.comwrote in
message news:uI**************@TK2MSFTNGP02.phx.gbl...
Hi,

For a win app I always use Crystal Reports. The version shipped with VS is
good enought for most of the tasks at hand.

"Rodo" <ds*****@yahoo.comwrote in message
news:sXHOh.59377$un.17060@trnddc03...
>Hi all,

We have a "testing report" form at work that we fill with data (typing
for now). The form has a table, other lines and a company logo. I can
make a windows form that will get the data from the user (although
eventually it will need to be read from a serial port) and generate a
print preview of the form but I don't know how to display just the
printed form (and data) and not the rest of the entry fields or the
"print" and "exit" buttons. The data needs to be saved to a text file as
well after printing. I tried a windows form to get the data and call
another form to print but I always have the print button show up in the
printed form.

What's a better way to do something like this ?

Thanks


Mar 30 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.