I'd like to be able to print my form or some controls on it. I have found
lots of references for this but they all talk about printing a text document
from a form.
Any help will be appreciated
Dino
--
-------------------------------------------------------------------------
FIGHT BACK AGAINST SPAM!
Download Spam Inspector, the Award Winning Anti-Spam Filter http://mail.giantcompany.com 5 1596
Capture an image of the form as outlined in the GDI+ FAQ then use the Print
system to send this bitmap to the printer.
--
Bob Powell [MVP]
C#, System.Drawing
The October edition of Well Formed is now available.
Find out how to use DirectX in a Windows Forms control http://www.bobpowell.net/currentissue.htm
Answer those GDI+ questions with the GDI+ FAQ http://www.bobpowell.net/gdiplus_faq.htm
Read my Blog at http://bobpowelldotnet.blogspot.com
"Dino M. Buljubasic" <di************ *@rivusglobal.c om> wrote in message
news:HNvpb.1148 46$EO3.73241@cl grps13... I'd like to be able to print my form or some controls on it. I have found lots of references for this but they all talk about printing a text
document from a form.
Any help will be appreciated Dino
--
------------------------------------------------------------------------- FIGHT BACK AGAINST SPAM! Download Spam Inspector, the Award Winning Anti-Spam Filter http://mail.giantcompany.com
* "Dino M. Buljubasic" <di************ *@rivusglobal.c om> scripsit: I'd like to be able to print my form or some controls on it. I have found lots of references for this but they all talk about printing a text document from a form.
Screenshot:
<http://www.mvps.org/dotnet/dotnet/samples/windowsandforms/downloads/Screenshot.zip>
Printing:
<http://msdn.microsoft. com/library/en-us/dnvssamp/html/vbcs_SimplePrin ting.asp>
--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
<http://www.plig.net/nnq/nquote.html>
I am doing that but it has poor quality. When image is captured and sent to
a printer, the images look bloored, I need to have sharp printout since it
is a form.
Thanks for your help
Dino
--
-------------------------------------------------------------------------
FIGHT BACK AGAINST SPAM!
Download Spam Inspector, the Award Winning Anti-Spam Filter http://mail.giantcompany.com
"Bob Powell [MVP]" <bob@_spamkille r_bobpowell.net > wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. .. Capture an image of the form as outlined in the GDI+ FAQ then use the
Print system to send this bitmap to the printer.
-- Bob Powell [MVP] C#, System.Drawing
The October edition of Well Formed is now available. Find out how to use DirectX in a Windows Forms control http://www.bobpowell.net/currentissue.htm
Answer those GDI+ questions with the GDI+ FAQ http://www.bobpowell.net/gdiplus_faq.htm
Read my Blog at http://bobpowelldotnet.blogspot.com
"Dino M. Buljubasic" <di************ *@rivusglobal.c om> wrote in message news:HNvpb.1148 46$EO3.73241@cl grps13... I'd like to be able to print my form or some controls on it. I have
found lots of references for this but they all talk about printing a text document from a form.
Any help will be appreciated Dino
--
------------------------------------------------------------------------- FIGHT BACK AGAINST SPAM! Download Spam Inspector, the Award Winning Anti-Spam Filter http://mail.giantcompany.com
HI Bob,
I do capture the image of my form, but the quality is very poor.
I am doing the same other way, by looping trough the controls of my form and
painting them directly to the printer, ... works fine, but forms are to
complex, so I would have to write different printing procedure for each
form.
I noticed that when I use Alt + PrintScr on my form, then paste it on a word
document, the image has just perfect quality and the printout, too. So I am
wondering how can I do Alt+PrintScr programatically on an active form and
then paste the image in a word document and send that document to the
printer.
Any help will be gratefully appreciated,
Dino
--
-------------------------------------------------------------------------
FIGHT BACK AGAINST SPAM!
Download Spam Inspector, the Award Winning Anti-Spam Filter http://mail.giantcompany.com
"Bob Powell [MVP]" <bob@_spamkille r_bobpowell.net > wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. .. Capture an image of the form as outlined in the GDI+ FAQ then use the
Print system to send this bitmap to the printer.
-- Bob Powell [MVP] C#, System.Drawing
The October edition of Well Formed is now available. Find out how to use DirectX in a Windows Forms control http://www.bobpowell.net/currentissue.htm
Answer those GDI+ questions with the GDI+ FAQ http://www.bobpowell.net/gdiplus_faq.htm
Read my Blog at http://bobpowelldotnet.blogspot.com
"Dino M. Buljubasic" <di************ *@rivusglobal.c om> wrote in message news:HNvpb.1148 46$EO3.73241@cl grps13... I'd like to be able to print my form or some controls on it. I have
found lots of references for this but they all talk about printing a text document from a form.
Any help will be appreciated Dino
--
------------------------------------------------------------------------- FIGHT BACK AGAINST SPAM! Download Spam Inspector, the Award Winning Anti-Spam Filter http://mail.giantcompany.com
Hi Herfried,
Screenshots application you sent to me seams to be exacltly what I am trying
to do but it works fine for capturing whole desctop. I played little bit
with it and it seams to me that it does not do the job when I want to
capture only active form on the desctop.
All I changed to achieve this is inside the event:
Private Sub btnCapture_Clic k(ByVal sender As System.Object, ByVal e As
System.EventArg s) Handles btnCapture.Clic k
m_ssgen.Window = Me.Handle // I added this line
Me.picScreensho t.Image = m_ssgen.Capture ()
End Sub
Any help will be appreciated,
Thank you, Dino
--
-------------------------------------------------------------------------
FIGHT BACK AGAINST SPAM!
Download Spam Inspector, the Award Winning Anti-Spam Filter http://mail.giantcompany.com
"Herfried K. Wagner [MVP]" <hi************ ***@gmx.at> wrote in message
news:bo******** *****@ID-208219.news.uni-berlin.de... * "Dino M. Buljubasic" <di************ *@rivusglobal.c om> scripsit: I'd like to be able to print my form or some controls on it. I have
found lots of references for this but they all talk about printing a text
document from a form. Screenshot:
<http://www.mvps.org/dotnet/dotnet/sa...nloads/Screens
hot.zip> Printing:
<http://msdn.microsoft.com/library/en...mplePrinting.a
sp> -- Herfried K. Wagner MVP · VB Classic, VB.NET <http://www.mvps.org/dotnet>
<http://www.plig.net/nnq/nquote.html> This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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
display the graph but it is not possible to send query parameters to
an OLE graph on a report (or programatically change any properties of
an OLE Graph).
However with a Form you do have the ability to change the RowSource of
|
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 after applying the
filter.
See the steps to recreate bug below for details.
|
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 of the
record. But what I would like to do, to decrease the amount of
mistakes of print all 150+ records, I would like a button to only
print the record that is currently displayed on screen. I know it can
be done, I just don't know how. Any...
|
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
private sub printbutton_click()
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.PrintOut acSelection
End sub
|
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 it was now,
guess docmd.printout or something but that prints ALL the forms --
also the each page of the form does not always start at the next page
even if allowcontinuousforms is set to no. The preview button previews
all the forms as well,...
| |
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 at a time. But it is printing
front side on one card and back side on second card. I want to print
both sides in a same card.
|
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 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"...
|
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 causing the form to be just long enough vertically that some people when viewing it on their screen would have to scroll up or down to see the top or bottom of the form.
So, my solution was to make the form wider and move the command button over to...
|
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 print the report three times, but do not know how
|
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 can't seem to figure out how to do it one line at a time.
Here is what I'm trying to do: I want the user to be able to print the text file one line at a time by clicking a button to see the next line.
Example: If text_file1 first line is...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |