SlideShare a Scribd company logo
1 of 16
Network Implementation &
Support
Chapter 8
Implementing & Managing
Printers

Eric Vanderburg © 2006
Terms
•
•
•
•
•

Print Device
Printer
Print Driver
Print Server
Print Client

Eric Vanderburg © 2006
Printing Process
1. User prints from app
2. App contacts GDI (Graphical Device Interface)
3. GDI contacts print driver for printer info,
renders (combines printer info & document)
4. GDI sends rendered job to the print spooler
5. Client side spooler contacts server side
spooler
6. Server side spooler contacts print router

Eric Vanderburg © 2006
7.

Print router determines if the printer is local or remote.
a.
b.

Local: job forwarded to local print provider
Remote: finds remote print provider for that print server & that
print provider sends the data to the print server local print
provider

7.

Local print provider finds a print processor that can
process the print job
8. Print processor contacts GDI for further rendering (if
required)
9. Print processor sends job to separator processor
10. Job is sent to the port monitor which is connected to
the printer.

Eric Vanderburg © 2006
Concepts
• Changing spool directory
– Printers & Faxes
– File  Server Properties  Advanced tab
– Type a new location
– See pg. 321

Eric Vanderburg © 2006
Eric Vanderburg © 2006
Concepts
• Adding a printer (local / remote)
• Sharing a printer
– Print
– Manage Documents
– Manage Printers

•
•
•
•

Printer Pooling
Printer Priorities (per share, 99 is best)
Additional drivers for other OS’s
IPP (Internet Printing Protocol)
– Requires IIS (Internet Information Services)
– http://printserver/printers
Eric Vanderburg © 2006
Eric Vanderburg © 2006
Scripting
•

Prncnfg.vbs – printer configuration
– -g : Required. Specifies that you want to display configuration
information about a printer.
– -t : Required. Specifies that you want to configure a printer.
– -s RemoteComputer : Specifies, by name, the remote computer that
manages the printer about which you want to display information. If you
do not specify a computer, the local computer is used.
– -p PrinterName : Required. Specifies, by name, the printer about which
you want to display information.
– -u UserName -w Password : Specifies an account with permissions to
connect by using Windows Management Instrumentation (WMI) services
– -l Location : Specifies the printer location, such as "Copier Room."
– -m Comment : Specifies the comment string.
– -h ShareName : Specifies the share name.
– -f SeparatorText : Specifies a file that contains the text that appears on
the separator page.
– To keep spooled jobs after printing:  cscript prncnfg.vbs -t -s Root 
-p TheBeast +keepprintedjobs

Eric Vanderburg © 2006
Scripting
•
•
•
•
•
•

•
•
•

{+ | -}shared :
{+ | -}direct : Specifies whether the document should be sent directly to the
printer without being spooled.
{+ | -}published : 
{+ | -}rawonly : Specifies whether only raw data print jobs can be spooled
on this queue.
{+ | -}queued : Specifies that the printer should not begin to print until after
the last page of the document is spooled.
{+ | -}keepprintedjobs : Specifies whether the spooler should retain
documents after they are printed. Enabling this option allows a user to
resubmit a document to the printer from the print queue instead of from the
printing program.
{+ | -}workoffline : Specifies whether you should be able to send print jobs
to the print queue even if your computer is not connected to the network.
{+ | -}enabledevq : Specifies whether print jobs that do not match the
printer setup (for example, PostScript files spooled to non-PostScript
printers) should be held in the queue rather than being printed.
{+ | -}docompletefirst : {+ | -}enablebidi : Specifies whether the printer
sends status information to the spooler.

