[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Can't print Japanese pdf files generated with `platex' and `dvipdfmx'


After installing all kind of packages on my Debian edge system and
following all kind of howtos I found on the net, I am finally able
to generate and view Japanese pdf files using kpdf (I was not able
to make evince display the file and therefore installed kpdf).

But still my printer will not print anything (neither from kpdf nor
when using kprinter) and just signals an Error...

What can I do?

Printer: HP PhotoSmart 2575a All-in-One
Driver: HPLIP 1.6.10 ( http://hplip.sourceforge.net/ )

Thanks, Dietrich

Some notes:

* ~/.xpdfr

In order to make kpdf work, I installed xpdf-japanese and created
the file ~/.xpdfrc containing the line `include /etc/xpdf/xpdfrc'.
(I followed the indications on page http://debian.fam.cx/index.php?Japanese )

In the latter file all kind of fonts are described:

displayFontT1 Times-Roman /usr/share/fonts/type1/gsfonts/n021003l.pfb
displayFontT1 Times-Italic /usr/share/fonts/type1/gsfonts/n021023l.pfb

Do I have to do something similar to make the printer driver know about the necessary fonts?

* my test file:

echo '---'; cat neko.tex; echo '---'

\title{\LaTeX 吾輩は猫である。}



wagahai wa neko de aru.


* what I tried to generate and print the pdf file

platex neko.tex
xdvi neko.dvi &
dvipdfmx neko.dvi

# evince doesn't work (displays Kanji - but not the correct ones):
### evince neko.pdf &

# kpdf displays the Kanji correctly - but doesn't print the document (Error...):
kpdf neko.pdf &

# kprinter also displays an error when trying to print neko.pdf
### kprinter neko.pdf

Thanks again :)

Reply to: