Quantcast
Channel: Adobe Community : Popular Discussions - Adobe FrameMaker
Viewing all articles
Browse latest Browse all 23442

Error: You must rely on system font, Adobe 10, windows 7, Office 2010

$
0
0

Hi there

 

I have this simple code which basically trying to converts Sheets in the current excel file to PDF with the help of PS file

 

Sub Convert(Current As Worksheet)
Dim currect As Worksheet
Dim myPDF As PdfDistiller
Dim PSFileName As String
Dim PDFFileName As String
If InStr(Current.Name, "ID") = 1 Then
PSFileName = "C:\Users\Public\Tool\PDF\" & Current.Range("b4").Value & Current.Range("b3").Value & ".ps"
PDFFileName = "C:\Users\Public\Tool\PDF\" & Current.Range("b4").Value & Current.Range("b3").Value & ".pdf"
If InStr(PSFileName, "/") Then
PSFileName = "C:\Users\Public\Tool\PDF\" & Current.Range("b3").Value & ".ps"
PDFFileName = "C:\Users\Public\Tool\PDF\" & Current.Range("b3").Value & ".pdf"

Else
End If
    Application.CutCopyMode = False    Current.PrintOut copies:=1, preview:=False, ActivePrinter:= _    "Acrobat Distiller", printtofile:=True, Collate:=False, prtofilename:=PSFileName      
'MsgBox "PSFileName : " & PSFileName
'MsgBox "PDFFileName : " & PDFFileName
' Convert the postscript file to .pdf
Set myPDF = New PdfDistiller
myPDF.FileToPDF PSFileName, PDFFileName, ""

End If
End Sub

 

 

Now I kept getting this error:

 

Error.JPG

 

From other posts I tried the following steps

  1. Click the Start menu, and then click Devices and Printers
  2. Right-click the Adobe PDF printer, then click Printing Preferences, and then deselect Rely on system fonts only; do not use document fonts
  3. Click OK
  4. Right-click the Adobe PDF printer, then click Printer Properties, then click the Advanced tab, and then click Printing Defaults
  5. On the Adobe PDF Settings tab, deselect Rely on system fonts only; do not use document fonts, and then click OK.
  6. On the Adobe PDF Properties dialog, click OK

 

I still get the error, every time I am running the macro. I am on Adobe 10, windows 7, Office 2010, any suggestions?


Viewing all articles
Browse latest Browse all 23442

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>