Eric Vanderburg © 2006
Scripting
• Prndrvr.vbs
– -a : Specifies that you want to install a driver.
– -d : Specifies that you want to delete a driver.
– -m DriverName : Specifies, by name, the driver you
want to install. Drivers are often named for the model
of printer they support. See the printer documentation
for more information.
– -v {0 | 1 | 2 | 3} : Specifies the version of the driver
you want to install. (0=9x, 1=NT3, 2=NT4, 3=2k/XP)
– -e Environment (x86, Alpha, R4000, PowerPC)
– cscript prndrvr.vbs -a -m "Color Printer Driver 1" 
-v 3 -e "Windows NT x86"
Eric Vanderburg © 2006
Scripting
• Prnport.vbs – change ports
– -a : Required. Specifies that you want to create a standard
TCP/IP printer port.
– -r PortName : Required. Specifies the port to which the printer is
connected.
– -s RemoteComputer : 
– -h IPAddress : Required. Specifies the IP address you want to
assign to the port.
– -u UserName -w Password : 
– -o {raw -n PortNumber | lpr} : Specifies which protocol the port
uses: TCP raw or TCP LPR. If you use TCP raw, specifies the
port number for a TCP raw printer port. (Default port is 9100)
– -q QueueName : Specifies the queue name for a TCP raw port.
– cscript prnport.vbs -t -r PortName -s Root -o raw -n 8521
-h 192.168.0.10 -q NtQueue -i Index1 -u evanderburg w OrangeJuice
– To list all printer ports:  cscript prnport.vbs -l -s Root

Eric Vanderburg © 2006
Scripting
• Prnmngr.vbs – set default printer, add printer connection
–
–
–
–

-a : Required. Specifies that you want to add a local printer.
-x : Required. Specifies that you want to delete all printers.  
-s RemoteComputer : 
-p PrinterName : Required. Specifies, by name, the local printer
that you want to add.
– -m DriverName : Required. Specifies, by name, the driver for
the local printer you want to add. Drivers are often named for the
model of printer they support. See the printer documentation for
more information.
– -r PortName : Required. Specifies the port to which the printer is
connected. If this is a parallel or a serial port, use the ID of the
port (for example, LPT1 or COM1). If this is a TCP/IP port, use
the port name that was specified when the port was added.
-u UserName -w Password :
– cscript prnmngr.vbs -x -s Root -p TheBeast -u evanderburg w OrangeJuice

Eric Vanderburg © 2006
Scripting
• Prnjobs.vbs – view, pause, cancel jobs
–
–
–
–
–
–
–
–

-z : Required. Specifies that you want to pause a print job.
-x : Required. Specifies that you want to cancel a print job.
-s RemoteComputer : 
-p PrinterName : Required. Specifies, by name, the printer that
would print the job you want to pause.
-j JobNumber : Required. Specifies, by ID number, the print job
you want to pause.
-u UserName -w Password 
cscript prnjobs -x -s Root -p TheBeast  -j JobNumber 
-u evanderburg -w OrangeJuice
List current print jobs:  cscript prnjobs.vbs -l -p Printer2

Eric Vanderburg © 2006
Scripting
• Prnqctl.vbs – pause, cancel, resume jobs, test
page print
– -x : Required. Specifies that you want to cancel all
jobs spooled to a printer.
– -z : Required. Specifies that you want to pause
printing.
– -s RemoteComputer : 
– -p PrinterName : Required. Specifies, by name, the
printer you want to pause.
– -u UserName -w Password :
– cscript prnqctl.vbs -x -s Root -p TheBeast
-u evanderburg -w OrangeJuice

• To run: cscript name.vbs parameters
Eric Vanderburg © 2006
Acronyms
• GDI, Graphics Device Interface
• IPP, Internet Printing Protocol
• WSH, Windows Scripting Host

Eric Vanderburg © 2006

More Related Content

Similar to Network Implementation and Support Lesson 08 Printers - Eric Vanderburg

Unix printer driver_2ndfeb2017_final
Unix printer driver_2ndfeb2017_finalUnix printer driver_2ndfeb2017_final
Unix printer driver_2ndfeb2017_finalSangeetha Subramani
 
OpenShift Origin Community Day (Boston) Extending OpenShift Origin: Build You...
OpenShift Origin Community Day (Boston) Extending OpenShift Origin: Build You...OpenShift Origin Community Day (Boston) Extending OpenShift Origin: Build You...
OpenShift Origin Community Day (Boston) Extending OpenShift Origin: Build You...OpenShift Origin
 
