473,287 Members | 2,682 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,287 software developers and data experts.

Best way to print a paper form ?

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
2 2619
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Martin | last post by:
I am interested to know of other peoples 'best ways' to print calculation results to the screen and printer, using VB6. My usual out put is a single page up to four pages mostly text and figures...
0
by: gilga123 | last post by:
Trying & trying ad infinitum to print page in landscape mode from Java program - orientation is correct landscape but printing width will NOT go to landscape - always prints in portrait mode width...
15
by: Laurens | last post by:
Hi, Which browser has the best CSS paged media support? I'm about to write a business plan, which needs to be printed on paper to be presented to the bank. Now I cringe at doing this in...
1
by: Clark Nu | last post by:
My English is very pool. I have a window contains some controls that based on "UserControl",now I want print them on a paper,and I want them can keep the true size,it means if had a control with...
0
by: vbmania | last post by:
Hello, I am going to print paper of 15 X 4 Inch. It's a continuous form. But When I Print Multiple Paper, Printer does'nt print back to back. If I am goint to print 3 pages. Jump over...
0
by: Anniech | last post by:
I use VB.NET to integrate with crystal report 9.0 to print a report with custom paper size (using Dot Matrix printer). I have already added a custom paper size in the printer server and set the...
3
by: Garmt de Vries | last post by:
On the website of the Dutch Jules Verne Society (www.jules-verne.nl), we have several forms that visitors can use to order something, or to apply for membership. Of course, a form's primary purpose...
9
by: James Wong | last post by:
Hi, I use the RichTextBox in my program. It will use different language in this RichTextBox (chinese and english characters), and it set the "DualFont" and use different fonts. By the way, how...
2
by: Brad Pears | last post by:
I have a vb.net 2005 application and am using the print preview screen. This screen has a printer icon on it that the user can use to print the document currently being viewed. It uses the default...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.