Hi, embedding will only work if the program supports the -into-xid option. I looked, and xpdf does not have that option available. If you can find a pdf viewer that does, then the following node shows how to embed it... embedding xterm into a Tk app. You can substitute your app for the xterm.