Talkback for article: 380, June2005

LF tip: Using Acrobat 7 with kde and kprinter

Back to: http://cgi.linuxfocus.org/English/June2005/article380.shtml

From: Michael Vishchers <mvishchers(at)psi.de> [ date: 2005-07-08 ]
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
##

From: James D Freels <freelsjd(at)ornl.gov> [ date: 2005-07-08 ]
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.
From: Thorsten Strusch <t(at)strus.ch> [ date: 2005-07-14 ]
this ist a fantastic idea!
now Im able to use the kprinter context an print 4 pages on one to save paper - wohooo :)
From: Bastien [ date: 2005-07-15 ]
Thank you very much for solving Acrobat 7 printing problem and above all for making it available to everybody!
From: Danny [ date: 2005-07-28 ]
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.

5 talkbacks




Due to the increased amount of web spam we have deciced to removed the talkback posting possibility. You can read old talkbacks but you can no longer post new ones.

Back to http://cgi.linuxfocus.org/English/June2005/article380.shtml

Please contact webmaster(at)linuxfocus.org if you have any questions with regards to this talkback

lftalkback version 3.10