Club Delphi  
    FTP   CCD     Buscar   Trucos   Trabajo   Foros

Retroceder   Foros Club Delphi > Principal > Impresión
Registrarse FAQ Miembros Calendario Guía de estilo Temas de Hoy

Respuesta
 
Herramientas Buscar en Tema Desplegado
  #1  
Antiguo 25-11-2004
pacogarcia pacogarcia is offline
Registrado
 
Registrado: nov 2004
Posts: 5
Poder: 0
pacogarcia Va por buen camino
Hola, yo uso la impresora generica/solo texto y este procedimiento y me funciona tanto en Win98, Win2000 and WinXP

Código:
procedure DirectPrint( s : string );
var
	PTBlock : TPassThroughData;
begin
	PTBlock.nLen := Length( s );
	StrPCopy( @PTBlock.Data, s );
	Escape( printer.handle, PASSTHROUGH, 0, @PTBlock, nil );
end;

Saludos.
Responder Con Cita
  #2  
Antiguo 10-02-2006
AFilth AFilth is offline
Miembro
 
Registrado: ago 2005
Posts: 119
Poder: 19
AFilth Va por buen camino
Q unidad hay q incluir para q funcinoe el TPassThroughData????
Responder Con Cita
Respuesta



Normas de Publicación
no Puedes crear nuevos temas
no Puedes responder a temas
no Puedes adjuntar archivos
no Puedes editar tus mensajes

El código vB está habilitado
Las caritas están habilitado
Código [IMG] está habilitado
Código HTML está deshabilitado
Saltar a Foro


La franja horaria es GMT +2. Ahora son las 05:05:25.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi
Copyright 1996-2007 Club Delphi