[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Commands Reference, Volume 4

piocnvt Command

Purpose

Expands or contracts a predefined printer definition or a virtual printer definition.

Syntax

piocnvt-s State ] -i SourceFile-o TargetFile ]

Description

The piocnvt command takes either a predefined printer definition or a virtual printer definition and expands or contracts the file. An expanded printer definition file contains all the attributes associated with that printer definition. A contracted printer definition contains only the printer specific attributes for that printer definition.

Printer definition files are arranged in a hierarchical parent-child relationship. For example the predefined printer definition 4201-3.asc has the parent master . An expanded printer definition for 4201-3.asc would contain all the attributes from 4201-3.asc as well as those from master . A contracted printer definition for 4201-3.asc would contain only the attributes not found in master . The piocnvt command simply provides a way to move back and forth between the expanded and contracted states of a printer definition file.

Flags

-s State Specifies whether the state of the TargetFile parameter should be expanded or contracted. If the -s flag is omitted, the piocnvt command attempts to determine the state by examining the zD attribute in the SourceFile. If a determination cannot be made the TargetFile parameter will be left in an expanded state.
+
Indicates that the state of the TargetFile parameter should be expanded.
!
Indicates that the state of the TargetFile parameter should be contracted.
-i SourceFile Specifies the complete path and name of the input file.
-o TargetFile Specifies the complete path and name of the output file. If the -o flag is omitted, the SourceFile will be used for output.

Examples

  1. To expand the virtual printer definition lp0:lp0 into the file new:lp0 ; enter:
    piocnvt -s+ -i lp0:lp0 -o new:lp0
  2. To contract the virtual printer definition lp0:lp0 in place; enter:
    piocnvt -s! -i lp0:lp0

Files

/usr/sbin/piocnvt Contains the piocnvt command.

Related Information

The chvirprt command, lsvirprt command, mkvirprt command.

Printer Overview for System Management in the AIX Version 4.3 Guide to Printers and Printing

Spooler Overview for System Management in the AIX Version 4.3 Guide to Printers and Printing.

Printer Specific Information in the AIX Version 4.3 Guide to Printers and Printing.

Printer Support in the AIX Version 4.3 Guide to Printers and Printing.

Virtual Printer Definitions and Attributes in the AIX Version 4.3 Guide to Printers and Printing.


[ Previous | Next | Contents | Glossary | Home | Search ]