Syntax
| SQL.FormattedPrint Param
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Description
| Prints a text on the default selected printer accompanied by Tradium formatting codes.
Specificatie opmaakcodes:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
See Also
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Example
| Sub Main() Const FPRT_CRLF = "{crlf}" Const FPRT_FATON = "{faton}" Const FPRT_FATOFF = "{fatoff}" Const FPRT_ITAON = "{itaon}" Const FPRT_ITAOFF = "{itaoff}" Const T0 = "{ftab:5}" Const curCashAmount As Currency = 123.45 FormattedPrint "{fname:Arial}{fsize:11}" FormattedPrint FPRT_CRLF & FPRT_CRLF & _ FPRT_CRLF & FPRT_CRLF FormattedPrint T0 & FPRT_FATON & "{datum,t}" & FPRT_FATOFF & FPRT_CRLF FormattedPrint "DOCUMENTVOORBEELD VOOR RITTENLIJST" & FPRT_CRLF FormattedPrint "{hline:0}" ' streep maken FormattedPrint T0 & "Bijlage voor ritlijst: KASVERANTWOORDINGSTAAT" & _ FPRT_CRLF & FPRT_CRLF FormattedPrint T0 & "Totaal afdragen aan de kassier: " & FPRT_FATON & _ Format$(curCashAmount, "0.00") & _ FPRT_FATOFF & FPRT_CRLF & FPRT_CRLF FormattedPrint "{hline:0}" ' streep maken FormattedPrint T0 & FPRT_ITAON & "Opmerkingen: " & FPRT_ITAOFF & _ FPRT_CRLF & FPRT_CRLF ' tekstregels voor handschrift maken For x = 1 To 17 FormattedPrint T0 & String$(70, "_") & FPRT_CRLF & FPRT_CRLF Next x FormattedPrint "{hline:0}" ' streep maken FormattedPrint FPRT_CRLF & FPRT_CRLF & T0 & _ "Handtekening afdracht kasgeld:" & _ FPRT_CRLF & FPRT_CRLF & FPRT_CRLF FormattedPrint T0 & "-------------------" & FPRT_CRLF FormattedPrint "{EOD}" End Sub | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||