|
Class: PrinterInfo (private in AbstractOperatingSystem
This class is only visible from within
AbstractOperatingSystem.
Object
|
+--AbstractOperatingSystem::PrinterInfo
- Package:
- stx:libbasic
- Category:
- System-Support
- Owner:
- AbstractOperatingSystem
constants
-
paperSizeNameForNumber: aNumber ifAbsent: aBlock
-
self paperSizeNameForNumber:11212 ifAbsent: [nil]
-
paperSizeNames
-
self paperSizeNames
-
paperSizeNumberForName: aName
-
self paperSizeNumberForName:'Letter, 8 1/2- by 11-inches'
-
paperSizeNumberToNameMapping
-
self paperSizeNumberToNameMapping
self paperSizeNumberToNameMapping = self paperSizeNumberToNameTable
-
paperSizeNumberToNameTable
-
Letter
-
statusNumberToDescriptionForNumber: aNumber
-
self statusNumberToDescriptionForNumber:1
-
statusNumberToDescriptionMapping
-
-
statusNumberToDescriptionTable
-
PRINTER_STATUS_READY
accessing
-
attributes
-
-
collate
-
-
collate: aBoolean
-
DMCOLLATE_TRUE
-
comment
-
-
copies
-
-
copies: anInteger
-
-
documentProperties
-
-
documentProperties: aDevModeStructure
-
-
driverName
-
-
location
-
-
longName
-
-
medium
-
-
orientation
-
-
orientation: anInteger
-
-
pDriverName
-
-
paperSize
-
-
paperSize: anInteger
-
-
paperSizeName
-
-
paperSizeName: aString
-
-
printQuality
-
-
printerName
-
-
printerName: printerNameArg attributes: attributesArg
-
-
remotePrinterHost
-
-
remotePrinterName
-
-
status
-
-
userFriendlyName
-
dc creation
-
createDC
-
Transcript show:driverName; show:' '; showCR:printerName.
dialogs
-
openPropertiesDialog
-
Returns true if the documentProperties have been accepted. Otherwise, returns false
modifying
-
setLandscapeOrientation
-
DMORIENT_LANDSCAPE = 2
-
setNumberOfCopies: n
-
-
setPortraitOrientation
-
DMORIENT_PORTRAIT = 1
printing & storing
-
printOn: aStream
-
(comment from inherited method)
append a user printed representation of the receiver to aStream.
The format is suitable for a human - not meant to be read back.
The default here is to output the receiver's class name.
BUT: this method is heavily redefined for objects which
can print prettier.
private
-
getDocumentProperties
-
Returns a aDevModeStructure
-
getPrinterInfo2
-
Returns a aPrinterInfo2 structure
-
printerInfo2
-
Returns a aPrinterInfo2 structure
-
setDocumentProperties
-
Sets a aDevModeStructure or nil if the printer is not available
queries
-
isAvailable
-
|