Generic FunctionPackage: common-graphicsToCDocOverviewCGDocRelNotesIndexPermutedIndex
Allegro CL version 6.2
Unrevised from 6.1

port-name

Arguments: printer

Returns a string such as "LPT1:" that names the port to which a printer stream will print. If the printer stream is printing to a file rather than a printer (as when the user selects the "Print to File" check-box on the Print Job dialog), then the port-name property of the printer stream will return nil rather than a string, and the filename property of the printer stream will return the path namestring of the file being printed to; otherwise filename returns nil and port-name returns a port-name string.

The port-name value is determined by the end user's choice of printer on the Print Job dialog that appears when a printer stream is opened, or according to the current Windows printer if the Print Job dialog is bypassed.

port-name is a property of the printer class.

This generic function is not setf'able. You must specify a value for this property when a printer stream is created with open-stream using the :port-name initarg.


Copyright (c) 1998-2002, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 6.2. This page was not revised from the 6.1 page.
Created 2002.2.26.

ToCDocOverviewCGDocRelNotesIndexPermutedIndex
Allegro CL version 6.2
Unrevised from 6.1