Accessing Files Programmer's Guide (32650-90885)

Chapter 2 33
Creating A File
The HPFOPEN Intrinsic
this option:
itemnum
=20
itemnum
=22
itemnum
=23
itemnum
=42
Default: A disk file located on the volume class DISC associated with the
group in which the file resides.
This
itemnum
may not be specified when creating hierarchical directories.
(ASC) Not used for asynchronous devices.
24/I32 Density:
Passes the tape density required when writing to a tape file. This option is
applicable only when writing to a tape on a drive that supports more than
one density. When reading from a tape, the density of the tape overrides
this option
Default: The highest density available on the device opened.
(ASC) Not used for asynchronous devices.
25/CA Printer environment:
Passes the name of a file that contains a printer environment. This option
is valid only for specified printer devices.
If opening an Hewlett-Packard 268x page printer file, specify an optional
printing environment for the job. The printing environment is defined as
all of the characteristics of the printed page that are not part of the data
itself, including the page size, the margin width, the character set, the
orientation (horizontal or vertical), and the name of forms to use. If an
environment file is not specified, the file system selects a default printer
environment.
Any environment selected remains active until replaced by a new
environment, or until a call to FCLOSE (close the printer).
Default: No printer environment file specified
A character placed in the first element designates the delimiter used by
HPFOPEN to search for the end of the character array. The delimiter can
appear again only following the last valid character of the character array,
for example,
%envname%
(% is the delimiter,
envname
is the designator)
fabcxyzf
(
f
is the delimiter,
abcxyz
is the designator)
26/CA Remote environment:
Passes the node name of the remote computer where the file is located.
This option is used when referencing a file located on a remote computer.