Printerinfo - Adobe 26001360 - Illustrator CS - PC Manual

Scripting guide
Hide thumbs Also See for 26001360 - Illustrator CS - PC:
Table of Contents

Advertisement

Adobe Illustrator CS Scripting Guide
' of each printer and display it on the page
'
Dim appRef As New Illustrator.Application
Dim docRef As Illustrator.Document
Dim textRef As Illustrator.TextFrame
Dim sData As String
Set docRef = appRef.Documents.Add()
Set textRef = docRef.TextFrames.Add()
textRef.Top = docRef.Height - 50
textRef.Left = 50
sData = "Printers:"
Dim printerRef
For Each printerRef In appRef.PrinterList
sData = sData & vbCrLf & printerRef.Name
Next PrinterRef
textRef.Contents = sData
appRef.Redraw

PrinterInfo

PrinterInfo is an object that contains all of the information about the printer collected in one
record.
Table 5.121 PrinterInfo — Properties
Property
Application
BinaryPrintingSupport
ColorSupport
CustomPaperSupport
CustomPaperTransverse-
Support
DeviceResolution
InRIPSeparationSupport
MaxDeviceResolution
R/O
Value type
R/O
Application object
Boolean
AiPrinterColorMode
Boolean
Boolean
Double
Boolean
Double
12 Aug 03
What it is
Application to which the collection
belongs
If true, the printer supports binary
printing
The printer color capability
If true, the printer supports custom
paper sizes
If true, the printer supports custom
paper transverse
The printer default resolution
If true, the printer supports InRIP color
separation
The printer maximum device resolution
417

Advertisement

Table of Contents
loading

This manual is also suitable for:

Illustrator cs

Table of Contents