LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1720|回复: 21

linux能够使用windows的打印机共享么?

[复制链接]
发表于 2003-6-17 11:38:44 | 显示全部楼层 |阅读模式
怎么弄?让linux使用windows的打印机共享! 我试验过mount到我的目录里,不过不知道怎么才能作为系统设备使用.情指教,谢谢!
发表于 2003-6-17 12:43:52 | 显示全部楼层
可以,但我设置后打印出来的是乱码。真是怪事。
如果是Redhat 可以用
[root@linuxsir01 root]# redhat-config-printer
 楼主| 发表于 2003-6-17 13:31:32 | 显示全部楼层
哦!我的是turbo7呀,看来不能这么做了.如果反过来就一定可以,是吧?!
 楼主| 发表于 2003-6-17 14:42:30 | 显示全部楼层

安装打印机提示 lpd 没有运行

turboprintcfg  提示 lpd dameon没有运行, 然后运行 lpd 提示: get local_host_name:***  bad
怎么办?????

turbo7
打印机驱动有
 楼主| 发表于 2003-6-17 16:12:55 | 显示全部楼层

安装打印机之痛苦.........

printcfg里面添加打印机了,不过打印时候能够听到打印机传送数据的声音,但是没有打印出来东西.是不是哪里设置不对?要怎么样正确安装打印机呢?谢谢呀!
发表于 2003-6-17 17:02:03 | 显示全部楼层

什么打印机?

是什么打印机?CUPS支持吗?
发表于 2003-6-18 08:35:47 | 显示全部楼层
怎么还会有这种问问题的格式????
 楼主| 发表于 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)
发表于 2003-6-18 09:59:29 | 显示全部楼层

REDHAT8, 9都支持

不知你用什么LINUX发行版,若已经支持了,则没有必要自己编译GS.
发表于 2003-6-18 10:22:56 | 显示全部楼层

重新设置一下网络(计算机名)

并确保/etc/hosts 里有
127.0.0.1       localhost.localdomain   localhost
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表