eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'AbstractOperatingSystem::PrinterInfo':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: PrinterInfo (private in AbstractOperatingSystem

This class is only visible from within AbstractOperatingSystem.

Inheritance:

   Object
   |
   +--AbstractOperatingSystem::PrinterInfo

Package:
stx:libbasic
Category:
System-Support
Owner:
AbstractOperatingSystem

Class protocol:

constants
o  paperSizeNameForNumber: aNumber ifAbsent: aBlock
self paperSizeNameForNumber:11212 ifAbsent: [nil]

o  paperSizeNames
self paperSizeNames

o  paperSizeNumberForName: aName
self paperSizeNumberForName:'Letter, 8 1/2- by 11-inches'

o  paperSizeNumberToNameMapping
self paperSizeNumberToNameMapping
self paperSizeNumberToNameMapping = self paperSizeNumberToNameTable

o  paperSizeNumberToNameTable
Letter

o  statusNumberToDescriptionForNumber: aNumber
self statusNumberToDescriptionForNumber:1

o  statusNumberToDescriptionMapping

o  statusNumberToDescriptionTable
PRINTER_STATUS_READY


Instance protocol:

accessing
o  attributes

o  collate

o  collate: aBoolean
DMCOLLATE_TRUE

o  comment

o  copies

o  copies: anInteger

o  documentProperties

o  documentProperties: aDevModeStructure

o  driverName

o  location

o  longName

o  medium

o  orientation

o  orientation: anInteger

o  pDriverName

o  paperSize

o  paperSize: anInteger

o  paperSizeName

o  paperSizeName: aString

o  printQuality

o  printerName

o  printerName: printerNameArg attributes: attributesArg

o  remotePrinterHost

o  remotePrinterName

o  status

o  userFriendlyName

dc creation
o  createDC
Transcript show:driverName; show:' '; showCR:printerName.

dialogs
o  openPropertiesDialog
Returns true if the documentProperties have been accepted. Otherwise, returns false

modifying
o  setLandscapeOrientation
DMORIENT_LANDSCAPE = 2

o  setNumberOfCopies: n

o  setPortraitOrientation
DMORIENT_PORTRAIT = 1

printing & storing
o  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
o  getDocumentProperties
Returns a aDevModeStructure

o  getPrinterInfo2
Returns a aPrinterInfo2 structure

o  printerInfo2
Returns a aPrinterInfo2 structure

o  setDocumentProperties
Sets a aDevModeStructure or nil if the printer is not available

queries
o  isAvailable



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 04:31:58 GMT