Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
preview
Photon print preview
Syntax:
preview [-c colors] [-D debug_fname] [-d]
[-h height[%]] [-L] [-M] [-S i|m|n] [-s server]
[-U file] [-V] [-w width[%]]
[-x position[%][r]] [-y position[%][r]]
filename
Runs on:
Neutrino
Options:
- -c colors
- Force size of color palette.
- -D debug_fname
- Send debug information to the specified file.
- -d
- Delete input file after processing.
- -h height[%]
- The height of the window, in pixels, or as a percentage of the screen height if % is specified.
- -L
- Enable landscape mode.
- -M
- Don't map fonts into scalable printer fonts.
- -Si|m|n
- The initial state of the main window (iconified, maximized, or normal).
- -s server_name
- The name of the Photon server:
If server_name is: This server is used: node_path node_path/dev/photon fullpath fullpath relative_path /dev/relative_path - -U file
- Delete this file when the print job is completed. Use for synchronizing print-spooling operations.
- -V
- Be verbose (-VV: be more verbose).
- -w width[%]
- The width of the window, in pixels, or as a percentage of the screen width if % is specified.
- -x position[%][r]
- The x coordinate of the upper-left corner of the window, in pixels, or as a percentage of screen width if % is specified. If r is specified, the coordinate is relative to the current console.
- -y position[%][r]
- The y coordinate of the upper-left corner of the window, in pixels, or as a percentage of screen height if % is specified. If r is specified, the coordinate is relative to the current console.
- filename
- Name of a Photon draw-stream (*.phs) file.
Description:
View the page to be printed.
Examples:
View the file webpage.phs:
preview webpage.phs
See also:
Printing in the Neutrino User's Guide
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)