Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

printing to printers 1

Status
Not open for further replies.

LordGarf

Programmer
Apr 13, 2005
34
BE
Hi all,

I know that when you use the print command you print stuff to your default printer. and if You use common dialogue you can open up a print dialog.

but what I would like to create 2 simple buttons that are linked to a certain printer. So if you press button 1 you print to the default printer and if you press 2 you print to another printer that is selected or hard coded or whatever. But I do not want to use the print dialog to choose one. I would like to configure the buttons in advance wich buttons prints to wich printer.

Why would you ask yourself:
Well I'm creating a simple application that will run on a computer with a touch screen. The persons who will use this computer never worked with computers. So the app is one big program with lots of big buttons and will never call a dialog box. So it is verry easy to handle.

kind regards

Garf

tank you,

best regards,
Lord_Garfield
 
Try faq222-2244 to see search options etc. A quick search turned up thread222-1072140 which should solve the problem

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
 
Is there anyway that I can print to a printer without settign the default printer. I dont want to set the printer as the default even for a short period of time.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top