Windows Printer Interface

The Windows printer interface uses the Windows GDI printer driver (wingdiprinter) which employs BASIC @() function codes to embed character sequences into the print data stream. The @() function codes allow you to:

The Windows printer driver always maintains the current x,y coordinate position on the print page. When outputting a line of text ending with a carriage return and line feed, the x,y coordinate position gets adjusted. When the outputting of a line goes beyond the end of the print page, the printer driver automatically ends the current page and advances to the next page. Note that you can force page advancement by storing a form feed character in the print data stream.

@() function codes 301 - 399 are defined in a control item of the DEVICES file to support the @() function to character sequence translations that the Windows printer driver recognizes for calling the appropriate Windows Printer API methods. Two types of Windows Printer @() function codes are provided:

CAUTION

Although multiple printing @() function codes can be concatenated, do not concatenate a setup @() function code with another setup @() function code or a printing @() function code. Setup @() function codes should always be isolated in a single statement.

The following topics are presented in this section:

Configuring a Windows Printer for the Windows GDI Driver

Describes how to configure a Windows printer for the Windows GDI driver.

Windows GDI Printing Typeface Management

Describes managing typefaces for Windows GDI printing.

Default Font Management

Describes default font management for Windows GDI printing.

See Also

@() Function, assignfq (Windows) Command, devices File, dev-make Command (Windows), sp-assign Command