OpenShift Origin Community Day (Boston) Writing Cartridges V2 by Jhon Honce
OpenShift Origin Community Day (Boston) Writing Cartridges V2 by Jhon Honce OpenShift Origin Community Day (Boston) Writing Cartridges V2 by Jhon Honce
OpenShift Origin Community Day (Boston) Writing Cartridges V2 by Jhon Honce Diane Mueller
 
Embedded Android
Embedded AndroidEmbedded Android
Embedded Android晓东 杜
 
Printing with cups (linux)
Printing with cups (linux)Printing with cups (linux)
Printing with cups (linux)Raghu nath
 
Chapter08 Implementing And Managing Printers
Chapter08      Implementing And  Managing  PrintersChapter08      Implementing And  Managing  Printers
Chapter08 Implementing And Managing PrintersRaja Waseem Akhtar
 
Saad baig practical file
Saad baig practical fileSaad baig practical file
Saad baig practical fileSaadBaig33
 
CSS L17 - DOS COMMANDS IN COMPUTER NETWORKING
CSS L17 - DOS COMMANDS IN COMPUTER NETWORKINGCSS L17 - DOS COMMANDS IN COMPUTER NETWORKING
CSS L17 - DOS COMMANDS IN COMPUTER NETWORKINGMarvin Bronoso
 

Similar to Network Implementation and Support Lesson 08 Printers - Eric Vanderburg (20)

Unix printer driver_2ndfeb2017_final
Unix printer driver_2ndfeb2017_finalUnix printer driver_2ndfeb2017_final
Unix printer driver_2ndfeb2017_final
 
nwlab-ex1.pdf
nwlab-ex1.pdfnwlab-ex1.pdf
nwlab-ex1.pdf
 
CN 1.docx
CN 1.docxCN 1.docx
CN 1.docx
 
OpenShift Origin Community Day (Boston) Extending OpenShift Origin: Build You...
OpenShift Origin Community Day (Boston) Extending OpenShift Origin: Build You...OpenShift Origin Community Day (Boston) Extending OpenShift Origin: Build You...
OpenShift Origin Community Day (Boston) Extending OpenShift Origin: Build You...
 
OpenShift Origin Community Day (Boston) Writing Cartridges V2 by Jhon Honce
OpenShift Origin Community Day (Boston) Writing Cartridges V2 by Jhon Honce OpenShift Origin Community Day (Boston) Writing Cartridges V2 by Jhon Honce
OpenShift Origin Community Day (Boston) Writing Cartridges V2 by Jhon Honce
 
Embedded Android
Embedded AndroidEmbedded Android
Embedded Android
 
Printing with cups (linux)
Printing with cups (linux)Printing with cups (linux)
Printing with cups (linux)
 
Module1 print
Module1 printModule1 print
Module1 print
 
56_Implementation
56_Implementation56_Implementation
56_Implementation
 
Print server
Print serverPrint server
Print server
 
Client server
Client serverClient server
Client server
 
Backtrack Manual Part4
Backtrack Manual Part4Backtrack Manual Part4
Backtrack Manual Part4
 
Linux
LinuxLinux
Linux
 
Rpc mechanism
Rpc mechanismRpc mechanism
Rpc mechanism
 
Tutorial
TutorialTutorial
Tutorial
 
Tutorial
TutorialTutorial
Tutorial
 
Chapter08 Implementing And Managing Printers
Chapter08      Implementing And  Managing  PrintersChapter08      Implementing And  Managing  Printers
Chapter08 Implementing And Managing Printers
 
Saad baig practical file
Saad baig practical fileSaad baig practical file
Saad baig practical file
 
Pcp
PcpPcp
Pcp
 
CSS L17 - DOS COMMANDS IN COMPUTER NETWORKING
CSS L17 - DOS COMMANDS IN COMPUTER NETWORKINGCSS L17 - DOS COMMANDS IN COMPUTER NETWORKING
CSS L17 - DOS COMMANDS IN COMPUTER NETWORKING
 

More from Eric Vanderburg

GDPR, Data Privacy and Cybersecurity - MIT Symposium
GDPR, Data Privacy and Cybersecurity - MIT SymposiumGDPR, Data Privacy and Cybersecurity - MIT Symposium
GDPR, Data Privacy and Cybersecurity - MIT SymposiumEric Vanderburg
 
Modern Security the way Equifax Should Have
Modern Security the way Equifax Should HaveModern Security the way Equifax Should Have
Modern Security the way Equifax Should HaveEric Vanderburg
 
Cybercrime and Cyber Threats - CBLA - Eric Vanderburg
Cybercrime and Cyber Threats - CBLA - Eric VanderburgCybercrime and Cyber Threats - CBLA - Eric Vanderburg
Cybercrime and Cyber Threats - CBLA - Eric VanderburgEric Vanderburg
 
Cybersecurity Incident Response Strategies and Tactics - RIMS 2017 - Eric Van...
Cybersecurity Incident Response Strategies and Tactics - RIMS 2017 - Eric Van...Cybersecurity Incident Response Strategies and Tactics - RIMS 2017 - Eric Van...
Cybersecurity Incident Response Strategies and Tactics - RIMS 2017 - Eric Van...Eric Vanderburg
 
Mobile Forensics and Cybersecurity
Mobile Forensics and CybersecurityMobile Forensics and Cybersecurity
Mobile Forensics and CybersecurityEric Vanderburg
 
2017 March ISACA Security Challenges with the Internet of Things - Eric Vande...
2017 March ISACA Security Challenges with the Internet of Things - Eric Vande...2017 March ISACA Security Challenges with the Internet of Things - Eric Vande...
2017 March ISACA Security Challenges with the Internet of Things - Eric Vande...Eric Vanderburg
 
Ransomware: 2016's Greatest Malware Threat
Ransomware: 2016's Greatest Malware ThreatRansomware: 2016's Greatest Malware Threat
Ransomware: 2016's Greatest Malware ThreatEric Vanderburg
 
Emerging Technologies: Japan’s Position
Emerging Technologies: Japan’s PositionEmerging Technologies: Japan’s Position
Emerging Technologies: Japan’s PositionEric Vanderburg
 
Principles of technology management
Principles of technology managementPrinciples of technology management
Principles of technology managementEric Vanderburg
 
Japanese railway technology
Japanese railway technologyJapanese railway technology
Japanese railway technologyEric Vanderburg
 
Evaluating japanese technological competitiveness
Evaluating japanese technological competitivenessEvaluating japanese technological competitiveness
Evaluating japanese technological competitivenessEric Vanderburg
 
Japanese current and future technology management challenges
Japanese current and future technology management challengesJapanese current and future technology management challenges
Japanese current and future technology management challengesEric Vanderburg
 
Technology management in Japan: Robotics
Technology management in Japan: RoboticsTechnology management in Japan: Robotics
Technology management in Japan: RoboticsEric Vanderburg
 
Incident response table top exercises
Incident response table top exercisesIncident response table top exercises
Incident response table top exercisesEric Vanderburg
 
The Prescription for Protection - Avoid Treatment Errors To The Malware Problem
The Prescription for Protection - Avoid Treatment Errors To The Malware ProblemThe Prescription for Protection - Avoid Treatment Errors To The Malware Problem
The Prescription for Protection - Avoid Treatment Errors To The Malware ProblemEric Vanderburg
 
Cloud Storage and Security: Solving Compliance Challenges
Cloud Storage and Security: Solving Compliance ChallengesCloud Storage and Security: Solving Compliance Challenges
Cloud Storage and Security: Solving Compliance ChallengesEric Vanderburg
 
Hacktivism: Motivations, Tactics and Threats
Hacktivism: Motivations, Tactics and ThreatsHacktivism: Motivations, Tactics and Threats
Hacktivism: Motivations, Tactics and ThreatsEric Vanderburg
 
Correct the most common web development security mistakes - Eric Vanderburg
Correct the most common web development security mistakes - Eric VanderburgCorrect the most common web development security mistakes - Eric Vanderburg
Correct the most common web development security mistakes - Eric VanderburgEric Vanderburg
 
Deconstructing website attacks - Eric Vanderburg
Deconstructing website attacks - Eric VanderburgDeconstructing website attacks - Eric Vanderburg
Deconstructing website attacks - Eric VanderburgEric Vanderburg
 
Countering malware threats - Eric Vanderburg
Countering malware threats - Eric VanderburgCountering malware threats - Eric Vanderburg
Countering malware threats - Eric VanderburgEric Vanderburg
 

More from Eric Vanderburg (20)

GDPR, Data Privacy and Cybersecurity - MIT Symposium
GDPR, Data Privacy and Cybersecurity - MIT SymposiumGDPR, Data Privacy and Cybersecurity - MIT Symposium
GDPR, Data Privacy and Cybersecurity - MIT Symposium
 
Modern Security the way Equifax Should Have
Modern Security the way Equifax Should HaveModern Security the way Equifax Should Have
Modern Security the way Equifax Should Have
 
Cybercrime and Cyber Threats - CBLA - Eric Vanderburg
Cybercrime and Cyber Threats - CBLA - Eric VanderburgCybercrime and Cyber Threats - CBLA - Eric Vanderburg
Cybercrime and Cyber Threats - CBLA - Eric Vanderburg
 
Cybersecurity Incident Response Strategies and Tactics - RIMS 2017 - Eric Van...
Cybersecurity Incident Response Strategies and Tactics - RIMS 2017 - Eric Van...Cybersecurity Incident Response Strategies and Tactics - RIMS 2017 - Eric Van...
Cybersecurity Incident Response Strategies and Tactics - RIMS 2017 - Eric Van...
 
Mobile Forensics and Cybersecurity
Mobile Forensics and CybersecurityMobile Forensics and Cybersecurity
Mobile Forensics and Cybersecurity
 
2017 March ISACA Security Challenges with the Internet of Things - Eric Vande...
2017 March ISACA Security Challenges with the Internet of Things - Eric Vande...2017 March ISACA Security Challenges with the Internet of Things - Eric Vande...
2017 March ISACA Security Challenges with the Internet of Things - Eric Vande...
 
Ransomware: 2016's Greatest Malware Threat
Ransomware: 2016's Greatest Malware ThreatRansomware: 2016's Greatest Malware Threat
Ransomware: 2016's Greatest Malware Threat
 
Emerging Technologies: Japan’s Position
Emerging Technologies: Japan’s PositionEmerging Technologies: Japan’s Position
Emerging Technologies: Japan’s Position
 
Principles of technology management
Principles of technology managementPrinciples of technology management
Principles of technology management
 
Japanese railway technology
Japanese railway technologyJapanese railway technology
Japanese railway technology
 
Evaluating japanese technological competitiveness
Evaluating japanese technological competitivenessEvaluating japanese technological competitiveness
Evaluating japanese technological competitiveness
 
Japanese current and future technology management challenges
Japanese current and future technology management challengesJapanese current and future technology management challenges
Japanese current and future technology management challenges
 
Technology management in Japan: Robotics
Technology management in Japan: RoboticsTechnology management in Japan: Robotics
Technology management in Japan: Robotics
 
Incident response table top exercises
Incident response table top exercisesIncident response table top exercises
Incident response table top exercises
 
The Prescription for Protection - Avoid Treatment Errors To The Malware Problem
The Prescription for Protection - Avoid Treatment Errors To The Malware ProblemThe Prescription for Protection - Avoid Treatment Errors To The Malware Problem
The Prescription for Protection - Avoid Treatment Errors To The Malware Problem
 
Cloud Storage and Security: Solving Compliance Challenges
Cloud Storage and Security: Solving Compliance ChallengesCloud Storage and Security: Solving Compliance Challenges
Cloud Storage and Security: Solving Compliance Challenges
 
Hacktivism: Motivations, Tactics and Threats
Hacktivism: Motivations, Tactics and ThreatsHacktivism: Motivations, Tactics and Threats
Hacktivism: Motivations, Tactics and Threats
 
Correct the most common web development security mistakes - Eric Vanderburg
Correct the most common web development security mistakes - Eric VanderburgCorrect the most common web development security mistakes - Eric Vanderburg
Correct the most common web development security mistakes - Eric Vanderburg
 
Deconstructing website attacks - Eric Vanderburg
Deconstructing website attacks - Eric VanderburgDeconstructing website attacks - Eric Vanderburg
Deconstructing website attacks - Eric Vanderburg
 
Countering malware threats - Eric Vanderburg
Countering malware threats - Eric VanderburgCountering malware threats - Eric Vanderburg
Countering malware threats - Eric Vanderburg
 

Recently uploaded

SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfjimielynbastida
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 

Recently uploaded (20)

SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdf
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 

Network Implementation and Support Lesson 08 Printers - Eric Vanderburg

  • 1. Network Implementation & Support Chapter 8 Implementing & Managing Printers Eric Vanderburg © 2006
  • 2. Terms • • • • • Print Device Printer Print Driver Print Server Print Client Eric Vanderburg © 2006
  • 3. Printing Process 1. User prints from app 2. App contacts GDI (Graphical Device Interface) 3. GDI contacts print driver for printer info, renders (combines printer info & document) 4. GDI sends rendered job to the print spooler 5. Client side spooler contacts server side spooler 6. Server side spooler contacts print router Eric Vanderburg © 2006
  • 4. 7. Print router determines if the printer is local or remote. a. b. Local: job forwarded to local print provider Remote: finds remote print provider for that print server & that print provider sends the data to the print server local print provider 7. Local print provider finds a print processor that can process the print job 8. Print processor contacts GDI for further rendering (if required) 9. Print processor sends job to separator processor 10. Job is sent to the port monitor which is connected to the printer. Eric Vanderburg © 2006
  • 5. Concepts • Changing spool directory – Printers & Faxes – File  Server Properties  Advanced tab – Type a new location – See pg. 321 Eric Vanderburg © 2006
  • 7. Concepts • Adding a printer (local / remote) • Sharing a printer – Print – Manage Documents – Manage Printers • • • • Printer Pooling Printer Priorities (per share, 99 is best) Additional drivers for other OS’s IPP (Internet Printing Protocol) – Requires IIS (Internet Information Services) – http://printserver/printers Eric Vanderburg © 2006
  • 9. Scripting • Prncnfg.vbs – printer configuration – -g : Required. Specifies that you want to display configuration information about a printer. – -t : Required. Specifies that you want to configure a printer. – -s RemoteComputer : Specifies, by name, the remote computer that manages the printer about which you want to display information. If you do not specify a computer, the local computer is used. – -p PrinterName : Required. Specifies, by name, the printer about which you want to display information. – -u UserName -w Password : Specifies an account with permissions to connect by using Windows Management Instrumentation (WMI) services – -l Location : Specifies the printer location, such as "Copier Room." – -m Comment : Specifies the comment string. – -h ShareName : Specifies the share name. – -f SeparatorText : Specifies a file that contains the text that appears on the separator page. – To keep spooled jobs after printing:  cscript prncnfg.vbs -t -s Root  -p TheBeast +keepprintedjobs Eric Vanderburg © 2006
  • 10. Scripting • • • • • • • • • {+ | -}shared : {+ | -}direct : Specifies whether the document should be sent directly to the printer without being spooled. {+ | -}published :  {+ | -}rawonly : Specifies whether only raw data print jobs can be spooled on this queue. {+ | -}queued : Specifies that the printer should not begin to print until after the last page of the document is spooled. {+ | -}keepprintedjobs : Specifies whether the spooler should retain documents after they are printed. Enabling this option allows a user to resubmit a document to the printer from the print queue instead of from the printing program. {+ | -}workoffline : Specifies whether you should be able to send print jobs to the print queue even if your computer is not connected to the network. {+ | -}enabledevq : Specifies whether print jobs that do not match the printer setup (for example, PostScript files spooled to non-PostScript printers) should be held in the queue rather than being printed. {+ | -}docompletefirst : {+ | -}enablebidi : Specifies whether the printer sends status information to the spooler. Eric Vanderburg © 2006
  • 11. Scripting • Prndrvr.vbs – -a : Specifies that you want to install a driver. – -d : Specifies that you want to delete a driver. – -m DriverName : Specifies, by name, the driver you want to install. Drivers are often named for the model of printer they support. See the printer documentation for more information. – -v {0 | 1 | 2 | 3} : Specifies the version of the driver you want to install. (0=9x, 1=NT3, 2=NT4, 3=2k/XP) – -e Environment (x86, Alpha, R4000, PowerPC) – cscript prndrvr.vbs -a -m "Color Printer Driver 1"  -v 3 -e "Windows NT x86" Eric Vanderburg © 2006
  • 12. Scripting • Prnport.vbs – change ports – -a : Required. Specifies that you want to create a standard TCP/IP printer port. – -r PortName : Required. Specifies the port to which the printer is connected. – -s RemoteComputer :  – -h IPAddress : Required. Specifies the IP address you want to assign to the port. – -u UserName -w Password :  – -o {raw -n PortNumber | lpr} : Specifies which protocol the port uses: TCP raw or TCP LPR. If you use TCP raw, specifies the port number for a TCP raw printer port. (Default port is 9100) – -q QueueName : Specifies the queue name for a TCP raw port. – cscript prnport.vbs -t -r PortName -s Root -o raw -n 8521 -h 192.168.0.10 -q NtQueue -i Index1 -u evanderburg w OrangeJuice – To list all printer ports:  cscript prnport.vbs -l -s Root Eric Vanderburg © 2006
  • 13. Scripting • Prnmngr.vbs – set default printer, add printer connection – – – – -a : Required. Specifies that you want to add a local printer. -x : Required. Specifies that you want to delete all printers.   -s RemoteComputer :  -p PrinterName : Required. Specifies, by name, the local printer that you want to add. – -m DriverName : Required. Specifies, by name, the driver for the local printer you want to add. Drivers are often named for the model of printer they support. See the printer documentation for more information. – -r PortName : Required. Specifies the port to which the printer is connected. If this is a parallel or a serial port, use the ID of the port (for example, LPT1 or COM1). If this is a TCP/IP port, use the port name that was specified when the port was added. -u UserName -w Password : – cscript prnmngr.vbs -x -s Root -p TheBeast -u evanderburg w OrangeJuice Eric Vanderburg © 2006
  • 14. Scripting • Prnjobs.vbs – view, pause, cancel jobs – – – – – – – – -z : Required. Specifies that you want to pause a print job. -x : Required. Specifies that you want to cancel a print job. -s RemoteComputer :  -p PrinterName : Required. Specifies, by name, the printer that would print the job you want to pause. -j JobNumber : Required. Specifies, by ID number, the print job you want to pause. -u UserName -w Password  cscript prnjobs -x -s Root -p TheBeast  -j JobNumber  -u evanderburg -w OrangeJuice List current print jobs:  cscript prnjobs.vbs -l -p Printer2 Eric Vanderburg © 2006
  • 15. Scripting • Prnqctl.vbs – pause, cancel, resume jobs, test page print – -x : Required. Specifies that you want to cancel all jobs spooled to a printer. – -z : Required. Specifies that you want to pause printing. – -s RemoteComputer :  – -p PrinterName : Required. Specifies, by name, the printer you want to pause. – -u UserName -w Password : – cscript prnqctl.vbs -x -s Root -p TheBeast -u evanderburg -w OrangeJuice • To run: cscript name.vbs parameters Eric Vanderburg © 2006
  • 16. Acronyms • GDI, Graphics Device Interface • IPP, Internet Printing Protocol • WSH, Windows Scripting Host Eric Vanderburg © 2006