trick/doxygen/users_guide/dp_printing.dox_in
2015-02-26 09:02:31 -06:00

24 lines
1.1 KiB
Plaintext

/**
@anchor DPPlotPrinting
@page LEVEL2 Plot Printing
To print fermi plots, simply bring up the fermi plot, and press either the “Print” (printer icon) button or the individual “Print” (printer icon)
buttons on the plots themselves. In order for this to work you should set two environment variables:
@li <b>UNIX Prompt></b> setenv TRICK_PRINT_CMD <your print command e.g. lpr>
@li <b>UNIX Prompt></b> setenv TRICK_PRINTER_NAME <printer name e.g. xerox>
In all other cased, just choose the device to be "file", then print the file. If the device is set to be "printer" either in a DP <session_file>
(@ref session_device "device" attribute of session element) or through <b>@c -device</b> option of "fxplot" application as following or through "trick_dp" gui,
all plotting will go to the specified printer automatically.
To specify the <b>@c -device</b> option of "fxplot" command for sending the plots to a printer
(<b>@c -device</b> option overrides the device setting in the <session_file>):
@li <b>UNIX Prompt></b> fxplot -device=printer <session_file>
@see @ref DataProducts "Data Products"
*/