hola foro;
Para implementar esa solucion, cual es el requisito?
CP
From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Tue, 17 Jun 2008 15:21:29
-0300Subject: RE: Listados a PDF
Yo lo solucione, modificando el ILE-RPG, cambiando la fuente de los caracteres.
Con eso, los informes de 198/202 columnas salen perfectamente.
Un ejemplo de lo que tenes que corregir
IBM COMPARE V5R2M0 020719
NUEVO: MYLIB/QRPGLESRC(CVTSPLPDF) VIE
SECCIÓN SALIDA DE LISTADO (COMPARACIÓN LÍNEA)
ID LÍNEAS FUENTE
----+----1----+----2----+----3----+----4----+----5----+----6----
I - C CALLP WritePDF('/F1 6 Tf')
D - C CALLP WritePDF('/F1 8 Tf')
I - C CALLP WritePDF('/F1 6 Tf')
D - C CALLP WritePDF('/F1 10 Tf')
Esta es la parte del codigo que corregi. Según la cantidad de caracteres de la
linea, utiliza tamaños de letra diferente. Entonces mantuve el valor 6 cuando
supera los 167 caracteres
La version actual
72200 * Determine font size to use from Characters per inch setting
72300
72400 C SELECT
72500 C WHEN siCPI = 50
72600 C CALLP WritePDF('/F1 20 Tf')
72700 C WHEN siCPI = 120
72800 C CALLP WritePDF('/F1 9 Tf')
72900 C WHEN siCPI = 150
73000 C CALLP WritePDF('/F1 6 Tf')
73100 C WHEN siCPI = 167
73200 C CALLP WritePDF('/F1 6 Tf')
73300 C OTHER
73400 C CALLP WritePDF('/F1 6 Tf')
73500 C ENDSL
73600
73700 P NewPage E
La version anterior
72200 * Determine font size to use from Characters per inch setting
72300
72400 C SELECT
72500 C WHEN siCPI = 50
72600 C CALLP WritePDF('/F1 20 Tf')
72700 C WHEN siCPI = 120
72800 C CALLP WritePDF('/F1 9 Tf')
72900 C WHEN siCPI = 150
73000 C CALLP WritePDF('/F1 8 Tf')
73100 C WHEN siCPI = 167
73200 C CALLP WritePDF('/F1 6 Tf')
73300 C OTHER
73400 C CALLP WritePDF('/F1 10 Tf')
73500 C ENDSL
73600
73700 P NewPage E
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Marti RieraEnviado
el: martes, 17 de junio de 2008 14:45Para: forum.help400Asunto: Re: Listados a
PDF
Hola Ignacio,Supongo que el problema tiene algo que ver con la longitud de
registro de algún archivo de trabajo que se crea la utilidad, tienes los
fuentes mirar por ahi dentro a ver si puedes adaptarlo.Saludos
2008/6/17 Tellez Alvarado, Ignacio Andres <[EMAIL PROTECTED]>:
Marti:
Gracias por tu indicación, pero ya lo había probado y el problema es que me
genera los listados
Mayores de 165 caracteres son cortados en el PDF.
No se si estoy haciendo algo mal, pero es lo que me sucedió.
saludos
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Marti RieraEnviado
el: Martes 17 de Junio de 2008 10:38Para: forum.help400Asunto: Re: Listados a
PDF
Hola,Mirate esta tool:http://www.iseriestools.com/downloads/cvtsplf.htmlSaludos
2008/6/17 Tellez Alvarado, Ignacio Andres <[EMAIL PROTECTED]>:
¿Alguien puede facilitar un utilitario que permita convertir spool a PDF y que
pueda compartir?
Los que he visto, tienen la limitación de generar PDF con ancho máximo de 165
caracteres.
Gracias de antemano…
Ignacio
-----------------------------------------------------------------Notice of
Confidentiality: The information transmitted is intended only for the sender
and person or entity to which it is addressed and may contain confidential
and/or privileged material. Any review, e-transmission, dissemination or other
use of, or taking of any action in reliance upon, this information by persons
or entities other than the intended recipient is prohibited.If you received
this in error, please contact the sender immediately by return electronic
transmission and then immediately delete this transmission, including all
attachments, without copying, distributing or disclosing
same.------------------------------------------------------------------Aviso de
Confidencialidad: Este correo electrónico y/o el material adjunto es para uso
exclusivo del emisor y la persona o entidad a la que expresamente se le ha
enviado, y puede contener información confidencial o material privilegiado. Si
usted no es el destinatario legítimo del mismo, por favor repórtelo
inmediatamente al remitente del correo y bórrelo.Cualquier revisión,
retransmisión, difusión o cualquier otro uso de este correo, por personas o
entidades distintas a las del destinatario legítimo, queda expresamente
prohibido. Este correo electrónico no pretende ni debe ser considerado como
constitutivo de ninguna relación legal, contractual o de otra índole
similar.------------------------------------------------------------------
__________________________________________________Forum.HELP400 es un servicio
m&#225;s de NEWS/400.&#169; Publicaciones Help400, S.L. - Todos los
derechos
reservadoshttp://www.help400.es_____________________________________________________Para
darte de baja visita la siguente
URL:http://listas.combios.es/mailman/listinfo/forum.help400
-- Martí Riera
-----------------------------------------------------------------Notice of
Confidentiality: The information transmitted is intended only for the sender
and person or entity to which it is addressed and may contain confidential
and/or privileged material. Any review, e-transmission, dissemination or other
use of, or taking of any action in reliance upon, this information by persons
or entities other than the intended recipient is prohibited.If you received
this in error, please contact the sender immediately by return electronic
transmission and then immediately delete this transmission, including all
attachments, without copying, distributing or disclosing
same.------------------------------------------------------------------Aviso de
Confidencialidad: Este correo electrónico y/o el material adjunto es para uso
exclusivo del emisor y la persona o entidad a la que expresamente se le ha
enviado, y puede contener información confidencial o material privilegiado. Si
usted no es el destinatario legítimo del mismo, por favor repórtelo
inmediatamente al remitente del correo y bórrelo.Cualquier revisión,
retransmisión, difusión o cualquier otro uso de este correo, por personas o
entidades distintas a las del destinatario legítimo, queda expresamente
prohibido. Este correo electrónico no pretende ni debe ser considerado como
constitutivo de ninguna relación legal, contractual o de otra índole
similar.------------------------------------------------------------------
__________________________________________________Forum.HELP400 es un servicio
m&#225;s de NEWS/400.&#169; Publicaciones Help400, S.L. - Todos los
derechos
reservadoshttp://www.help400.es_____________________________________________________Para
darte de baja visita la siguente
URL:http://listas.combios.es/mailman/listinfo/forum.help400
-- Martí Riera
_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx__________________________________________________
Forum.HELP400 es un servicio m&#225;s de NEWS/400.
&#169; Publicaciones Help400, S.L. - Todos los derechos reservados
http://www.help400.es
_____________________________________________________
Para darte de baja visita la siguente URL:
http://listas.combios.es/mailman/listinfo/forum.help400