Plain English

Adds or subtracts a fixed offset from the calendar date set by ESC+WT. Use this to print future or past dates — for example, an expiry date 1 year from the print date.

When to use

When you need to print a date offset from the current date — e.g. expiry dates, review dates, or best-before dates.

Syntax

ESC+WP{+/-}{YY}{MM}{DD}

Parameters

ParameterDescription
+/-Direction: + to add, - to subtract
YYYears to add/subtract (2 digits)
MMMonths to add/subtract (2 digits)
DDDays to add/subtract (2 digits)

Example

ESC+A
ESC+H0050
ESC+V0050
ESC+WTDD/MM/YY
ESC+WP+010000
ESC+WA
ESC+Q1
ESC+Z

Print a date 1 year from now (expiry date)

Try it in the playground View all SBPL commands