Reply

printout() method

[ Edited ]

 

Hi, i'have a problem with printout method.

I need to print a draft file in a pdf printer (installed in my PC)

Is there an example how to select this printer?

Is there anyone that has an example in VB2005, and /or  anyone that can help  me?

Thanks Mauro

 

 

Posted by: Mauro Mignozzetti
Post date: 12/2/2007 8:35:42 PM

1 REPLY

RE: printout() method

[ Edited ]

I thing this could be good start

 

Dim p as Printer

For Each p In Printers

Combo.AddItem(p.DeviceName)

Next

 

...

dim prn_name as string

prn_name= Combo.List(Combo.ListIndex)

Call dft.PrintOut(prn_name, ...

 

Pavel Styl

 

Posted by: Pavel Styl
Post date: 12/5/2007 8:25:57 PM