ERROR AL IMPRIMIR

ERROR AL IMPRIMIR

Postby A&C » Fri Oct 06, 2006 6:58 pm

hola al foro,,, tengo un error al imprimir,, cuando llamo a la rutina de impresion,, el usuario selecciona a que impresora dirigira la impresion,, pero si le doy un cancelar a la seleccion me tira un error,, si selecciono la impresora funciona bien,,, que sera::

este error marca

Application
===========
Path and name: D:\SIS\SISADM.EXE (16 bits)
Size: 1,299,712 bytes
Max files handles permited: ( SetHandleCount() ) 250
Time from start: 0 hours 1 mins 6 secs
Error occurred at: 06/10/2006, 14:50:27
Error description: Error BASE/1082 Argument error: -
Args:
[ 1] = N 0
[ 2] = U

Stack Calls
===========
Called from TPRINTER:CMTR2PIX(0)
Called from (b)TPRINTER(0)
Called from IMPNP(1322)



Ahi es codigo de la rutina


Function ImpCotiza()
Local oPrn
Local oFont
Local cCol:=0
Local cFil:=0

PRINT oPrn NAME "COTIZACIONES" PREVIEW FROM USER
DEFINE FONT oFont NAME "Arial" SIZE 0,-12 OF oPrn
DEFINE FONT oFontV NAME "Arial" SIZE 0,-4.5 BOLD NESCAPEMENT 900 OF oPrn

PAGE
oPrn:cmsay(00,00,oemtoansi("Elisa Flores y Compa¤ia Limitada"),oFont)
oPrn:cmsay(01,00,oemtoansi("Barraca de Maredas"),oFont)
oPrn:cmsay(02,00,oemtoansi("Materiales de Construcci¢n"),oFont)
ENDPAGE


ENDPRINT
oFont:end()
Return
Mi segundo amor es Programar
User avatar
A&C
 
Posts: 214
Joined: Sat Aug 19, 2006 1:37 pm
Location: Chile

Return to FiveWin para CA-Clipper

Who is online

Users browsing this forum: No registered users and 34 guests