Inst Conf
Inst Conf
Inst Conf
Installation
and
Trademark Notice
3D Drill View, 3D Drill View KM, 3Dview, Active Field Surveillance, Active Reservoir Surveillance, ADC,
ARIES, Asset Development Center, Asset Development Centre, Automate, BLITZ, BLITZPAK, CasingSeat,
CDDM, COMPASS, Contouring Assistant, Corporate Data Archiver, Corporate Data Store, DataStar, DBPlot,
Decision Suite, Decisionarium, DecisionDesktop, DecisionSpace, DecisionSpace AssetPlanner, DecisionSpace
Atomic Meshing, DecisionSpace PowerModel, DecisionSpace PrecisionTarget, DecisionSpace TrackPlanner,
DecisionSpace Well Seismic Fusion, DepthTeam, DepthTeam Explorer, DepthTeam Express, DepthTeam Extreme,
DepthTeam Interpreter, DESKTOP-PVT, DESKTOP-VIP, DEX, DFW, DIMS, Discovery, Drillability Suite,
DrillModel, DrillVision, DSS, Dynamic Reservoir Management, Dynamic Surveillance System, EarthCube,
EdgeCa$h, eLandmark, Engineer's Desktop, EOS-PAK, EPM, Executive Assistant, FastTrack, FZAP!,
GeoDataLoad, GeoGraphix (stylized), GeoGraphix Exploration System, GeoLink, GES, GESXplorer, GMAplus,
GRIDGENR, Handheld Field Operator, I2 Enterprise, iDIMS, IsoMap, Landmark, Landmark and Design,
Landmark logo and Design, LandScape, Lattix, LeaseMap, LMK Resources, LogEdit, LogM, LogPrep,
Make Great Decisions, MathPack, MIRA, Model Builder, MultiWell, MyLandmark, MyWorkspace, OpenBooks,
OpenExplorer, OpenJournal, OpenOrigin, OpenSGM, OpenVision, OpenWells, OpenWire, OpenWorks,
OpenWorks Well File, PAL, Parallel-VIP, PetroBank, PetroWorks, PlotView, Point Gridding Plus,
Pointing Dispatcher, PostStack, PostStack ESP, PowerView, PRIZM, PROFILE, ProMAGIC, ProMAX,
ProMAX 2D, ProMAX 3D, ProMAX 3DPSDM, ProMAX MVA, ProMAX VSP, pSTAx, QUICKDIF,
QUIKCDP, QUIKDIG, QUIKRAY, QUIKSHOT, QUIKVSP, RAVE, RAYMAP, Real Freedom,
Real-Time Asset Management Center, Real-Time Asset Management Centre, Real Time Knowledge Company,
Reservoir Framework Builder, RESev, ResMap, RMS, SafeStart, SCAN, SeisCube, SeisMap, SeisModel, SeisSpace,
SeisVision, SeisWell, SeisWorks, SeisWorks MultiView, SeisWorks PowerSection, SeisXchange, Sierra,
Sierra (design), SigmaView, SimResults, SIVA, SpecDecomp, StrataMap, StrataModel, StrataAmp, StrataSim,
StratWorks, StressCheck, STRUCT, Surf & Connect, SynTool, SystemStart, SystemStart for Clients,
System Start for Servers, SystemStart for Storage, T2B, TDQ, Team Workspace, TeamView, TERAS,
Total Drilling Performance, TOW/cs The Oilfield Workstation, Trend Form Gridding, Turbo Synthetics, VIP,
VIP-COMP, VIP-CORE, VIP-DUAL, VIP-ENCORE, VIP-EXECUTIVE, VIP-Local Grid Refinement,
VIP-THERM, WavX, Web Editor, Web OpenWorks, Wellbase, Wellbore Planner, WELLCAT, WELLPLAN,
WellXchange, WOW, Xsection, Xsource, You're in Control. Experience the difference, ZAP!, and Z-MAP Plus
are trademarks, registered trademarks or service marks of Landmark Graphics Corporation.
All other trademarks are the property of their respective owners.
Note
The information contained in this document is subject to change without notice and should not be construed as a
commitment by Landmark Graphics Corporation. Landmark Graphics Corporation assumes no responsibility for any
error that may appear in this manual. Some states or jurisdictions do not allow disclaimer of expressed or implied
warranties in certain transactions; therefore, this statement may not apply to you.
Landmark Z-MAP Plus Installation and Configuration Guide
Contents
Installation and Configuration Guide
Introduction
Overview of This Guide ..................................................................................... 1
R2003.12.0 Contents iv
Landmark Z-MAP Plus Installation and Configuration Guide
Configuring Hardcopy
Introduction ........................................................................................................ 49
R2003.12.0 Contents v
Landmark Z-MAP Plus Installation and Configuration Guide
R2003.12.0 Contents vi
Landmark Z-MAP Plus Installation and Configuration Guide
Appendix A.
Environment Variables for Mapping Products
Introduction ........................................................................................................ 89
Methods of Setting Environment Variables ............................................... 89
Setting Environment Variables for an OpenWorks User .................... 90
Setting Environment Variables for a Non-OpenWorks User .............. 91
Introduction
R2003.12.0 Introduction 1
Z-MAP Plus Installation and Configuration Guide Landmark
Organization of Guide
This guide is organized according to the typical requirements of a
system administrator. It covers the procedures for installing and
configuring Z-MAP Plus and hardcopy. Procedures that are platform-
or environment-specific are described in the context in which they are
needed.
Conventions
This topic describes the typographical and naming conventions used to
indicate features of the program.
Typographical Conventions
Computer printouts, text shown on screens, program entries, and
responses you enter appear in a monospaced font:
setenv ZTARGET /usr/ZMAPPlus
Introduction
This section contains detailed steps for installing Z-MAP Plus in
OpenWorks and non-OpenWorks environments.
This section covers the following main topics:
Setting Up Z-MAP Plus with OpenWorks Information about
preparing to install Z-MAP Plus as an OpenWorks application.
Using Release Manager to Install the Software Steps for
using the installation program on the CD-ROM.
Workstations Without OpenWorks Information about
preparing to install Z-MAP Plus as a standalone application.
Installing Z-MAP Plus Without OpenWorks How to install
Z-MAP Plus from the CD-ROM.
Starting Z-MAP Plus How to start the program after you
install it.
Workstation Notes Requirements for installing Z-MAP Plus
on Solaris workstations.
Z-MAP Plus Application Licensing Important information
about the new application licensing option groups.
OpenWorks License Management provides steps for installing,
starting, and stopping the license manager.
License Management Without OpenWorks Steps for
installing, starting, and stopping the license manager for
standalone or non-OpenWorks installations.
The Z-MAP Plus installation CD-ROM contains a complete set of files
to install and configure Landmark surface modeling applications. The
applications included on the CD-ROM are Z-MAP Plus, ZCL, and
Contouring Assistant products, and various hardcopy and file
conversion programs.
Z-MAP Plus is not available for Hewlett-Packard, IBM-AIX, or DEC
platforms.
The only difference between this line and the default line is that it
contains the -n flag that prevents Z-MAP Plus from connecting to
OpenWorks. If you edit the MappingLauncher.dat file, remember that
the only valid way to indent a line is to use tabs.
Platform Space
SOLARIS 347 Mb
Compare the contents of the WDFILE used with the previous version of
Z-MAP Plus to the new WDFILE provided with this CD-ROM. Merge
the two files if you are missing needed information.
You can make backup copies of the following directly (without
comparing): site-specific hardcopy binaries, data files, color table file,
and license files.
2. Insert the Z-MAP Plus CD-ROM into the local drive. If you are
installing from a remote CD-ROM drive, see your system
administrator to prepare the drive for remote access. Change
directories to your CD-ROM drive. Change the directory to install
and enter the following command:
./setup
The Location Selection dialog box shows all file systems to which
your system is mounted and the space available on each. To select
a file system, click it. Available directories on the file system
appear in the Path area.
7. Click the directory to use for installing Z-MAP Plus. The name of
the directory appears in the Selection box. (You can enter the name
of the directory in the Selection box instead of selecting it.)
8. Click OK to select the directory and close the Location Selection
dialog box, or Cancel to close the window without selecting a
directory.
9. Repeat steps 5 through 8 for each application you want to install.
10. After you have selected the applications you wish to install, and
the locations in which to install them, click Start in the Software
Selection window. The following dialog box appears:
11. The installation program begins to copy files to the selected file
system. As the installation proceeds the status bars at the bottom of
the window are updated.
12. When the installation is complete, an xterm window opens and
lists the products that were installed.
Finished installing Z-MAP Plus, ...
Press the Return key to continue
The Product License Information screen appears. Click OK.
13. Click Close to close the Release Manager window.
14. Check the installation status area of the Release Manager - Product
Selection dialog box to determine if the installation was
successful. Click Exit to close this dialog box.
15. A confirmation box appears and asks if you want to exit the
installation program. Click Yes.
16. Another confirmation box appears and asks if you want to delete
log files. Click Yes. The Release Manager closes.
17. When you restore the CD-ROM, the top level directory
/ZMAPPlus is created, along with the following subdirectories:
OW_SYS_DATA/app-defaults/, bin/, bitmaps/, camacros/, conf/,
data/, docs/, files/, for016/, frame/, help/, htmlhelp/, install/,
kbase/, lam/, lib/, macros/, mfds/, sh/, sys/, and vi/.
18. If a previous version of Z-MAP Plus was installed, before you run
the new version you must first delete the existing
MappingLauncher.dat and .mapinit files from each users home
directory:
rm $HOME/MappingLauncher.dat
rm $HOME/.mapinit
A new file for displaying the Z-MAP Plus Command Menu is
automatically placed in each user accounts home directory the
first time Z-MAP Plus starts.
19. The installation program automatically generates the soft link
from OpenWorks to Z-MAP Plus. Exit your account, then login,
start OpenWorks and Z-MAP Plus should execute from the
OpenWorks Command Menu.
To enable environmental variables in an OpenWorks environment,
enter the environment variable you want to use in an xterm
window before you start OpenWorks or Z-MAP Plus. For
example:
setenv MULTI_WINDOW yes
SOLARIS 368 Mb
SGI 310 Mb
Compare the contents of the WDFILE used with the previous version of
Z-MAP Plus to the new WDFILE provided with this CD-ROM. Merge
the two files if you are missing needed information.
You should make backup copies of the following directly (without
comparing): site-specific hardcopy binaries, data files, color table file,
digitizer files and license files.
When you restore the backup files, be careful not to overwrite the
pre-linked hardcopy binaries provided with the installation software.
You can now select Z-MAP Plus or a related application from the
Applications menu in the Z-MAP Plus Command Menu.
Troubleshooting
If you cannot start Z-MAP Plus, try these procedures:
Delete MappingLauncher.dat from your home directory.
Delete the .mapinit file from your home directory.
Verify that the path to <install_dir>/ZMAPPlus/sh is correct.
Verify two LAM processes are active: lmgrd and licsrv.
Verify Z-MAP Plus features exist in the license.dat file
(ZMAPPLUS, ZCL, and at least one of the following: ZFULL,
ZSEIS, or ZENG).
Workstation Notes
This section describes information you need for installing mapping
products on workstations made by a particular manufacturer. Solaris
requirements are described here. In addition, this section includes
information about X Windows template files.
Solaris Notes
The CD-ROM includes template files for configuring a Sun
environment. The template files are dotlogin and dotxinitrc.
The template file dotlogin contains some necessary Openwindows
environment definitions. A copy of .login should be in each users
home directory. Enter the following lines in the .login file (assuming
Openwindows is in /usr/openwin):
setenv OPENWINHOME /usr/openwin
setenv LD_LIBRARY_PATH
$OPENWINHOME/lib:/usr/lib
set path=($OPENWINHOME/bin $OPENWINHOME/xview
$OPENWINHOME/demo $path)
The template file dotxinitrc contains logic to execute the Motif window
manager, and not the OpenLook window manager. A copy of .xinitrc
should be in each users home directory. Enter the following lines in
the .xinitrc file and comment out the line that executes OpenLook:
# .. use the Motif
/usr/bin/X11/mwm
# .. do not use OpenLook
# olwm
If OpenWorks Is Installed
These files should already be configured correctly if Landmark OpenWorks
software is installed on your workstation.
Color Controls
Z-MAP Plus users can control color environments to minimize palette
limitations and color flashing by setting the Z_COLORMAP_CHOICE
environment variable. These environments need to be set before you
start Z-MAP Plus or OpenWorks. The Z_COLORMAP_CHOICE
variable has three settings:
OpenWorks Setting
When you set the Z_COLORMAP_CHOICE environment variable to
the OpenWorks setting, Z-MAP Plus uses the OpenWorks color
palette as it did in release 3.0. This is the Z-MAP Plus default setting. If
you need to set the color map option, enter the following command:
setenv Z_COLORMAP_CHOICE OpenWorks
Private Setting
This setting forces Z-MAP Plus to allocate a private color map. This
setting allows the user to access more colors, at the expense of color
flash.
setenv Z_COLORMAP_CHOICE Private
Screen Setting
The Screen setting tells Z-MAP Plus to use the default colormap of
the screen on which Z-MAP Plus is displayed. This setting allows users
access to the same color paradigm that was used prior to the 3.0 release.
The Screen setting is best suited for Unix users who are not running
OpenWorks and want to avoid color flashing. Using the screens colors
eliminates color flashing between Z-MAP Plus and other applications,
especially applications that are already running when you start
Z-MAP Plus. Running the Screen setting with OpenWorks generates
similar results to the OpenWorks setting itself, but severely restricts
the number of colors available to the user.
To use the Screen setting, enter:
setenv Z_COLORMAP_CHOICE Screen
Licensing
Description
Component
Licencing
Description
Component
Licencing
Description
Component
Licensing Process
Before trying to manage the licensing process, you should understand
the basic concepts involved. These are discussed on the following
pages.
Common Terms
Certain key terms are used in this section to describe Landmarks
license system. The most important are listed in the table below.
Term Definition
License File A file containing a description of the license servers, the various
application daemons to service application license requests, and
all the licenses that are available to the applications.
Term Definition
Version Compatibility
Landmarks license system is based on Globetrotter Softwares
FLEXlm licensing server package. The following table shows which
versions of OpenWorks are compatible with which versions of the
FLEXlm License Manager.
Table 9: License Manager/OpenWorks Compatibility
OpenWorks FLEXlm
Network Configuration
For a licensed application and the License Server to communicate
properly, the network configuration should be properly set up. A proper
network configuration requires the following:
The machine on which the licensed application runs must have
access to the License Server.
Landmark applications use port 2013 for license requests. This
value appears in fourth column of the SERVER line(s) of the
license.dat file. Each application determines this port number by
reading the license.dat file. This occurs automatically when the
application tries to check out a license.
License Server
The License Server (also called the LAM Manager) is a group of
daemons that control the distribution of application licenses. When you
attempt to use a licensed application, the application must obtain a
license from the License Server before the application is made
available to the user. If the license request is rejected, the user will not
be able to use the application. The License Server can be any
workstation that runs the license server process lmgrd. This process is
ordinarily started when the system boots up.
SERVER
This component defines the license servers in the network. The format
is as follows:
SERVER nodename hostid port
In the example above, one of the license servers is called spanky, with a
host ID of 5100f681 and a port number of 2013. All Landmark
applications use port 2013. The port number can be changed to meet
site requirements. However, the port number in all license files on all
workstations using a particular license system must be the same.
Some license files have multiple SERVER lines while others have a
single SERVER line. Multiple SERVER lines denote a redundant
License System configuration that will minimize down time due to
hardware failure or network failure. Landmark currently supports only
one or three SERVER lines in a license.dat file. This is a FLEXlm
restriction.
DAEMON
This component identifies and defines the location of the license server
executables. The format is as follows:
DAEMON serverID filename optfilename
FEATURE
This component defines the actual application being licensed, the
License Server used by the application, the version, expiration, number
of users, password, vendor string (used for security), and whether or
not this is a demo version. The format is as follows:
FEATURE app servID vrsn date numusr passwd vstr
[DEMO] [hostid]
REPORTLOG
This option specifies the file to be used to store information about
application usage. In the next example, the file is /usr/adm/lgc.log. The
+ before the file name means the License Manager will append to that
file instead of overwriting the file every time it is started:
REPORTLOG +/usr/adm/lgc.log
RESERVE
This option specifies that a license should be reserved for a particular
user or host. In the following examples, one license for SEIS3D is
reserved for user John and one license for ZAP is reserved for host
neptune.
RESERVE 1 SEIS3D USER john
See the FLEXlm Users Guide for further options available in the
license options file.
License Server
You can start or stop the License Server on the workstation that runs it,
or set the environment variable.
setenv LM_LICENSE_FILE
$OWHOME/license1.dat:$OWHOME/license2.dat
SERVER
This component defines the license servers in the network. The format
is:
SERVER nodename hostid port
In the example above, one of the license servers is called spanky, with a
host ID of 5100f681 and a port number of 2013. All Landmark
applications use port 2013. The port number can be changed to meet
site requirements. However, the port number in all license files on all
workstations using a particular license system must be the same. Some
license files have multiple SERVER lines while others have a single
SERVER line. Multiple SERVER lines denote a redundant License
System configuration that will minimize down time due to hardware
failure or network failure. Landmark currently supports only one or
three SERVER lines in a license.dat file. This is a FLEXlm
restriction.
DAEMON
This component identifies and defines the location of the license server
executables. The format is:
DAEMON serverID filename optfilename
FEATURE
This component defines the actual application being licensed, the
License Server used by the application, the version, expiration, number
of users, password, vendor string (used for security), and whether or
not this is a demo version. The format is:
FEATURE app servID vrsn date numusr passwd vstr
[DEMO] [hostid]
REPORTLOG
This option specifies the file to be used to store information about
application usage. In the following example, the file is
/usr/adm/lgc.log. The plus (+) symbol before the file name means the
License Manager will append to that file instead of overwriting the file
every time it is started.
REPORTLOG +/usr/adm/lgc.log
RESERVE
This option specifies that a license should be reserved for a particular
user or host. In the following examples, one license for SEIS3D is
reserved for user John and one license for ZAP is reserved for host
neptune.
RESERVE 1 SEIS3D USER john
RESERVE 1 ZAP HOST neptune
See the FLEXlm Users Guide for further options available in the
license options file.
The two lam manager processes start and a process log named
lic.log writes to your <install_dir>/ZMAPPlus/lam/bin
directory. The log contains important information about your license
processes, similar to the following example (depending on your
individual license options list):
cd <install_dir>/ZMAPPlus/lam/bin
./stoplmgrd
To check that the license server is alive, you can look for the two lam
processes by using the Unix ps (report processes status) command:
ps -eaf | grep lmgrd
Configuring Hardcopy
Introduction
You can produce hardcopy for a plotter in Z-MAP Plus or
independently of Z-MAP Plus. This section explains how to configure
the Z-MAP Plus hardcopy environment to get output from the plotter(s)
you use.
This section covers the following aspects of configuring hardcopy:
Hardcopy and Hardcopy Batch summarize requirements for
plotting inside and outside of Z-MAP Plus.
HP-GL Drivers describes how to work with devices that can
interpret HP-GL (Hewlett-Packard Graphics Language).
CGM Drivers shows how CGM files are generated from
Z-MAP Plus, and how they are turned into pictures via rasterizers
or interpreters.
For more information about hardcopy, see Appendix B. Z-MAP Plus
Graphics Environment on page 95.
777 HDBAT
778 HDBAT
779 HDBAT
780 HDBAT
1999 HDBAT
2999 HDBAT
In the HdConf.dat file, the two columns are separated by one blank
space. For example:
777 HDBAT
The second column contains the actual file name for the hardcopy
batch binary that supports output for the plotter type named in the first
column. The binary HDBAT can support both HP-GL and CGM
output. The identical entries for HDBAT in the table above actually
correspond to different HP-GL plotter sizes.
Environment
Type of
Variable Example Set Environment Variable
Hardcopy
Controlling the Command
Output
Output File Name
If the above environment variables are not set, the default output file
names will be ZYCORCGM1 and PLOTOUT.
--------------------------INPUT ZGF--------------------------
./colorwheel.zgf
-------------------------------------------------------------
------------------------INPUT PICTURE------------------------
VERSATEC SAMPLE TABLE
-------------------------------------------------------------
Format Details
All the numeric fields on line 15 are right-justified. The dnumber field
is derived from the Workstation Type box from the appropriate plotter
WDFILE entry. The file WDFILE can be found under the /files
subdirectory.
Template HDBAT input files can be created in Z-MAP Plus under the
File Print Plot a Picture (Other) menu. The HDBAT input file
will be created in the current working directory with the file name
HDPARM and a numeric extension.
HP-GL Drivers
This section describes how to work with HP-GL graphics devices.
HP-GL is the Hewlett-Packard (HP) Graphics Language, the language
which HP plotters (and many non-HP graphics devices) understand.
HP-GL/2 is a superset of HP-GL that provides extended functionality
and also supports raster plotters. HP-GL is a human-readable language
based on two letter mnemonic commands. Commands are followed
by parameters separated by commas and a terminator, usually a
semicolon or the next command. An example is
SP1PU100,100PD200,200; (Select Pen 1, move to (100,100) with the
Pen Up, and draw to (200,200) with the Pen Down).
This section describes only the features of HP-GL and HP-GL/2 that
are used by the driver. There are some features of HP-GL, such as axis
rotation, that are not supported by the driver.
To work with your plotter, the HP-GL Driver needs the following
information:
Coordinate space
Roll feed
Driver output
Eavesdrop mode
Prompt mode
Absolute mode
Coordinate Space
Most Hewlett-Packard plotters can be loaded with more than one size
of paper. The size of the paper loaded determines the coordinate space
of the plotter. The driver cannot determine the size of the paper loaded,
so the Display Size in the Workstation Description File must be
correctly specified. The plotter hardware orients the x axis along the
longer dimension of the paper. Some HP plotters have their origin in
the center of the paper. Other plotters have their origin near the bottom
left corner of the paper. The position of the origin must be specified in
the Workstation Description File. See Center Origin (tenthousands
digit) on page 60.
Roll Feed
Some plotters use roll feed paper. If roll feed paper is installed, this
must be indicated in the Workstation Description File. Plotters with roll
feed paper are still best thought of as cut sheet plotters with an
automatic paper load feature. It is not possible to generate plots of
arbitrarily long length. Generally, the page length is limited to about
1.5 times the paper width, but consult the plotter documentation. The
Display Size in the Workstation Description File should reflect the
maximum plot size. The driver will set the page length so that only the
minimum amount of paper necessary is used.
Driver Output
The driver can output to a file or directly to a plotter. The driver opens
file PLOTOUT for output. This typically creates a disk file (PLOTOUT
or PLOTOUT.DAT). The output can be redirected to a plotter.
Eavesdrop mode and prompt mode are intended to be used only
when the driver outputs directly to a plotter, not when output is to a
disk file.
Eavesdrop Mode
Many Hewlett-Packard plotters can operate in eavesdrop mode to allow
a terminal and a plotter to share one computer port. In eavesdrop mode
all data from the computer is passed on to the terminal port of the
plotter until a plotter on command is received. Subsequent data is
interpreted as HP-GL commands for the plotter until a plotter off
command is received. The driver supports eavesdrop mode, allowing
programs to be run from a terminal connected directly to the plotter.
The Workstation Description File entry of a plotter specifies whether
eavesdrop mode is to be used. If eavesdrop mode is to be used, the
plotter itself must also be placed in eavesdrop mode.
Prompt Mode
The driver supports an optional prompt mode. Specify whether to use
prompt mode in the Workstation Description File. If prompt mode is
enabled, then you are asked before each plot (except the first) whether
you want a new sheet of paper. If you want a new sheet, and the plotter
is not loaded with roll feed paper, you will be prompted to load a new
sheet of paper and press Return. Roll feed plotters automatically
advance the paper.
You may want to put several plots on a single sheet of paper. You can
draw multiple plots by instructing the plotter not to provide a new sheet
of paper and by repositioning the pen before the next plot. The driver is
not able to do this with all plotters. It is able to accept pen repositioning
only on plotters that support the type 2 SC command, which includes
all HP-GL/2 plotters and some older ones. Pen repositioning must be
disabled in the Workstation Description File for those plotters that do
not support the type 2 SC command. If you do not want a new sheet of
paper and pen repositioning is enabled, you are prompted to reposition
the pen and press Return when you finish. Otherwise, the next plot
will plot over the last plot.
Absolute Mode
Pen moves and draws can be encoded in absolute (PA) or relative (PR)
instructions. Relative mode generates significantly smaller output files
than absolute mode and thus should be used unless there is good reason
to avoid relative mode. Some devices and software that accept HP-GL
cannot accept relative coordinates, and so absolute mode is provided.
Note that HP-GL/2 supports an even more compact instruction than
PR, the PE instruction. Absolute mode is ignored if PE instructions are
used. PE instructions are always relative. The Workstation Description
File determines whether PA, PR or PE instructions are used.
Workstation Type
This is an arbitrary integer which uniquely identifies a particular entry
in the file. The driver does not use this number.
Workstation Name
This is a text description for the device in the WDFILE entry. This is
the name by which the user selects the device. The driver does not use
this name.
Workstation Category
This is a number which identifies whether the device is output only (0),
input only (1), or output/input (2). All HP-GL devices are output only.
Display Size
The display size in x and y directions is defined in meters, resolution
units, and internal units. Display size depends on the plotter model and
the size of the paper installed. The user's guide for each plotter model
specifies the maximum plotting area in meters for each size of paper.
The size in internal units is the size in meters times 1000, divided by
the step size, usually .025 mm. The size in resolution units is one
greater than the size in internal units.
If a user's guide is not available, measure the paper size in meters and
subtract 15 mm for margins on the left, top, and right sides and 39 mm
for the margin on the bottom. If the display size is too large, then plots
can extend outside the hard clip limits and be clipped away. If the
display size is too small, then part of the paper will not be available for
plotting.
The x and y dimensions for an A-size HP-GL plotter are as follows:
METERS RESOLUTION INTERNAL
---------- ------------ ------------
DISPLAY SIZE (X) | .2591| | 10365| | 10365.|
DISPLAY SIZE (Y) | .1990| | 7962| | 7962.|
---------- ------------ ------------
A-size 8 11
B-size 11 16
C-size 16 21
D-size 21 32
Display Type
The display type is either vector (0) or raster (1).
Color
The color available field should contain a 1. The number of colors
determines the number of colors available, including color 0, the
background color. On pen plotters the number of colors is equal to the
number of pens available plus 1 (for the background). Pens must be in
continuous positions in the pen holder starting with pen 1. The pen
colors are implied to be black, red, green, yellow, blue, magenta, and
cyan, in that order. Raster plotters can have more than 8 colors.
Driver Code
The driver code for HP-GL is always 25.
Device Number
The device number field contains a six-digit integer number. Each digit
has a meaning.
absolute mode?
center origin?
eavesdrop mode?
prompt mode?
roll paper?
HP-GL2?
0 0 0 0 0 0
CGM Drivers
The Landmark CGM driver is part of the ZIGS (ZYCOR Interactive
Graphics System) subsystem. It generates ANSI standard CGM
(Computer Graphics Metafile) files using the binary encoding scheme.
Other CGM encoding schemes are available but are currently not
supported by Landmark.
Output File
The CGM driver generates a file named ZYCORCGM on Unix
systems.
Elements Generated
Every Landmark CGM file contains the following elements:
BEGIN METAFILE (ZYCOR CGM)
END METAFILE
BEGIN PICTURE (PICTURE 1, PICTURE 2, . .)
BEGIN PICTURE BODY
END PICTURE
METAFILE VERSION (1)
VDC TYPE (INTEGER)
INTEGER PRECISION (16)
REAL PRECISION (FIXED,16,16)
COLOR PRECISION (16)
COLOR INDEX PRECISION (16)
MAXIMUM COLOR INDEX (255)
COLOR VALUE EXTENT ((0,0,0),(255,255,255))
METAFILE ELEMENT LIST
SCALING MODE (METRIC,0.0635)
VDC EXTENT
INTERIOR STYLE (SOLID)
VDC INTEGER PRECISION (24)
POLYLINE
POLYGON
LINE TYPE
LINE WIDTH
LINE COLOR
FILL COLOR
COLOR TABLE
VDC INTEGER PRECISION (16)
Color
The CGM driver supports indexed color mode with a color table of 256
entries. The CGM contains a COLOR TABLE element for a color
index before the first use of that index in a LINE COLOR or FILL
COLOR element, with the exception of indices 0 and 1. These two
indices are excluded from the COLOR TABLE element in the CGM so
that an interpreter can use the appropriate color for the specific output
device in use.
Versatec Support
Versatec cannot directly read CGM files, but you can plot to Versatec
indirectly by using a third party rasterizer or filter to convert a CGM
into something Versatec can understand.
To add entries to the WDFILE, use a text editor to insert them by using
the same format as the other entries in the file. Be sure to increase the
number of workstations box at the top of the file by one for each
entry you add. The default entries in the WDFILE are:
X Windows
Versatec plotter
Calcomp 9100 digitizer
Summagraphic 3648 digitizer
Tektronix 4697 digitizer
Gtco digitizer
CGM metafile
Hp-GL plotter
For more information about the WDFILE format, read the section
called Workstation Description File (WDFILE) on page 67.
Introduction
The Workstation Description File (WDFILE) is a formatted file read by
the Z-MAP Interactive Graphics System (ZIGS) at initialization time.
The WDFILE determines the number and kind of graphics devices
available. It consists of a file header followed by one or more device
description entries. Each entry in the WDFILE is a Device Description
Entry (DDENTRY).
======================================================================
TYPE
----
DISPLAY | 1|
----
======================================================================
either 00 or absent
Driver Codes
Driver codes identify major device categories. A driver code can
support many different devices of the named device category. Specific
devices are identified by a unique Device Number and Make Number.
(For more information, see Device Numbers on page 73 and Driver
Code Make Numbers on page 77.)
The following list contains the driver codes available for use by
Landmark products for interactive graphics, digitizers, and plotters.
Driver
Code Manufacturer
1 Tektronix
2 Plotter
3 Precision Visuals DI-3000
4 IBM GASP
5 DEC Regis
6 Ayden Aygraf
7 Calcomp Vistagraphic FSP
8 Megatek Template
9 Megatek Wand
10 Apollo GPR
11 Hewlett-Packard DGL/Starbase
12 GeoQuest IES
13 IBM GDDM
14 GSS*CGI
15 DEC VAX GKS
16 Digitizers
17 DEC Vaxstation (UIS)
18 Western Geophysical Crystal
21 X Windows
24 CGM metafile
25 HPGL
Device Numbers
A device number uniquely identifies a specific device and specifies
device characteristics.
With a few exceptions, a device number descriptor has three fields:
the make identifier
the model number (such as 4207)
the host-to-device communications method (IBM only)
For example, below is a device number for a Tektronix 4207 graphics
terminal:
01 4207 00
format identifier
(in Calcomp, Altek, and Summagraphics digitizers)
number of buttons
model number
make identifier
For Driver Code 25 (HPGL) a device number descriptor has six fields:
absolute mode?
center origin?
eavesdrop mode?
prompt mode?
roll paper?
HP-GL/2?
For example, below is a DEVICE NUMBER for an HPGL plotter
which supports roll feed paper and HP-GL/2:
0 0 0 0 11
prompt mode
(0 = no, 1 = yes, 2 = yes with no pen repositioning)
01 - Calcomp Digitizer
Valid model numbers: 9120, 9136, 9148, 9160, 9240, 9360, 9480,
9600, 6480, 6220, 6140, 6110, 8120, 8220, 8400, 8480, 8600, 4000
Valid cursor values: 1, 4, 12, 16
Formats for 9100 and 9000 series:
imperial format
1 : TMFXXXXXYYYYYC
2 : XXXXX,YYYYY,TMFC
3 : FUXXXXXYYYYYC
4 : SXX.XXX,SYY.YYY,TMFC or BXX.XXX,BYY.YYY,TMFC
metric format
1 : TMFXXXXXXYYYYYYC
2 : XXXXXX,YYYYYY,TMFC
3 : FUXXXXXXYYYYYYC
4 : SXXXX.XX,SYYYY.YY,TMFC or
BXXXX.XX,BYYYY.YY,TMFC
counts format
1 : TMFXXXXXYYYYYC
2 : XXXXX,YYYYYTMFC
3 : FUXXXXXYYYYYC
4 : SXXXXX.,SYYYYY.,TMFC or BXXXXX.,BYYYYY.,TMFC
Where
F = flag character
( ) = optional character
C = character return
L = line feed
T = tablet identifier
Q, R = blank or special character
S = sign (+ or -)
B = blank
U = status (up or down)
M = mode status (point, stream, etc.)
Format 3 is the standard format for 6000 and 8000 series.
05 - Summagraphics (Non-Microgrids)
inches format
1 : TFSXXXXXSYYYYY(C)(L)
2 : TFSXX.XXX,SYY.YYY/CL
3 : QTFSXX.XXX,SYY.YYY/CLR
millimeters
1 : TFSXXXXXSYYYYY(C)(L)
2 : TFSXXXX.X,SYYYY.Y/CL
3 : QTFSXXXX.X,SYYYY.Y/CLR
06 - GTCO
GTCO 5 - Model number (0050)
GTCO 5A Model number (0051)
Note: the format and units used are set by the program and cleared
upon exiting.
07 - Altek
A30: (Model number 0030)
format =
1 : FBSXXXXXBSYYYYYC11 : FXXXXXBYYYYYC
2 : FSXXXXXSYYYYYC12 : FXXXXXYYYYYBC
3 : F,SXXXXX,SYYYYYC13 : XXXXX,YYYYY,FC
4 : FBXXXXXBYYYYYC14 : FBXXXXXBYYYYYC
5 : FUSXXXXXSYYYYYC15 : FSXXXXXYYYYYC
6 : Not supported16 : Not supported
7 : $F,SXXXXX,SYYYYYC17 : $F,XXXXX,YYYYYC
A40: (Model number 0040)
imperial or metric metric only
format =
1 : FBXXXXXBYYYYYC11 : FBXXXXXXBYYYYYYC
2 : FXXXXXYYYYYC12 : FXXXXXXYYYYYYC
3 : F,XXXXX,YYYYYC13 : F,XXXXXX,YYYYYYC
4 : FXXXXXBYYYYYC14 : FXXXXXXBYYYYYYC
5 : FUXXXXXBYYYYYC15 : FUXXXXXXYYYYYYC
6 : Not supported16 : Not supported
7 : $F,XXXXX,YYYYYC17 : $F,XXXXXX,YYYYYYC
Note: The program sets the format to either 1 or 11 internally and
resets it upon exiting, but it will use the provided format number to
determine if it is reset to 1 or 11.
08 - Summagraphics Microgrid
Format and units are set by the program and reset upon exiting.
09 - Numonics Digitizers
Valid model number: 2200
Format is determined by the program, units are set by the program to
inches.
Note: The digitizer is not reset upon exiting; this needs to be done by
hand.
WDFILE Example
---- --
NUMBER OF WORKSTATIONS TYPES | 11| Z-MAP PLOT UNITS (IN|CM) |CM|
---- --
=======================================================================
TYPE
----
DISPLAY | 1|
----
TYPE
----
DISPLAY | 1|
----
TYPE
----
DISPLAY | 1|
----
=======================================================================
TYPE
----
DISPLAY | 1|
----
TYPE
----
DISPLAY | 0|
----
TYPE
----
DISPLAY | 0|
----
TYPE
----
DISPLAY | 1|
----
TYPE
----
DISPLAY | 0|
----
TYPE
----
DISPLAY | 1|
----
TYPE
----
DISPLAY | 1|
----
TYPE
----
DISPLAY | 0|
----
=======================================================================
END OF WORKSTATION DESCRIPTION FILE
ACRONYM
-------
TEMPLATE |TEK |
-------
Introduction
This appendix is a master list of environment variables you can use
with mapping products.
Appendix B.
Z-MAP Plus Graphics Environment
Introduction
The section Configuring Hardcopy starting on page 49 has
step-by-step instructions for setting up a hardcopy environment. This
appendix provides additional background you may need to configure
the plotter for hardcopy with the Z-MAP Plus family of products.
This appendix describes the Z-MAP Plus graphics environment in
general and hardcopy support in particular. Major topics include:
ZIGS The history and purpose of the Z-MAP Interactive
Graphics Subsystem (ZIGS), as well as Z-MAP Graphics Files
(ZGFs).
Device Support and Workstation Description File How the
WDFILE makes it possible for workstations, digitizers, plotters,
and plotter driver languages to work with Z-MAP Plus and
Hardcopy.
Hardcopy Plotting Options for plotting with CGM and HP-GL
metafiles.ZIGS
This section introduces the history of ZIGS, and provides basic
information about the ZIGS graphics subsystem.
What ZIGS Is
ZIGS is the graphics subsystem that supports the Z-MAP Plus
products. ZIGS has the following characteristics:
Handles interactive devices (terminals), input devices (digitizers),
and output devices (plotters).
Supports many interactive device interfaces, and is now mostly
used for the X Windows system.
Can produce output to plotters via CGM or HP-GL
Is proprietary. It is used only in Landmarks products.
Maintains Z-MAP Graphics Files (ZGFs), which are described
below.
Occupies a diminishing role, since it is being superseded by newer
technology.
Advantages of ZIGS
ZIGS
supports over 300 devices (e.g. Tektronix terminals, Summagraphics digitizers,
Houston Instruments pen plotters, X-terminals, etc.).
supports a wide variety of application data in addition to graphics primitives,
such as historical information for Z-MAP Plus data editing, process history,
and parametric information. ZIGS also supports Application Data Records for
special purposes.
allows simple CAD-like editing of primitives.
has an extended symbol set with over 870 symbols.
comprehends map scale and projection parameters.
Device Support
Device support is provided for digitizers, workstations, and plotters, as
well as for metafiles that are classified as devices. The Workstation
Description File (WDFILE) is the vehicle which allows Z-MAP Plus,
Hardcopy, and Hardcopy Batch to work with these many different
devices. The WDFILE provides the link between the Z-MAP Plus
family of products and the manufactured input/output device.
This section describes support for the major device types and the role
of the WDFILE in providing this support.
Z-MAP Plus and Hardcopy provide support for workstations, plotters,
and CGM and HP-GL metafiles.
Workstation Support
Many applications require the X Windows system, if you use a Solaris
system. These applications cannot make use of ZIGSs ability to drive
other types of displays.
Plotter Support
Plotter support is described in the next topic, Hardcopy Plotting on
page 99, and in Configuring Hardcopy on page 49.
WDFILES
To work correctly with each device, ZIGS must know some basic
information about the device, such as its size, internal resolution,
whether it supports color (and if so, how many colors), and the type of
device it is (plotter, terminal, etc.). ZIGS gets this information from a
WDFILE.
A WDFILE is an ASCII disk file containing descriptions of each
device that the program will interact with. CGM and HP-GL metafiles
are considered devices and have their own WDFILE entries.
A WDFILE is included with each installation tape we send out, and the
current version contains entries for these devices:
The X Windows system
Versatec 3444 plotter
Versatec 3236 plotter
Calcomp 48x36 series 9100 digitizer
Summagraphics Microgrid 36x48 digitizer
Tektronix 4957 digitizer
Geoquest GTCO digitizer
HP-GL
CGM
You can add device descriptions to the WDFILE or change it by using
the format guidelines in Workstation Description File (WDFILE) on
page 67.
Hardcopy Plotting
There are three basic ways to use the software in the Z-MAP Plus
product system to make a hardcopy plot.
1. The Hardcopy program You can run the interactive program
Hardcopy, which will plot the picture to a CGM or HP-GL file.
2. Z-MAP Plus/Hardcopy Batch You can make a plot by
following these steps:
a. In the Plot a Picture (Other) utility, specify the ZGF,
picture, and picture elements you wish to plot and the device
you want to plot to.
b. When you exit Z-MAP Plus, you will be asked if you wish to
run Hardcopy Batch, the batch version of Hardcopy. If so, it
will read the parameter file that the Plot a Picture (Other)
utility made and will send the picture to the specified device.
HP-GL
An HP-GL file contains one or more pictures written in the
Hewlett-Packard Graphics Language. This is a proprietary format that
HP plotters (and many non-HP graphics devices) understand.
We also support HP-GL/2, which is a superset of HP-GL, providing
extended functionality and support for raster plotters.
HP-GL files and their relationship to our programs are discussed in
detail in HP-GL Drivers on page 54 of this guide.
CGMs
A CGM, or Computer Graphics Metafile, is a standard way of
describing a picture in a binary file format. It is a nonproprietary,
international (ANSI and ISO) standard. CGM+ is a superset of CGM
that provides support for seismic trace extensions.
Larson Software
Larson has introduced a product that converts CGMs into Versatec
Color Graphics Language (VCGL), permitting direct transmission to
Versatec plotters for rasterization and plotting. This product,
INTERPRETERcgm, can be used with any of the Versatec rasterizers
that support RPM VCGL. For more information, see Versatec
Support on page 64.
Larson also makes another CGM product called MOSAICcgm. Unique
in the market at this time, it can be used to montage, edit, and merge
CGMs.
Metacheck
This program, available from a company called Advanced Technology
Center, verifies the validity of a CGM. It will print a summary (at a
user-selectable level of detail) of the CGM.
CGM Precision
The CGM standard allows CGMs to be written many different ways.
In Z-MAP Plus, starting with version 2.0, the Virtual Device
Coordinate (VDC) precision is 16-bit or 24-bit integer (rather than
floating point or 32-bit integer), depending on the size of the picture.
Small pictures are written in 16-bit precision, large pictures in 24-bit
precision. In version 1.4.2 and earlier versions, the precision is always
16-bit.
Colors are written in indexed color (as opposed to direct color).
The scaling mode is metric (versus abstract), and is set to .0635 mm per
VDC (so that there are 400 VDCs per inch) in Z-MAP Plus version 2.0
and later, and .1mm per VDC in earlier versions.
For details, see CGM Drivers on page 61.
It is important to note that the CGMs that we write are completely
portable even though they are in binary format.
Introduction
Presentation quality maps require clear, bold, and attractive lettering.
Z-MAP Plus provides support for plots with filled fonts. In order to
produce Z-MAP Plus hardcopy with filled fonts, however, you must
own a CGM rasterizer. Z-MAP Plus replaces the outline fonts available
through CGM rasterizers with filled fonts.
The work flow below depicts the major steps in the font replacement
process:
Make a CGM file using Z-MAP Plus File Scaled Plot Plot a Picture
(CGM) or the CGM File ZCL process.
The CGM contains filled font instructions.
Font
Parameter
Replacement Definition Possible Values
Name
Parameter
Font
Parameter
Replacement Definition Possible Values
Name
Parameter
CS Character The value for Character Spacing If the value of CS is 0.0, the
Spacing is a fraction of Character Height. characters have the default
Character Spacing is the distance spacing designated by the font
between characters. Character designer. If the value of CS is
spacing specifies the amount of positive, additional space is
additional space inserted between inserted between characters. If
adjacent characters. the value of CS is negative,
adjacent characters overlap
(although the character symbols
themselves may not overlap).
The default value for CS is 0.0.
In this example, the line beginning with DUPLEX substitutes the device
font TRIUMVIRATE for the default Z-MAP DUPLEX font and has
correlated values for fields 1 through 5 as illustrated in the following
table:
Field 1 2 3 4 5
The second (COMPLEX) and third (ITALIC) lines of the example file
illustrate ways to use the default field values. The second line that
contains COMPLEX in the first field defaults the value of the fifth field
(character spacing) by leaving it blank. The line with ITALIC in the
first field defaults all fields except the Z-MAP font name and the
replacement font.
Here are some options you can use in setting values for the parameters,
along with their expected results: