How to set up printersWord文档下载推荐.docx
- 文档编号:21562973
- 上传时间:2023-01-31
- 格式:DOCX
- 页数:25
- 大小:986.67KB
How to set up printersWord文档下载推荐.docx
《How to set up printersWord文档下载推荐.docx》由会员分享,可在线阅读,更多相关《How to set up printersWord文档下载推荐.docx(25页珍藏版)》请在冰豆网上搜索。
#**
#*Copyright(c)DigitalEquipmentCorporation,1991,1999*
#*AllRightsReserved.Unpublishedrightsreservedunder*
#*thecopyrightlawsoftheUnitedStates.*
#*Thesoftwarecontainedonthismediaisproprietaryto*
#*andembodiestheconfidentialtechnologyofDigital*
#*EquipmentCorporation.Possession,use,duplicationor*
#*disseminationofthesoftwareandmediaisauthorizedonly*
#*pursuanttoavalidwrittenlicensefromDigitalEquipment*
#*Corporation.*
#*RESTRICTEDRIGHTSLEGENDUse,duplication,ordisclosure*
#*bytheU.S.Governmentissubjecttorestrictionsasset*
#*forthinSubparagraph(c)
(1)(ii)ofDFARS252.227-7013,*
#*orinFAR52.227-19,asapplicable.*
#HISTORY
#@(#)$RCSfile:
hosts,v$$Revision:
1.1.5.2$(DEC)$Date:
1995/05/1616:
19:
31
$
#Description:
ThehostsfileassociateshostnameswithIPaddresses.
#Syntax:
nnn.nnn.nnn.nnnhostname.domain.name[alias_1,...,alias_n][#comments
]
#nnn.nnn.nnn.nnntheIPaddressofthehost
#hostname.domain.namethefullyqualifiedhostname,includingthedomainname
#alias_nothernamesorabbreviationsforthishost
##commentstextfollowingthecommentcharacter(#)isignored
127.0.0.1localhost
##DBserverFDDInetwork###
192.168.200.11uspdb01a
192.168.200.12uspdb02a
##DBserverHBnetwork###
192.168.201.1uspdb01b
192.168.201.2uspdb02b
##DBClusterServiceIP###
192.168.200.100uspdb00a
192.168.200.200uspdb00b
##APserverFDDInetwork###
192.168.200.21uspap01a
192.168.200.22uspap02a
##APserverFastEthernet###
10.17.49.11uspap01b
10.17.49.12uspap02b
10.17.49.13uspap03b
##DevelopmentServer###
10.17.49.9usddb01a
192.168.200.24usddb01b
##
##Printers##
##Location:
Fullerton
10.16.48.76fp01
10.16.48.76fu01
Houston
192.168.20.220hs01
192.168.20.5hm01
4)
NotethatforProductionsetup,youwillalsoneedtomaintainthehostsfileforalltheDB&
APservers.TheprintinginSAPinPRDisset-upwithload-balancingandtherefore,allserversmusthavecapabilitytoprint.
5)Thereare2waystoset-uplp:
∙Manuallyaddprinterdetailsintoprintcapfileusingvi,andcreaterelateddirectories&
files
∙Using‘lprsetup’toaddprinterdetailsandmodifyprintcapfileafter.
6)Usingthe1stmethod(manual),followthefollowingsteps:
7)cd/etcviprintcap(iffiledoesn’texist)enterthefollowingsave.
fp01|lp0:
\
:
lf=/usr/adm/lperr:
lp=:
rm=fp01:
rp=text:
sh:
sd=/usr/spool/fp01:
Explaination:
fp01printername
selecta4charactername,where1stcharacterdepictlocation,2ndcharacterdepictofficeand2digitsasthesequence,egF=Fullerton,P=PCE&
01forprinter#1
lp0printersynonymselectedbysystem
lferrorloggingfile
lpdevicenametoopenforoutput
rmmachinenameforremoteprinter
rpremoteprintername
shsuppressprintingofburstpageheader
sdspooldirectory
TheaboveareCompaqspecificprintersymbols.Refertomanprintcapforfurtherexplaination.
8)Createspooldirectorycd/usr/spoolmkdir<
printer_name>
chowndaemon:
daemon<
9)Proceedtotestprint(referto#21–PrintingfromUnix)
10)
Usingthe2ndmethod(lprsetup),followthefollowingsteps:
11)lprsetupaddenterprintername(egfp01)
12)
Next,lprsetuppromptforprintertypesentertoselect“unknown”enter‘y’toconfirm
13)Next,lprsetuppromptforstandardprintcapsymbolsenter‘/’forlpenter‘n’fornojobaccenter‘/usr/spool/<
forspooldirectory(lprsetupwillautocreatedirectory)enterfordefaultprintererrorlogfile.
14)
Next,lprsetuppromptforoptionalparameters(alistofallprintcapsymbolsaredisplayed)
15)Todisplayexistingvalueenter‘p’(todisplaynewlycreatedstdparameters)
16)
Fromthestandardproposed,deleteunnecessarysymbolsenter‘mx’&
enter‘none’todeleteenter‘of’&
enter‘none’sameforpl,pw,xf,enter‘quit’
17)lprsetupdisplayupdatedsymbolsenteradditionalsymbolsrequiredenter‘rm’,‘<
’&
‘y’toconfirmenter‘rp’,‘text’&
‘y’enter‘sh’,‘on’&
‘y’enter‘quit’
18)
Checkthesymbolsforcompletenessenter‘y’tocofirm‘n’fornocomments
19)lprsetupwillsaveprinterdetailsandcreatethespooldirectory.Type‘quit’toexit.
20)Proceedtotestprint.
21)PrintingfromUnix
22)Someusefulcommandsare
∙lpc–Interactivelineprintercontrol
∙lpr–Sendfilesforprinting
∙lprm–Deletefilesfromqueue
∙lpq–Displayspoolqueues
∙lpstat–Displaystatusofprinter&
queue
23)Toworkwithprinterinteractively,uselpc.
Commandavailable:
∙Help–displayhelp
∙Status–todisplayprinterstatus
∙Clean–toclearspoolrequestfromqueue
∙Abort–Terminateaspoolingdaemonimmediatelyanddisableprinting
∙Topq–Reassignjobtotopofthequeue
Queuing
Printing
Daemon
Enable
Disable
Start
Stop
Up
Down
✓
24)Toprintafile:
“lpr–P<
<
file_name>
”
25)Todisplayqueue:
“lpq–P<
26)
TroubleshootingPrintingerror
27)FromSAP,viaSP01displayshowerror
28)1st–Checkthattheconfigurationin‘SPAD’iscorrectcheckthathostnameiscorrect,otherwisecorrectstheerror.
29)2nd–IfSAPconfigurationiscorrectlogintoserveratunixpingtheprinter
30)Ifpingunsuccessful,printermaybedisconnectedfromnetwork
31)Ifpingsuccessful‘lpq–P<
’(todisplayqueue)ifnospoolfile‘lpr–P<
’(totestprint)
32)3rd–ifstillnoprintoutDisplaystatusofprinter‘lpstat–p<
ensureprinting&
queuingisactive
33)Displayqueueagainifmanyspoolfilesinqueue‘lpc’ifallthespoolrequestcanbedeletedfromthequeue‘clean<
’(toclearallspool)testprintagain.
34)Ifspoolrequestcannotbedeleted,youcanmoveyourprintjobtotopofthequeue.Butfirst,findoutwhatyourprintjobnumberis‘lpq–P<
’lookforjob‘lpc’‘topq<
job_number>
user>
’
35)Ifprinterstartprintingerrorinpreviousspool(job)deletethepreviousspool(job)‘lprm–P<
36)4th–ifprintingorqueuinginactive‘lpc’‘down<
’up<
youmayneedtocleanthequeuetoensureafreshstarttestprintagain.
37)5th–ifallfailmaybeerrorinlpddaemonyoumayneedtoshutdowndownallprinters‘lpc’‘downall’killthelpddaemon‘ps–ef|greplpd’‘kill–9<
process_no_lpd>
38)Next,startthelpddaemonagain‘/usr/sbin/lpd’‘lpc’‘upall’testprintagain.
R/3–SPADset-up
1)AftersuccessfultestprintfromUnix,youwillneedtoset-uptheSAPoutputdevice
2)LogintoSAPTransaction‘SPAD’
3)Thereare3levelsofAdministration
∙Simple–thedefaultadmin,consistof‘Devices/services’&
‘Admin’tab
∙Extended–consistof‘Devices/services’,OutputMgtSystem(OMS)&
Admintab
∙Full–alladmin,including‘DeviceTypes’&
‘CharacterSets’.
4)Inthe‘Devices/servers’clickon‘Outputdevices’
5)
Alistofoutputdevicesareshownclickon‘change’
6)Youcanselect‘Create’tocreateanewdeviceor‘Createusingtemplate)tocopyfromexistingdevices.
7)
Next,enterthedevicename&
shortname
∙stdnamefordeviceis3charlocation,3charoffice&
2digitsequence
∙shortnameisthesameasprinternamespecifiedinhostsfile(Unix).
8)Thereare4tabs.
a.DeviceAttributes
b.HostSpoolAccMethod
c.OutputAttributes
d.TrayInfo
9)
Inthe1sttab:
DeviceAttributesEnterthedevicetype
10)Thereareseveraldevicetypestoselectfrom.Thereare4broadtypesofdevicetypes.
∙HardwareVendor’sdevicetype(eg.HP,Epson)
∙SAPWIN–ThisisgenerallyuseforprintingviaSAPLPD.Itcanbepre-fixedwith2character,ieTWSAPWIN,forTaiwanChineseSAPWIN
∙POST–Thisisuseforpostscriptprint.Itcanalsobepre-fixedwith2character,ieTWPOST,forTaiwanChinesePOST
∙FaxandTelex
∙LabelforBarcode–refertoonlinedocformoreinstruction
11)
Then,enterspoolserver.
12)Followbydeviceclassselectstandardprinter.
13)CommonlyusedDeviceClassarePrinters&
Fax.
Entertheprinterdescription.Forbetterdocumentation,specifytheIPaddress.
15)Addi
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- How to set up printers
![提示](https://static.bdocx.com/images/bang_tan.gif)