SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Ähnlich wie 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
 
Printing with cups (linux)
Printing with cups (linux)Printing with cups (linux)
Printing with cups (linux)Raghu nath
 
56_Implementation
56_Implementation56_Implementation
56_ImplementationPrerna Paliwal
 
Client server
Client serverClient server
Client servermaryam1231
 
Backtrack Manual Part4
Backtrack Manual Part4Backtrack Manual Part4
Backtrack Manual Part4Nutan Kumar Panda
 
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
 

Ähnlich wie 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
 

Mehr von 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
 

Mehr von 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
 

KĂźrzlich hochgeladen

The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 

KĂźrzlich hochgeladen (20)

The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 

Network Implementation and Support Lesson 08 Printers - Eric Vanderburg

  • 1. Network Implementation & Support Chapter 8 Implementing & Managing Printers 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