COMMANDUnder review
PSay
@ <nLinha>, <nColuna> PSAY <cTexto>Prints text in legacy reports by positioning row and column.
Overview
PSay appears in historical AdvPL report examples to position text and fields in printed output. It is common in coordinate-based legacy reports where the developer controls row, column, header, footer and manual print advancement.
Syntax
@ <nLinha>, <nColuna> PSAY <cTexto>Text at a fixed position
#Include "TOTVS.ch"
User Function ExPSay()
Local nLinha := 10
Local nColuna := 5
@ nLinha, nColuna PSAY "Relatório de clientes"
ReturnExpected result
The text is sent to the row and column indicated by the report.
- Use esta página principalmente para manutenção de relatórios legados.
- Controle cuidadosamente a variável de linha para evitar sobreposição de textos.
- Combine com cabeçalho, rodapé e salto de página quando o relatório ultrapassar o limite da página.
- Para novos relatórios, avalie recursos mais atuais de impressão e geração de planilhas.
- Fixed coordinates may break with different fonts, languages or layouts.
- Long reports require explicit page control.
- Old examples often depend on RWMake.ch or legacy includes.

Comments
There are no approved comments yet.
Sign in with Google or Microsoft to comment.