473,326 Members | 2,815 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,326 software developers and data experts.

How to print form ?

C.K
Hi,

I am doing a calendar program for printing. I have a vb form.
The form has a picture and a calendar grid made out of
buttons (I don't actually press the buttons, they were just
an easy way to make up the grid for the days of the month.
I now don't know how to print the form. If I will have to
use screen capture it will be dreadful, not to mention that
because the size of the form has to result on a fully covered
A4 page, it will not fit onto my 800x600 screen ?

The other way I was thinking to do the calendar was to use
an html page, because then I can add a picture and a table
quite easily. The down side is that javascript is not an ideal
language, and I really do need the dotnet calendar object.
Any ideas?
Nov 21 '05 #1
4 2402
1.) Get the form up on your monitor
2.) Drag a photo copier near your machine
3.) Lift the monitor and place it screen down on your photocopier
4.) Set the scaling and press go.

Voila !

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .
If U Need My Email ,Ask Me

Time flies when you don't know what you're doing

"C.K" <assdadad> wrote in message
news:ei**************@TK2MSFTNGP11.phx.gbl...
Hi,

I am doing a calendar program for printing. I have a vb form.
The form has a picture and a calendar grid made out of
buttons (I don't actually press the buttons, they were just
an easy way to make up the grid for the days of the month.
I now don't know how to print the form. If I will have to
use screen capture it will be dreadful, not to mention that
because the size of the form has to result on a fully covered
A4 page, it will not fit onto my 800x600 screen ?

The other way I was thinking to do the calendar was to use
an html page, because then I can add a picture and a table
quite easily. The down side is that javascript is not an ideal
language, and I really do need the dotnet calendar object.
Any ideas?

Nov 21 '05 #2
C.K

I'd better read the introduction ...

"One Handed Man ( OHM - Terry Burns )" <news.microsoft.com> wrote in message
news:u8*************@tk2msftngp13.phx.gbl...
1.) Get the form up on your monitor
2.) Drag a photo copier near your machine
3.) Lift the monitor and place it screen down on your photocopier
4.) Set the scaling and press go.

Voila !

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .
If U Need My Email ,Ask Me

Time flies when you don't know what you're doing

"C.K" <assdadad> wrote in message
news:ei**************@TK2MSFTNGP11.phx.gbl...
Hi,

I am doing a calendar program for printing. I have a vb form.
The form has a picture and a calendar grid made out of
buttons (I don't actually press the buttons, they were just
an easy way to make up the grid for the days of the month.
I now don't know how to print the form. If I will have to
use screen capture it will be dreadful, not to mention that
because the size of the form has to result on a fully covered
A4 page, it will not fit onto my 800x600 screen ?

The other way I was thinking to do the calendar was to use
an html page, because then I can add a picture and a table
quite easily. The down side is that javascript is not an ideal
language, and I really do need the dotnet calendar object.
Any ideas?


Nov 21 '05 #3
* "C.K" <assdadad> scripsit:
I am doing a calendar program for printing. I have a vb form.
The form has a picture and a calendar grid made out of
buttons (I don't actually press the buttons, they were just
an easy way to make up the grid for the days of the month.
I now don't know how to print the form. If I will have to
use screen capture it will be dreadful, not to mention that
because the size of the form has to result on a fully covered
A4 page, it will not fit onto my 800x600 screen ?


Mhm... I would implement separate printing code that is based on the
'PrintDocument' class to perform printing of the calendar.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 21 '05 #4

You can check out the code found in this article:

http://www.knowdotnet.com/articles/printform.html

It may help provide a good starting point for you, and it contains a link to
some code found on MSDN that may help as well.

Brian Davis
http://www.knowdotnet.com

"C.K" <assdadad> wrote in message
news:ei**************@TK2MSFTNGP11.phx.gbl...
Hi,

I am doing a calendar program for printing. I have a vb form.
The form has a picture and a calendar grid made out of
buttons (I don't actually press the buttons, they were just
an easy way to make up the grid for the days of the month.
I now don't know how to print the form. If I will have to
use screen capture it will be dreadful, not to mention that
because the size of the form has to result on a fully covered
A4 page, it will not fit onto my 800x600 screen ?

The other way I was thinking to do the calendar was to use
an html page, because then I can add a picture and a table
quite easily. The down side is that javascript is not an ideal
language, and I really do need the dotnet calendar object.
Any ideas?

Nov 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Pat | last post by:
I would like to send the Print Preview of a MS Access form to a Snapshot file. The form contains an OLE graph. BACKGROUND A snapshot of a report is possible. If I could I would use a report to...
0
by: Malcolm Cook | last post by:
I've discovered: Using "File > Print Preview" in a form's datasheet view with a server Filter crashes access after previewing... ....that is, unless ServerFilterByForm has been turned off...
2
by: Paul Mendez | last post by:
I have a form that consists of 150 records and is still growing. there are times when I want to print a certain record of the form, say record 12. I go to file --> print and choose the page number...
5
by: Darren DeCoste | last post by:
I have an access project with a Form that has a Command button to print the current record. I would like to Print the record 3 times, changing a text field on each print. The standard code of...
3
by: sea | last post by:
I need to be able to print the current form because the form has an embedded object of a .gif file, so report will not work -- does anyone know the way to do this? I tried some code, not sure what...
5
by: Raman | last post by:
Hello friends, I want to print an ID card. I have one Windows Form that contains front and back side. The printer is printing both front and back side at a time. I am trying to send both sides...
2
by: Rodo | last post by:
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...
6
tdw
by: tdw | last post by:
the View Orders form in my Access database has a Print button on it. It has other buttons too, like Edit etc. These buttons used to be at the bottom of the form laid out horizontally, but this was...
12
by: Studiotyphoon | last post by:
Hi, I have report which I need to print 3 times, but would like to have the following headings Customer Copy - Print 1 Accounts Copy - Print 2 File Copy -Print 3 I created a macro to...
11
by: JWest46088 | last post by:
I'm having difficulty trying to figure out how to print a text file from a hash table one line at a time. I have the text file read into the hash table and can print the text file all at once, but I...
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...
1
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: 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: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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: 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.