|
|
This document is available in: English ChineseGB Francais |
by Gerrit Renker <gerrit.renker(at)gmx.de> ��������: �� Gerrit �Ӵ� C �� Linux �����ſ�ʼϲ����ʹ�õ��ԡ� Ŀ¼: |
LF tip: �� KDE ��� kprinter һ��ʹ�� Adobe Acrobat Reader 7ժҪ:
����һ��С���ɣ������ڿ�ʼ��LinuxFocusÿ�¶��������ṩһ�������ļ��ɡ� ��������й���ЩС���ɵ����뷨���뷢�ʼ�����guido(at)linuxfocus.org��
|
#!/bin/sh # save this as /usr/local/bin/printerScript # and make it executable with: chmod 755 /usr/local/bin/printerScript ## create temporary file tmp="/tmp/postscript-print-$$.ps" [ -f "$tmp" ] && exit 1 ## save the file to a new name which will not be deleted by acroread. ## the first argument is the file name of the postscript file cp "$1" $tmp ## start the KDE printer frontend on this file kprinter $tmp ## clean up afterwards rm -f $tmp ##������һ���� acroread ��Ĵ�ӡ���������Ľ�����
��ҳ��LinuxFocus�à¼ï¿½ï¿½Î¬ï¿½ï¿½
© Gerrit Renker "some rights reserved" see linuxfocus.org/license/ http://www.LinuxFocus.org |
������Ϣ:
|
2005-07-07, generated by lfparser version 2.52