Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version

printer-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.

printer-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-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version