Re: Printing problems



Teemu wrote:
I have an application created with VB6 and now I'm converting it to VB 2005. Conversion is not so simple because printing is so much different.

In my app I have Timer-component, which is creates graphics to printer every second. After 2 minutes it calls Printer.Enddoc and the result is printed out. Printing process is on background and I can use my program normally during this 2 minutes.

Now in VB 2005 if I'm right, whole printing process starts when I call Printdocument1.Print. Is there some way to send graphics to printer before that command and then simulate Enddoc-command with this PrintDocument1.Print command?

Oh, and creating a bitmap or textfile during these 2 minutes is not suitable, because text should be printed as text and lines as lines, not as bitmap.

Hopefully somebody understood what I'm trying to explain. Maybe there is a solution, but I haven't figured it out yet.

-Teemu

Would launching the printing in a new thread solve you problem? This would allow your program to function normally while the printing happens in the background.


Chris
.



Relevant Pages

  • RE: Problems printing in Word 2000
    ... Problems printing in Word 2000 ... click the article number below to view the article in the Microsoft ... Page Number in Footer Is Cut Off or Missing ... Graphics, Objects, and Pictures ...
    (microsoft.public.office.misc)
  • Re: HP Laserjet 1200 on USB
    ... > 20MB graphics. ... Are the Postscript files being sent to the printer still 300 DPI after ... the bitmap to convert it to device resolution. ... point converting the data to HP LaserJet format before printing becomes ...
    (freebsd-stable)
  • Re: Had a question about the menustrip
    ... double click the exit button to go to the source page and it takes me to the on click exit blah blah blah and you would put Application.Exit; Alright well what would I put for the print preview and the print and Save ... If all you want is to print a copy of your form, it could be as simple as just using the Control.DrawToBitmapmethod to create an in-memory copy of the form, and then using the Graphics.DrawImage() method to actually draw that to the Graphics instance you get from the printing API. ... So if you've already figured out how to deal with the Paint event, it's an easy transition to write a handler for the PrintPage event. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: IE6 wont accept cookies
    ... > I just tried print a web page and when I had IE print the> whole page, it printed most of the graphics on the page, but not all. ... >> As for the images not printing, you might try the following and see if it>> will help: ... >>>> Cookies error WebSite Reports That You Must Enable Cookies ... >>>> How to make a good newsgroup post: ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: how print screen w/o pasting into Word?
    ... Printing a text screen to a printer that supports text (as virtually every ... accepting graphics without using a printer driver. ... All images are scaled, and word will resize the image to fit the ... As with anything you download from the internet, ...
    (microsoft.public.win2000.general)