Página 1 de 1

GetDefaultPrinter() in Harbour

Publicado: Jue Jun 20, 2013 1:22 pm
por Milan Mehta
I have started porting my application from xHarbour to Harbour wiht Xailer
3.0.
One immediate problem I had was it seems Harbour do not have
GetDefaultPrinter() function.
Is it there ? If not, any work around ?
TIA
Milan.

GetDefaultPrinter() in Harbour

Publicado: Jue Jun 20, 2013 1:50 pm
por joselalinf
Milan,
> Is it there ? If not, any work around ?
use the public object TPrinter and check the :cPrinterName property.
Saludos,
José Lalí­n

GetDefaultPrinter() in Harbour

Publicado: Jue Jun 20, 2013 7:19 pm
por Cassiano de Oliveira
You must add to your project the following libraries:
libxhb.a
libhbwin.a
Or use Jose Lalin hints.
[]´s
"Milan Mehta" wrote in message news:[email=51c2e991@svctag-j7w3v3j....]51c2e991@svctag-j7w3v3j....[/email]
I have started porting my application from xHarbour to Harbour wiht Xailer
3.0.
One immediate problem I had was it seems Harbour do not have
GetDefaultPrinter() function.
Is it there ? If not, any work around ?
TIA
Milan.