In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

GetDefaultPrinter() in Harbour

Xailer professional forum in English
Responder
Milan Mehta
Mensajes: 134
Registrado: Dom Dic 27, 2009 9:54 am

GetDefaultPrinter() in Harbour

Mensaje 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.
joselalinf
Mensajes: 291
Registrado: Jue Ene 31, 2013 1:10 pm

GetDefaultPrinter() in Harbour

Mensaje 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
Cassiano de Oliveira
Mensajes: 475
Registrado: Mar Jul 24, 2012 10:21 pm

GetDefaultPrinter() in Harbour

Mensaje 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.
Responder