Date: Fri, 29 Mar 2024 06:40:36 -0700 (PDT) Message-ID: <1513120293.529.1711719636547@wiki.srpcs.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_528_311303012.1711719636547" ------=_Part_528_311303012.1711719636547 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
This message returns the status of the print session.
Message | Fields | Description |
---|---|---|
CANCEL | <1> | Returns a "1" if the user cancels the print job = or closes the preview window during a print session. |
/* The following e= xample shows how to use the CANCEL message. */ =20 declare function Set_Printer, Get_Printer stat =3D Set_Printer("INIT") ;* Start printing =20 loop readnext key else done =3D 1 until done cancelled =3D Get_Printer("CANCEL") if cancelled then done =3D 1 end else Set_Printer("TEXT",'More text to print': key= ) end repeat =20 stat =3D Set_Printer("TERM") ;* End printing