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

scale

Arguments: printer

Takes a printer stream and returns a number indicating the scaling factor that the end user has selected on the print job dialog that was invoked when the printer stream was opened. This number indicates the scaling that the printer driver itself will perform, and so the application does not need to do the scaling itself. This scaling factor is independent of scaling that can be achieved in common graphics by call (setf stream-units-per-inch) (see stream-units-per-inch) on the printer stream.

If the print job dialog for the particular printer does not support scaling, the return value may be 0 but this has not been tested with many printers.

scale is a property of the printer class.

This function is not setf'able. You must specify a value for this property when a printer stream is created with open-stream using the :scale initarg, but some printers may ignore this value.


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