Foro -Documentación -Código fuente -Contacto -Empleo

Buscar

Traducir

Amazon

ZFONT PDF Imprimir E-mail
Usar puntuación: / 0
MaloBueno 
Código fuente - Ejemplos
Domingo, 03 de Agosto de 2003 04:05
Cambiar tamaño fuente en report
REPORT YTEST NO STANDARD PAGE HEADING LINE-SIZE 80 LINE-COUNT 65.
* Example of printing bold, italic, small and big letter from SAP
* Autor: Andrzej Wanicki
* Date: 2002.07.19
 
 NEW-PAGE PRINT ON.
 
 PRINT-CONTROL FONT 1 LPI 6.
 * you can try to change font and LPI numbers
 WRITE: / 'font 1 lpi 6'.
 
 PRINT-CONTROL FONT 2 LPI 6.
 WRITE: / 'font 2 lpi 6'.
 
 PRINT-CONTROL FONT 3 LPI 6.
 WRITE: / 'font 3 lpi 6'.
 
* Parameters for function below should be taken from your printer
* configuration in SAP - check SPAD transaction -
* standard print control
*print-control position 1 function: 'CI006', 'SF015'.
* WRITE: / 'TEST'.
 
 NEW-PAGE PRINT OFF.
Otro ejemplo:
REPORT ZFONT NO STANDARD PAGE HEADING LINE-SIZE 80 LINE-COUNT 65.

* Start of print-control

NEW-PAGE PRINT ON.

PRINT-CONTROL FUNCTION 'SBP01'.

WRITE: / ' SBP01'.

 
SKIP.

PRINT-CONTROL FUNCTION 'SABLD'.

WRITE: / 'SABLD'.

SKIP.

PRINT-CONTROL FUNCTION 'SBS01'.

WRITE: / 'SBS01'.

PRINT-CONTROL FUNCTION 'COL2N'.

WRITE: / 'COL2N'.

 

PRINT-CONTROL FUNCTION 'RESET'.

WRITE: / 'RESET'.

 
* Depending on your SAP printer device, this may also work

 
PRINT-CONTROL FONT 1 LPI 6.

 
* you can try to change font and LPI numbers

 
WRITE: / 'font 1 lpi 6'.

PRINT-CONTROL CPI 6.

 
* you can try to change font and LPI numbers

 
WRITE: / 'CPI 6'.

 

PRINT-CONTROL FONT 2 LPI 6.

WRITE: / 'font 2 lpi 6'.

PRINT-CONTROL FONT 3 LPI 6.

WRITE: / 'font 3 lpi 6'.

 
* End of print-control

 
NEW-PAGE PRINT OFF.

 
*--- End of Program




Comentarios
Buscar
¡Sólo los usuarios registrados pueden escribir comentarios!

3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."

 
home search