# How to convert Anki cards into a PDF file?

**URL:** <https://forums.ankiweb.net/t/how-to-convert-anki-cards-into-a-pdf-file/6782>\
**Category:** Add-ons\
**Created:** [January 23, 2021, 3:55pm UTC](https://forums.ankiweb.net/t/how-to-convert-anki-cards-into-a-pdf-file/6782 "2021-01-23T15:55:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lingthusiast](https://avatars.discourse-cdn.com/v4/letter/l/258eb7/32.png) [@lingthusiast](https://forums.ankiweb.net/u/lingthusiast)\
**Post date:** [January 23, 2021, 3:55pm UTC](https://forums.ankiweb.net/t/how-to-convert-anki-cards-into-a-pdf-file/6782/1 "2021-01-23T15:55:43Z")

</div>

I have been trying to use some add-ons to be able to convert Anki cards into PDFs. I have downloaded Anki 2.0 just to use [Glutanimate’s PDF-Glossary](https://ankiweb.net/shared/info/1334168683) add-on. But it just kept giving an error (which you can find below). I have tried using the [papercards add-on](https://ankiweb.net/shared/info/2042118948) but it did not export the cards as a PDF. HTML version does not show anything meaningful and converting it into a PDF through ctrl+p is impossible.

Can anyone use these add-ons? If not, are there any other add-ons that I can use to convert these cards into PDFs?

Thanks in advance,

Here is the error:

```
Traceback (most recent call last):
  File "C:\cygwin\home\dae\win\build\pyi.win32\anki\outPYZ1.pyz/aqt.addons", line 41, in loadAddons
  File "c:\pyi\iu.py", line 436, in importHook
  File "c:\pyi\iu.py", line 521, in doimport
  File "C:\Users\Smith\Documents\Anki\addons\PDF Glossary.py", line 16, in <module>
    import pdf_glossary.main
  File "c:\pyi\iu.py", line 436, in importHook
  File "c:\pyi\iu.py", line 521, in doimport
  File "C:\Users\Smith\Documents\Anki\addons\pdf_glossary\main.py", line 15, in <module>
    from . import exporter
  File "c:\pyi\iu.py", line 477, in importHook
  File "c:\pyi\iu.py", line 521, in doimport
  File "C:\Users\Smith\Documents\Anki\addons\pdf_glossary\exporter.py", line 43, in <module>
    import logging
  File "c:\pyi\iu.py", line 436, in importHook
  File "c:\pyi\iu.py", line 505, in doimport
  File "c:\pyi\iu.py", line 295, in getmod
  File "c:\pyi\iu.py", line 313, in makeOwner
  File "c:\pyi\iu.py", line 153, in __init__
UnicodeEncodeError: 'ascii' codec can't encode characters in position 29-30: ordinal not in range(128)
```

---

<div class="post-metadata">

**Author:** ![Herakles](https://avatars.discourse-cdn.com/v4/letter/h/3bc359/32.png) [@Herakles](https://forums.ankiweb.net/u/Herakles)\
**Post date:** [May 14, 2021, 2:18am UTC](https://forums.ankiweb.net/t/how-to-convert-anki-cards-into-a-pdf-file/6782/2 "2021-05-14T02:18:21Z")

</div>

@lingthusiast  
Papercards works only with Anki 2.1.  
You need to install wkhtmltopdf for generating PDFs.

For any bugs, please fill out the support form. Then I can get into contact with you.  
“Does not show any meaningful” is not enough information to understand your issue.
