Default Document Content Adaptions to the Available Medium
The shown use cases in this section use single media types (e.g. LIBCAPS_PT_SINGLE), e.g. each medium has a fixed size and orientation. This covers the most available printers in the universe.
Note
In contrast there is also support for continuous media types (e.g. LIBCAPS_PT_ENDLESS). For example label printer often make use of such continuous media types. Their size and orientation isn't fixed and need a different setup. See Special Document Content Adaptions to variable Media.
Document matches the print media in size and orientation
This is the simplest use case: if the intended print size of your document fits the available print media loaded in your printer it is easy: just print it.
Printing an A4 portrait document on an A4 portrait medium is straight forward
Label printers support non-standard media formats, but as long as they use fixed size media it works the same here.
Printing a landscape label document on a landscape label is straight forward
Document matches the print media in size, but not its orientation
This is a different simple use case: if the intended print size of your document fits the available print media loaded, but only the orientation differs, the document gets rotated and than print. This rotation is enabled by default if not otherwise overwritten.
Printing an A4 landscape document on an A4 portrait medium with (auto) rotation
Label printers support non-standard media formats, but as long as they use fixed size media it works the same here.
Printing a landscape label document on a portrait label with (auto) rotation
Document matches the print media orientation, but is smaller than the print media