473,325 Members | 2,308 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,325 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 2620
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...
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...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
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)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.