2005-07-08 -+- Michael Vishchers -+- mvishchers@psi.de -+- Have been wondering for some time what the problem with acroread and kprinter was... Thanks for the solution!

Anyway, why waste time and /tmp space? Hardlinking the original file to a temporary name works, too (of course, it's Linux !-)

#!/bin/sh
# save this as /usr/local/bin/printerScript
# and make it executable with: chmod 755 /usr/local/bin/printerScript
## create temporary file
tmp="$1_.$$.ps"
[ -f "$tmp" ] && exit 1
## link the file to a new name which will not be deleted by acroread.
## the first argument is the file name of the postscript file
ln "$1" $tmp
## start the KDE printer frontend on this file
kprinter $tmp
## clean up afterwards
rm -f $tmp
##
-+- 192.109.111.124 = Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.8) Gecko/20050513 Debian/1.7.8-1 2005-07-08 -+- James D Freels -+- freelsjd@ornl.gov -+- I tried this and it did not work. I received the following error message from kprinter:

Error while reading filter description for true. Empty command line received.

Also, as an alternative workaround for this problem, I have been using xpp that does not have this same problem. However, I would prefer kprinter if we can get this isssue resolved. -+- 160.91.145.10 = Mozilla/4.0 (compatible; MSIE 6.0; X11; Linux i686; en) Opera 8.02 2005-07-14 -+- Thorsten Strusch -+- t@strus.ch -+- this ist a fantastic idea!
now I´m able to use the kprinter context an print 4 pages on one to save paper - wohooo :) -+- 84.138.163.220 = Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 2005-07-15 -+- Bastien -+- -+- Thank you very much for solving Acrobat 7 printing problem and above all for making it available to everybody! -+- 134.214.35.28 = Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.7.8) Gecko/20050517 Firefox/1.0.4 (Debian package 1.0.4-2) 2005-07-28 -+- Danny -+- -+- I was able to get kprinter working without the script. Just do /usr/bin/kprinter -c. The -c option makes an internal copy of the files to print. -+- 208.20.220.72 = Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6