|

楼主 |
发表于 2003-6-18 08:38:46
|
显示全部楼层
samsung ML4500! 看了readme,说什么需要ghostscript, 我系统上有6.51-4 的ghostscript,我把readme贴上,帮忙看看:
For Samsung ML-4500, ML-2xx, ML-1xxx, ML-5080, ML-6040, ... and Lexmark E210
To be used with GhostScript 6.x, 7.x, or newer
Patch-free version created by Till Kamppeter, license: GPL (www.gnu.org).
Integration in GhostScript
--------------------------
1. Uncompress the GhostScript source package
2. Go into its main directory and copy the files of this package to there
3. Enter the following commands
mv gdevgdi.c src/
cat smartgdi-contrib.mak >> src/contrib.mak
4. If you have ESP GhostScript 7.05 or newer, tell the "configure"
script to use build GhostScript with the "gdi" driver:
./configure --with-drivers=gdi
or
./configure --with-drivers=ALL,gdi
Enter
./configure --help
for more info.
5. If you have any other GhostScript version, edit src/unix-gcc.mak adding
" $(DD)gdi.dev" to the end of one of the "DEVICE_DEVS" lines. Don't forget that the entries in these lines must be separated by spaces. Or simply enter
perl -p -i -e 's/^DEVICE_DEVS3=/DEVICE_DEVS3=\$\(DD\)gdi.dev /' src/unix-gcc.mak
6. Compile and install GhostScript as described in its documentation.
Usage
-----
GhostScript command line:
gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE -sDEVICE=gdi -sPAPERSIZE=<paper size> -r<resolution> -sOutputFile=- -
Options:
<paper size>
letter, legal, a4, ... not bigger than legal
<resolution>
300 or 600 (for 300 dpi or 600 dpi) |
|