Previous Document Next Document

Object Model Reference : Classes : P : PrintPostScript : Properties : PrintPostScript.DownloadType1


PrintPostScript.DownloadType1

Property DownloadType1 As Boolean

Description

Member of PrintPostScript

The DownloadType1 property controls the download of Type 1 fonts to a PostScript printer. If fonts are not downloaded to the printer (and they are not already installed on the printer), the fonts print as curves or bitmaps.

VBA example

The following VBA example creates text strings in various fonts and prints them. The fonts are downloaded to the printer (if PostScript), and the document is printed again.

Sub Test()
 Dim s As Shape
 Dim n As Integer
 Dim dLeft As Double
 Dim dBottom As Double
 dLeft = 0.25
 dBottom = ActivePage.SizeHeight - 0.4
 For n = 1 To FontList.Count Step 5
  Set s = ActiveLayer.CreateArtisticText(dLeft, dBottom, "Some Text String")
  s.Text.FontProperties.Name = FontList(n)
  dBottom = dBottom - 0.4
 Next n
 With ActiveDocument
  .PrintSettings.PostScript.DownloadType1 = False
  .PrintSettings.PostScript.TrueTypeToType1 = False
  .PrintOut
  .PrintSettings.PostScript.DownloadType1 = True
  .PrintSettings.PostScript.TrueTypeToType1 = True
  .PrintOut
 End With
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.