General information
Category:
Reports & Report designer
Title:
Line feed dans une matricielle
Je veux imprimer un rapport directement a l'imprimante mais je veux controler la longueur de la page par line feed .
Mais quand j'imprime plusieurs pages j'ai toujours une decalage et a la fin apres le SET STEP TO l'imprimante imprime une autre page vide (c'est comme windows prend le controle et imprime le form feed .
Le code est un peut comme ca :
******************************
_padvance="linefeed"
cPrinter = GETPRINTER()
SET PRINTER TO NAME (cPrinter)
FOR lpage_printing = 1 TO lnbr_pages_to_print
SET PRINTER ON
SET CONSOLE OFF
SET PRINTER FONT 'Courier',10
? "This is the first line"
?
? "This is the third line"
SET PRINTER OFF
ENDFOR
SET PRINTER TO
SET CONSOLE ON
*******************************************
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only