The setup-printer BASIC program downloads fonts to a laser printer attached to a form queue.
The form queues are items in the dm,devices, file with fonts 1 through 16 defined at the proper table entry (x-125 through 140.)
The list of font item-IDs used by a form queue are in the file dictionary dm,fonts, with the item-IDs the same as the form queue.
If a form queue is indicated, it downloads the fonts in that list.
If a printer number is indicated, for all form queues defined by that printer, it downloads the fonts in each form queue list. Thus, by specifying the item-ID of the form queue, it retrieves the list of fonts in dm,devices, dictionary.
q.number | Form queue number to which the fonts are downloaded. |
printer.number | Printer number to which the form queue fonts are downloaded. |
Fonts reside in the dm,fonts, file.
The list of fonts assigned to a form queue resides in the dictionary dm,fonts form queue number.
Setting up a form queue downloads all the fonts defined for that form queue.
Setting up a printer does a form queue download for each form queue defined for that printer.
Each (downloaded) font is stored in the printer’s memory, and is referenced by a numeric font-ID number. To ensure that an existing font is not accidentally overwritten, the beginning font-number of 10 is used, and is increased by 10 for each additional downloaded font.
The fonts may be invoked using the same @ functions available to BASIC and the arguments between (-146) and (-267), or by the Output processor font<font.number> command).