FoxPro/Visual FoxPro - IMPRESION REMOTA CON NET USE

 
Vista:

IMPRESION REMOTA CON NET USE

Publicado por alexcoinc (450 intervenciones) el 01/10/2008 15:04:06
Saludos, de Buenos Dias:

TENGO UNA APLICACION QUE GENERA UN REPORTE Y LO GRABA EN EL DISCO DURO EN UNA CARPETA
LLAMADA TEMPORAL.

DESPUES DE GENERADO LO QUIERO IMPRIMIR Y UTILIZO LO SIGUIENTE:

respu = messagebox('Seguro(a) que desea Imprimir directamente en la impresora por defecto ?', 292, 'Confirme')
If respu = 6
! TYPE c: emporalfax.txt>PRN
Else
** Pues no lo hace .. ok.
Endif

LO HACE OK. Funciona bien para la impresora que tengo colgada en ese equipo.

BUENO MI INCONVENIENTE (DUDA) ES QUE USTEDES SABEN QUE EN XP PARA IMPRIMIR ESTE TIPO DE
ARCHIVOS EN UNA IMPRESORA DE RED, PUES HAY QUE UTILIZAR EL NET USE LPT1.....

HASTA AHI ES CLARO.

LA PREGUNTA ES: QUE DIFERENCIA HAY ENTRE ESTAS DOS LINEAS CON MIRAS A UTILIZAR EL NET USE:

! TYPE c: emporalfax.txt>PRN

! TYPE c: emporalfax.txt>LPT1

O TENDRE QUE CAMBIAR CADA LINEA EN LA QUE UTILCE EL PRN Y COLOCAR EL LPT1.

SI CONFIGURO EL NET USE CON LPT1, SI ME FUNCIONARA LA LINEA QUE TIENE PRN O SERA MEJOR CAMBIARLA

QUE ME SUGIEREN ??

Gracias

Alex Co. Inc.
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
sin imagen de perfil

RE:IMPRESION REMOTA CON NET USE

Publicado por Hector R. De los Santos  (270 intervenciones) el 01/10/2008 16:02:30
Seria bueno que hagas pruebas.
Una recomendacion es que uses !TYPE tuFile.TXT to LPT1
Hace lo mismo, pero como vas a usar puertos remotos en red, debes indicar el puerto especifico.
Haz la prueba con PRN con el puerto LPT1 de la pc conectado con NET USE a ver si imprime.

Suerte!
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:IMPRESION REMOTA CON NET USE

Publicado por alexcoinc (450 intervenciones) el 01/10/2008 22:02:36
Gracias Hector.
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