next up previous
Next: 2.8 Example 1: aquiring Up: 2 Operating/Processing Previous: 2.6 Basic Processing


2.7 Printing

First you must configure at least one printer. Choose one way:

Use in VnmrJ the Admin tool:
the command vnmrj adm from a Unix Shell gives you a window where you can configure plotters/printers.
Edit the /vnmr/devicenames file manually
See bellow.

If you want only to print to a PostScript\textregistered file, add the following lines to the /vnmr/devicenames file:

##############################
Name    psfile
Use     Both
Type    PS_AR
Host    your_hostname
Port    remote
Baud
Shared  No
#############################

Then you have created the plotter with name psfile. Type plotter='psfile' in the Vnmr(J) prompt to use this virtual plotter. To print to a printer (not to a file) you whould only change the value of the parameter plotter. In this case you also do not need to specify a file for the command page in the examples bellow.

Examples:

Printing spectrum with scale and listing lines:
pl pscale ppf page

Printing an array of spectra to a file:
plotter='psfile' pl(' all') page('$HOME/filename.ps')
or to print a few array increments (e.g. 2, 5, 8, 11)
pl(2,11,3) page(´$HOME/filename.ps)
where pl(2,11,3) means from 2 to 11, each third increment.
Printing an array of FIDs to a file:
plotter='psfile' plfid(' all') page('$HOME/fidarray.ps')

Other sefull commands


next up previous
Next: 2.8 Example 1: aquiring Up: 2 Operating/Processing Previous: 2.6 Basic Processing
Back to Home Page