FoxPro/Visual FoxPro - error fatal al imprimir

 
Vista:

error fatal al imprimir

Publicado por de7com (26 intervenciones) el 19/05/2003 21:58:35
Hola a todos, saludos, quisiera que alguien me ayudara con esto, he realizado varias pruebas imprimiendo, pero siempre, no importa si escribo el codigo o si VFP genera el codigo, despues de mandar la impresion a una impresora en red, el equipo se bloquea, y otras veces hasta se sale del sistema y tengo que reiniciar el equipo, no se que pasa, alguien tiene idea, me falta instalar alguna libreria, o que?
gracias.
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:error fatal al imprimir

Publicado por Javier Montañez Villamizar (1 intervención) el 20/05/2003 03:30:02
Este error es ocurrido cuando se usa un drivers de impresora no incluido con windows (con algunos), este es un bugs del Foxpro y se corrige con el Service Pack 3 de Visual Studio 6, no lo he probado pero según la información de Microsoft también se podría corregir haciendo lo siguiente:
Use the _fpreset function in the Microsoft Visual C++ run-time DLL to reset the numeric coprocessor. This is demonstrated in the following code: *-- Code begins here
DECLARE _fpreset IN msvcrt20.dll
=_fpreset()
*-- Code ends here
This can be implemented within an application by adding this to the beginning of your main program: DECLARE _fpreset IN msvcrt20.dll
The DECLARE statement only needs to be made once. You should use the call to _fpreset() immediately after using any of the following functions or commands:
GETPRINTER()
REPORT FORM ... TO PRINTER
REPORT FORM ... PREVIEW
SET( "Printer", 2)
SET( "Printer", 3)
SET PRINTER TO NAME <printer name>
SYS(1037)
You should also call _fpreset() after calling File
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

RE:error fatal al imprimir

Publicado por de7com (26 intervenciones) el 20/05/2003 18:14:45
Muchas gracias Javier. efectivamente el problema se soluciono con una impresora compatible.
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar