- 论坛徽章:
- 0
|
solaris 8 上为virtuoso 设置 plotter
需要在Cadence virtuoso 中使用绘图仪,操作系统是solaris8 经过一番查找和实验,基本解决了。下面就列举这些步骤。从大方向上讲分为两个步骤
1. 在solaris 下安装绘图仪
2. 在virtuoso 中设置绘图仪
一、在solaris 中安装绘图仪
安装绘图仪跟安装打印机是相同的。这里我用的绘图仪型号 是HP designjet 1050c。
1.
配置绘图仪IP地址 (参照绘图仪说明书,很简单的)假定为172.168.2.1
2.
以root用户登录到系统,启动Printer Administrator
在桌面上点右键,tools->Printer Administrator
输入主机名,就到了设置界面,首先会询问name service,选择files
然后就到了主界面了。点选printer->add network printer
输入绘图仪名称plotter ,描述plotter,选择打印机类型 HP printer,文件内容: both postscript and ascII. 目标:172.168.2.1,协议 TCP 然后按OK 打印机就添加完毕了。
3.测试一下安装是否正确。
lpstat –p plotter
二、在cadence 中设置打印机
复制 /tools/cds2004/IC5033USR2/tools.sun4v/plot/etc/cdsplotinit 到home 目录 改为 .cdsinit
修改其中相应的参数
可以参考 cadence 手册中的
Setting Up Hewlett-Packard Plotters。
安装打印机也可以使用hp提供的管理工具
下面的这篇文章介绍的非常全面,SOLe134.PKG 我是从hp的网站上下载的。
地址是
http://h10025.www1.hp.com/ewfrf/wc/genericSoftwareDownloadIndex?lc=en&cc=us&softwareitem=ja-6854-1&dlc=en&printable=no&encodeUrl=true
&
Adding the JetDirect printing interface to Solaris 8
Download ftp://kinscoe.harcourt.com/pub/soft/install/SOLe134.PKG
to /tmp
# pkgadd -d/tmp/SOLe134.PKG
The following packages are available:
1 HPNPL JetDirect Printer Installer for Unix
(sparc) E.10.34
Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: 1
Processing package instance from
JetDirect Printer Installer for Unix
(sparc) E.10.34
This appears to be an attempt to install the same architecture and
version of a package which is already installed. This installation
will attempt to overwrite this package.
(c)Copyright Hewlett-Packard Company 1991, 1992, 1993. All Rights Reserved.
(c)Copyright 1983 Regents of the University of California
(c)Copyright 1988, 1989 by Carnegie Mellon University
RESTRICTED RIGHTS LEGEND
Use, duplication, or disclosure by the U.S. Government is subject to
restrictions as set forth in sub-paragraph (c)(1)(ii) of the Rights in
Technical Data and Computer Software clause in DFARS 252.227-7013.
Hewlett-Packard Company
3000 Hanover Street
Palo Alto, CA 94304 U.S.A.
Where should HPNPL be installed?
( for /opt/hpnpl) [?,q] [press return]
HPNPL will be installed in /opt/hpnpl.
Install BOOTP subsystem? (default=y) [y,n,?,q] n
____________________________________________________________________________
Please configure the sub-packages you would like to install.
---------------------------------------------------
0. Done altering installation configuration
1. [ On ] HPNPF
2. [ Off ] CONVERT(from hpnp to hpnpl)
?. Help
---------------------------------------------------
Select a number to toggle an installation option.
When done select 0. Select ? for help information: 2
____________________________________________________________________________
Please configure the sub-packages you would like to install.
---------------------------------------------------
0. Done altering installation configuration
1. [ On ] HPNPF
2. [ On ] CONVERT(from hpnp to hpnpl)
?. Help
---------------------------------------------------
Select a number to toggle an installation option.
When done select 0. Select ? for help information: 0
Using as the package base directory.
## Processing package information.
## Processing system information.
## Verifying disk space requirements.
## Checking for setuid/setgid programs.
This package contains scripts which will be executed with super-user
permission during the process of installing this package.
Do you want to continue with the installation of [y,n,?] y
Installing JetDirect Printer Installer for Unix as
## Executing preinstall script.
## Installing part 1 of 1.
[ verifying class ]
[ verifying class ]
/opt/hpnpl/examples/bootptab
[ verifying class ]
/opt/hpnpl/bin/bootpd
/opt/hpnpl/bin/bootpquery
/opt/hpnpl/sh/dumbplot
/opt/hpnpl/sh/dumbplot_printer
/opt/hpnpl/sh/dumbplot_printer_cr
/opt/hpnpl/sh/net_dsnj
/opt/hpnpl/sh/net_genericpcl3printer
/opt/hpnpl/sh/net_genericplotter
/opt/hpnpl/sh/net_genericprinter
/opt/hpnpl/sh/net_lj3plus
/opt/hpnpl/sh/net_lj3x
/opt/hpnpl/sh/net_lj4550
/opt/hpnpl/sh/net_lj4x
/opt/hpnpl/sh/net_lj5x
/opt/hpnpl/sh/net_lj8150
/opt/hpnpl/sh/net_ljcolor
/opt/hpnpl/sh/net_ljx000
/opt/hpnpl/sh/postscript
/opt/hpnpl/sh/topcl
/opt/hpnpl/sh/tops
[ verifying class ]
## Executing postinstall script.
You have choosen not to install BOOTP subsystem.
However, You can turn it ON whenever you need by
choosing Install BOOTP menu item under Diagnostics
Updating Software Database.
NOTE: You may wish to add /opt/hpnpl/man to MANPATH in
/etc/profile, etc.
NOTE: You may wish to add /opt/hpnpl/bin to PATH in
/etc/profile, etc.
NOTE: You may wish to add /opt/hpnpl/lib to LD_LIBRARY_PATH in
/etc/profile, etc.
Converting model scripts in /etc/lp/interfaces from /opt/hpnp to
/opt/hpnpl. Old model scripts will be saved in /tmp.
Installation of was successful.
Now configure the NBPTS printer:
/bin/hppi
****************************************************************
*****] ****
**** ] **** JetDirect Printer Installer for UNIX
**** ]]]]] ]]]]] **** Version E.10.34
**** ] ] ] ] ****
**** ] ] ]]]]] **** M A I N M E N U
***** ] ****
****** ] **** User: (root) OS: (SunOS 5.8)
I N V E N T
****************************************************************
1) Spooler Administration (super-user only)
2) JetDirect Configuration (super-user only)
- TCP/IP configurable parameters
3) Diagnostics:
- diagnose printing problems
?) Help q) Quit
Please enter a selection (q - quit): 1
****************************************************************
*****] ****
**** ] **** JetDirect Printer Installer for UNIX
**** ]]]]] ]]]]] **** Version E.10.34
**** ] ] ] ] ****
**** ] ] ]]]]] **** Spooler Administration
***** ] ****
****** ] **** User: (root) OS: (SunOS 5.8)
I N V E N T
****************************************************************
Spooler:
1) Add printer to local spooler
2) Delete printer from local spooler
3) Modify existing spooler queue(s)
4) Install New Model Script
5) Remove Model Script
?) Help q) Quit
Please enter selection: 1
Enter the network printer name or IP address (q - quit): 1254L8K
!! No response from 1254L8K !!
... (trying to ping 1254L8K)
The HP JetDirect Printer Installer for Unix can ping the device.
The problem may be:
* incorrect GET community name!
* it is not a network printer!
* other.
Do you want to continue (y/n/q, default - n)? y
There are three choices:
1. Supply the correct community name (if this is the problem).
2. Ignore it and continue the process.
3. Supply another IP name (default) .
Please select a number (q - to config menu): 2
You have chosen to proceed. Be aware that the problem
may be encountered later.
The following are supported printer types:
1) HP LaserJet IIISi
2) HP PaintJet XL300
3) HP LaserJet 4 Plus / 4M Plus
4) HP LaserJet 5L
5) HP LaserJet 5MP
6) HP LaserJet 5P
7) HP LaserJet 4MP
8) HP LaserJet 4P
9) HP LaserJet 4L
10) HP LaserJet 4ML
11) HP LaserJet 6MP Printer
12) HP LaserJet 6P Printer
13) HP LaserJet 6L Printer
14) HP Deskjet 2000C Printer
15) HP LaserJet 8500
16) Hewlett-Packard 2500C Series
17) HP LaserJet 1100A Printer-Copier-Scanner
18) HP LaserJet 5Si / 5SiMX
19) HP LaserJet 4V
20) HP DeskJet 1600C
21) HP DeskJet 1600CM
22) HP LaserJet 5
23) HP LaserJet 5M
24) HP LaserJet 5N
25) HP Color LaserJet 5
26) HP Color LaserJet 5M
27) HP Color LaserJet
28) HP DesignJet 750C
29) HP DesignJet 750C Plus
30) HP DesignJet 755CM
31) HP DesignJet 700
32) HP DesignJet 2500CP
33) HP DesignJet 2000CP
34) HP DesignJet 3500CP
35) HP LaserJet 4000 Series
36) HP LaserJet 5000 Series
37) HP Color LaserJet 4500
38) HP DesignJet 3000CP
39) HP LaserJet 8100 Series
40) HP Mopier 320
41) Hewlett-Packard DesignJet 1050C (E sized
42) Hewlett-Packard DesignJet 1055CM (E sized
43) HP LaserJet 8000 Series
44) Hewlett-Packard LaserJet 4050 Series
45) HP LaserJet 8150 Series
46) HP Color LaserJet 4550
47) HP LaserJet 4 / 4M
48) HP LaserJet 4Si / 4SiMX
49) Hewlett-Packard LaserJet 2100 Series
50) HP PaintJet XL300
51) HP CopyJet / CopyJetM
52) HP DeskJet 1200C / 1200C/PS
53) HP DesignJet 650C
54) To Select dumbplot model script for plotter
55) To Select dumbplot model script for printer
56) To Select dumbplot model script for printer with CR
57) HP PCL3 Printer not given in this list
58) HP LaserJet Printer not given in this list
59) HP Plotter not given in this list
Please indicate 1254L8K's printer type (q - quit): 43
Is this printer connected to:
1) An HP XStation
2) An HP JetDirect EX (single parallel port)
3) An HP JetDirect EX Plus3 (multiple parallel ports)
4) Other
Please select a number (default-4, q - quit): 4
The following is a list of suggested parameter values for this queue. You
may change any settings by selecting the corresponding non-zero numbers.
The values will be used to configure this queue when '0' is selected.
To abort the operation, press 'q'.
Configurable Parameters: Current Settings
----------------------- ----------------
1) Lp destination (queue) name [1254L8K_1]
2) Status log [(No log)]
3) Queue class [(not assigned)]
4) Default queue [NO]
5) Additional printer configuration...
Select an item for change, or '0' to configure (q-quit): 2
The following is a list of suggested parameter values for this queue. You
may change any settings by selecting the corresponding non-zero numbers.
The values will be used to configure this queue when '0' is selected.
To abort the operation, press 'q'.
Configurable Parameters: Current Settings
----------------------- ----------------
1) Lp destination (queue) name [1254L8K_1]
2) Status log [/var/tmp/1254L8K_1.log]
3) Queue class [(not assigned)]
4) Default queue [NO]
5) Additional printer configuration...
Select an item for change, or '0' to configure (q-quit): 0
Ready to configure 1254L8K_1.
OK to continue? (y/n/q, default=y) y
..UX:accept: ERROR: Can't establish contact with the LP print service.
TO FIX: Either the LP print service has stopped,
or all message channels are busy. If the
problem continues, get help from your
system administrator.
..UX:enable: ERROR: Can't establish contact with the LP print service.
TO FIX: Either the LP print service has stopped,
or all message channels are busy. If the
problem continues, get help from your
system administrator.
..
Finished adding "1254L8K_1" to the spooler.
Press the return key to continue ...
To fix the error above
# lpsched
Now enable the printer to accept connections
# accept 1254L8K_1
destination "1254L8K_1" now accepting requests
Check the status
# lpstat -t
scheduler is running
no system default destination
device for 1254L8K_1: /dev/1254L8K_1
1254L8K_1 accepting requests since Wed Jul 31 17:28:44 EDT 2002
printer 1254L8K_1 is idle. enabled since Wed Jul 31 13:36:32 EDT 2002. available.
Print a test page
# lp -d 1254L8K_1 /etc/motd
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/18560/showart_115069.html |
|