Assigning a Printer to a Form Queue with the ASSIGNFQ Command

The ASSIGNFQ command assigns a printer device driver to a spooler form queue. This printer driver is then used by the Output Processor to generate special formatting commands such as boldface, cursor positioning, or underlining, when output is directed to the spooler.

Format

ASSIGNFQ form.queue{-n},device.type {,form.queue{-n} ,device.type{,...}} {(options}

Parameter(s)

form.queue{-n}

Multiple form queues can be updated in the command, but each queue must have an associated device name.

device.type

Name of the device to assign to the specified form queue. If "null" is specified, unassigns a device from the specified form queue.

WARNINGThe device.type is limited to a maximum of 12 characters.

options

C

Compiles the devices file item into the printer control block.

Printer drivers are located in the DEVICES file. The current driver assignments may be displayed with the mvAdmin utility. A printer may have more than one form queue attached to it.

The printer control block is a binary item, (similar to a system-level dynamic array) that contains the codes and control strings pertinent to the device in question. Each system function ( @(-n) ) has its own array position, and the system cursor function searches this item for control strings such as set x,y coordinate, set text color, and so on.

WARNING

The changes created by an ASSIGNFQ function do not take effect for a given line until an SP-ASSIGN command is executed on that line. It is recommended that all ASSIGNFQ commands be incorporated into the system’s coldstart macros so that they are automatically set up when the machine boots.

See Also

Using the Print Spooler

Starting the Print Spooler

Reinitializing the Print Spooler

Assigning Print Spooler Specifications

Checking the Print Queue

Cancelling Print Jobs

Manipulating Hold Files

Using the Print Spooler with Backup Media

Using Procs for Printer, Tape and Floppy Disk Control

Scheduling the Windows Print Spooler