Nueva TdosPrn con Preview (tRichedit)

un_jeepero
Posts: 31
Joined: Fri Mar 17, 2006 2:04 pm

Re: Nueva TdosPrn con Preview (tRichedit)

Post by un_jeepero »

Ralph, intento utilizar la nueva Tdosprn, pero me el siguiente problema:

Application
===========
Path and name: C:\app\FastTrackv3\Bin\Fast Track v3.Exe (32 bits)
Size: 3,879,936 bytes
Time from start: 0 hours 0 mins 13 secs
Error occurred at: 20/11/2007, 18:26:54
Error description: Error BASE/1004 Message not found: TDOSPRN:CNEGON

Stack Calls
===========
Called from: => TDOSPRN:ERROR(179)
Called from: tobject.prg => (b)HBOBJECT:HBOBJECT(105)
Called from: => TDOSPRN:MSGNOTFOUND(0)
Called from: TDOSPRN.PRG => TDOSPRN:CNEGON(167)
Called from: TXTprev.PRG => TTXTPREVIEW:NEW(282)
Called from: TXTprev.PRG => TXTPREVIEW(139)
Called from: FT500.prg => FT500:LIB_MAYOR_AUX(430)
Called from: FT500.prg => FT500:IMPRIME(133)
Called from: FT500.prg => (b)FT500:NEW(119)
Called from: BUTTON.PRG => TBUTTON:CLICK(0)
Called from: CONTROL.PRG => TBUTTON:HANDLEEVENT(0)
Called from: WINDOW.PRG => _FWH(0)
Called from: => SENDMESSAGE(0)
Called from: DIALOG.PRG => TDIALOG:COMMAND(0)
Called from: WINDOW.PRG => TWINDOW:HANDLEEVENT(0)
Called from: DIALOG.PRG => TDIALOG:HANDLEEVENT(0)
Called from: => DIALOGBOX(0)
Called from: DIALOG.PRG => TDIALOG:ACTIVATE(0)
Called from: FT500.prg => FT500:NEW(124)
Called from: FT.prg => (b)TAPP:MENU(596)
Called from: MENU.PRG => TMENU:COMMAND(0)
Called from: WINDOW.PRG => TWINDOW:COMMAND(0)
Called from: MDIFRAME.PRG => TMDIFRAME:COMMAND(0)
Called from: WINDOW.PRG => TMDIFRAME:HANDLEEVENT(0)
Called from: WINDOW.PRG => _FWH(0)
Called from: => WINRUN(0)
Called from: WINDOW.PRG => TMDIFRAME:ACTIVATE(0)
Called from: FT.prg => TAPP:NEW(241)
Called from: FT.prg => MAIN(55)

ralph wrote:Estimados amigos del foro:

Para los interesados (como yo) en seguir usando la clase TdosPrn modificada por Ednaldo Rolim que nos da la opcion de previsualizar los reportes he hecho una modificacion para que el Preview lo haga usando la clase Richedit (FWH 2.7 en adelante). Con esto se elimina un problema que habia en 32 bits que hacia desaparecer el reporte cuando se desplazaba hacia la derecha.

Si alguien quiere ayudar a mejorar esta clase es bienvenido (el metodo TxtToRTF() esta todavia incompleto). Por ahora solo reconoce 2 tamaños de fuentes el modo "normal" y "comprimido" (que para mi es suficiente), pero no puedo mezclar (aun) distintos tamaños de font en la misma linea.

Se puede hacer zoom con doble click o con el boton en la barra superior.

Pueden descargar los fuentes y un ejemplo desde www.solupymes.com/fwin/testprev.zip

Saludos

Ralph del Castillo
AOKISANTOS
Posts: 210
Joined: Sun Jul 23, 2006 1:15 am

Post by AOKISANTOS »

un_jeepero,

Por experiência própria, acho q vc não esta usando a tdos correta, ou seja a do Ralph.


Aoki
FWH25+XHARBOUR 99.50
User avatar
jacgsoft
Posts: 96
Joined: Fri Nov 24, 2006 9:03 pm
Location: Lima - Peru

Post by jacgsoft »

Por que no usar el NOTEPAD para hacer un PREVIEW a nuestros reportes, ya que es mas comodo y practico en vez de "TxtPreview".
User avatar
ruben Dario
Posts: 986
Joined: Thu Sep 27, 2007 3:47 pm
Location: Colombia

Re: Nueva TdosPrn con Preview (tRichedit)

Post by ruben Dario »

Tu tienes la ultima version de Tdosprn? Me la podrias facilitar. Gracias
Ruben Dario Gonzalez
Cali-Colombia
rubendariogd@hotmail.com - rubendariogd@gmail.com
User avatar
karinha
Posts: 4882
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Nueva TdosPrn con Preview (tRichedit)

Post by karinha »

Ralph,

Not Found
The requested URL /fwin/testprev.zip was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


Podrias poner otro link, porfa?

Gracias, saludos.
João Santos - São Paulo - Brasil
elmoiquique
Posts: 257
Joined: Wed May 16, 2007 9:40 pm
Location: Iquique Chile

Re: Nueva TdosPrn con Preview (tRichedit)

Post by elmoiquique »

quien tiene el nuevo testprev.zip.

gracias
User avatar
jnavas
Posts: 399
Joined: Wed Nov 16, 2005 12:03 pm
Location: Caracas - Venezuela
Contact:

Re: Nueva TdosPrn con Preview (tRichedit)

Post by jnavas »

Hola
Recibe un cordial saludo
Necesito imprimit en una ticketa mediante remota EPSON,
En donde puedo descargar el codigo fuente de la clase?
Post Reply