assignfq (Windows) command

The assignfq command assigns a printer device driver to a spooler form queue. This printer driver is then used by the Output processor, or by FlashBASIC @() functions to generate special formatting commands such as boldface, cursor positioning, or underlining, when output is directed to the spooler.

Syntax

assignfq form.queue{-n},device.name{,form.queue{-n} ,device.name{,...}}{(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.name Name of the device to assign to the specified form queue. If "null" is specified, unassigns a device from the specified form queue.
Warning: The device.name is limited to a maximum of 12 characters.
options c Compiles the devices file item into the printer control block.

Using a ? as a parameter produces abbreviated TCL help.

Printer drivers are located in the dm,devices, file. The current driver assignments may be displayed with the listabs command. 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 clear-screen, clear to end of screen, 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.