All Manuals > CAPI Reference Manual > 1 CAPI Reference Entries

NextPrevUpTopContentsIndex

with-page

Macro
Summary

Binds a variable to either t or nil , and executes a body of code to print a page only if the variable is t .

Package

capi

Signature

with-page ( printp ) &body body

Description

The with-page macro binds printp to t if a page is to be printed, or nil if it is to be skipped. The body is executed once, and is expected to draw the document only if printp is t .

Each call to with-page contributes a new page to the document.

Note: with-page does not work on Cocoa.

See also

with-document-pages
with-page-transform


CAPI Reference Manual - 15 Dec 2011

NextPrevUpTopContentsIndex