Adobe 26001360 Scripting Guide - Page 416
Printer, Table 5.120, Printer - Properties
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 416 highlights
416 Visual Basic Reference textRef.Width = docRef.Width + 100 textRef.Height = 150 appRef.Redraw ' Print the item using various settings of the ' PrintCoordinateOptions object Dim coordinateOptions As New Illustrator.PrintCoordinateOptions Dim printOptions As New Illustrator.printOptions printOptions.coordinateOptions = coordinateOptions coordinateOptions.Emulsion = True ' reverse from right to left coordinateOptions.FitToPage = True ' fit artwork to page size coordinateOptions.Orientation = aiLandscape docRef.PrintOut printOptions coordinateOptions.Emulsion = False coordinateOptions.Orientation = aiPortrait coordinateOptions.HorizontalScale = 50 coordinateOptions.VerticalScale = 50 docRef.PrintOut printOptions Printer Printer is an object containing information about an available printer. Table 5.120 Printer - Properties Property R/O Value type What it is Application Name PrinterInfo R/O AiApplication object Application to which the collection belongs String The printer name PrinterInfo object The printer information Note: To request a list of printers, you must first have a document open or an error will be returned. Example 62.1 The following example accesses and displays the list of printer names. ' Printer ' ' Use the PrinterList to obtain the name 12 Aug 03