Hola a todos :
Al usar la función GetPrinters() con el valor del primer parametro en .T. obtengo un GPF
Estoy usando Xailer 1.9.9( March 2009 )
Gracias
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.
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.
GPF con GetPrinters()
GPF con GetPrinters()
Este es la rutina que me envia el GPF
METHOD Check_Impresoras( oSender, oMenu )
LOCAL aPrinter, i
aPrinter := GetPrinters()
IF Empty( aPrinter )
MsgInfo("No hay impresoras instaladas")
RETURN Nil
ENDIF
x := ""
aPrinter := GetPrinters( .T. )
FOR i := 1 To Len( aPrinter )
x += aPrinter[ i , 1 ] + aPrinter[ i , 2 ] +aPrinter[ i , 3 ]
+aPrinter[ i , 4 ] + chr( 13 )
NEXT i
Msginfo( x )
RETURN Nil
"Vikthor" <vykthor[at]hotmail[dot]com> escribió en el mensaje de noticias
news:4c7a940f$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Hola a todos :
>
> Al usar la función GetPrinters() con el valor del primer
> parametro en .T. obtengo un GPF
>
> Estoy usando Xailer 1.9.9( March 2009 )
>
> Gracias
METHOD Check_Impresoras( oSender, oMenu )
LOCAL aPrinter, i
aPrinter := GetPrinters()
IF Empty( aPrinter )
MsgInfo("No hay impresoras instaladas")
RETURN Nil
ENDIF
x := ""
aPrinter := GetPrinters( .T. )
FOR i := 1 To Len( aPrinter )
x += aPrinter[ i , 1 ] + aPrinter[ i , 2 ] +aPrinter[ i , 3 ]
+aPrinter[ i , 4 ] + chr( 13 )
NEXT i
Msginfo( x )
RETURN Nil
"Vikthor" <vykthor[at]hotmail[dot]com> escribió en el mensaje de noticias
news:4c7a940f$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Hola a todos :
>
> Al usar la función GetPrinters() con el valor del primer
> parametro en .T. obtengo un GPF
>
> Estoy usando Xailer 1.9.9( March 2009 )
>
> Gracias
- ignacio
- Site Admin
- Mensajes: 9441
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
GPF con GetPrinters()
Vikthor,
GetPrinters() no es una función de Xailer. Utilice Printer:aPrinterNames.
Un saludo
GetPrinters() no es una función de Xailer. Utilice Printer:aPrinterNames.
Un saludo
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com