[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 164
  • Last Modified:

printing textboxes/lines and dir and file lists

I know how to but why do i need to close down the app to start the printing?
0
markyvt
Asked:
markyvt
  • 4
  • 3
  • 2
  • +1
1 Solution
 
MarineCommented:
what do you mean by closing app to start printing ? Explain please.
0
 
markyvtAuthor Commented:
I give the printing command.
But when i close the app. the printer starts to print.
0
 
markyvtAuthor Commented:
When the app is closed the windowsprinting programm starts to print, i want to print while my own programm is running
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
MarineCommented:
Are you using Printer Object ? Please provide some code.
0
 
vikiingCommented:
¿Ate you executing a Printer.EndDoc instruction? That flushes printer's buffers, forcing printing to start immediately...
0
 
RobMWilliamsCommented:
When you close your program VB calls Printer.EndDoc which sends your output to the printer.  So, if YOU call Printer.EndDoc the printer will start.

Example:
Printer.Print "hello there!"
Printer.EndDoc

Rob
0
 
MarineCommented:
stupidy take over:(
0
 
markyvtAuthor Commented:
I use printer.print text1.text
thats all
0
 
vikiingCommented:
Any thing that is sent to the printer is stored in internal buffers; upon execution of EndDoc (or when buffers become full-filled), and only then, buffers are emptied, and printing starts.

0
 
markyvtAuthor Commented:
I know enough thank you all.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 4
  • 3
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now