Error when printing PDF files generated by TeX editor


When attempting to print a PDF generated by a tex editor, such as MacTex or Overleaf, the printer only prints out an error code.


  • macOS 12 Monterey
  • Xerox Printers
  • Preview
  • Adobe Acrobat
  • Tex Editors and Compilers
    • OverLeaf
    • TexShop
    • MacTex


This is a known bug in macOS 12 Monterey. As a helpful stackexchange user explains it, 

MacOS prints by first converting the print job to a pdf file. Then it looks at the printer. If the user has a postscript printer, macOS converts the pdf file to a postscript file and sends that to the printer. The print dialog also allows users to write this postscript file to disk. A bug in Monterey causes macOS to write defective postscript files when the pdf contains certain TeX fonts, including Computer Modern. 


There are currently 2 workarounds for this issue:

  1. Adding \usepackage{lmodern} to the tex file source code.
  2. Using a different PDF compiler.
    • PDFLaTeX does not appear to work, ExLaTex does.

Additional notes

Some people have found printing from Adobe Acrobat may work, others have not.


Article ID: 6744
Fri 11/12/21 3:28 PM
Mon 1/9/23 3:23 PM