Network Printing
Network Printing
No additional notes
No additional notes
Network+
No additional notes
2. Printer Ports
3. Terminal Services
No additional notes
No additional notes
No additional notes
No additional notes
port.
This can be printers connected via USB or parallel cable, but
also networked printers using a local port.
There are no intermediate servers (for instance print
servers), so there is direct communication between the PC
and the printer.
Local printers can be added by starting the Add Printer
Wizard or using a setup program.
Plug and Play compatible printers can start the Add Printer
Wizard automatically when they are connected.
Some Plug and Play printers do require you to install the
drivers before connecting the printer, so always check the
printer’s installation guide.
No additional notes
No additional notes
Architecture.
When looking at the most recent Windows versions,
basically there are two architectures:
Printing architecture before Windows Vista.
This includes Windows 2000, Windows XP, Windows 2003
Server.
In this module, we will call this the Printing Architecture of
Windows XP.
Printing architecture of Vista and later.
This includes Windows Vista, Windows 7 and Windows 2008
Server.
In this module, we will call this the Printing Architecture of
Windows 7.
The next chapters will show the differences.
No additional notes
Application
Spooler
Print Monitor
GDI:
The Graphics Device Interface (GDI) is a Microsoft Windows application
programming interface and core operating system component
responsible for representing graphical objects and transmitting them to
output devices such as monitors and printers.
GDI includes user-mode and kernel-mode components.
The user-mode component, Microsoft Win32 GDI, is used by Win32
applications that require graphics support.
The kernel-mode component, the graphics engine, exports services
and functions that graphics device drivers can use.
Kernel Mode:
Kernel-mode drivers are called version 2 drivers and run in a privileged
operating mode.
An error in a kernel-mode driver can cause the entire server to stop
responding.
User Mode:
User-mode drivers are called version 3 drivers and run at the same
system privilege level as an application.
User-mode drivers are hosted in the spooler process.
An error in a user-mode driver will only stop the spooler service which is
easily restarted.
There are two different types of print monitors:
The Language Monitors provide a full-duplex communications path
between the print spooler and bi-directional printers.
The Port Monitors are responsible for providing a communications path
between the user-mode print spooler and the kernel-mode port drivers
that access I/O port hardware.
No additional notes
System32\spool\PRINTERS.
The print spooler is controlled by the Print Spooler service.
Note
This is not only true for Windows XP, but for other versions as well
(Windows 2003, Vista, 7, etc).
No additional notes
No additional notes
No additional notes
RAW:
RAW data can be sent to a print monitor without further
processing.
Postscript commands can be considered RAW data if the target
printer supports Postscript.
TEXT:
TEXT data consists solely of ANSI text. The print processor
calls GDI to draw characters using the print device's default
font, and sends the resulting RAW-formatted output to the
spooler.
No additional notes
Programs then use the same standard API’s to draw text and
pictures both on screen and on paper.
No additional notes
No additional notes
No additional notes
that supports the new XPS spool file and the Windows
Presentation Foundation graphics engine.
No additional notes
No additional notes
Color System.
No additional notes
No additional notes
No additional notes
No additional notes
You can add driver packages into the driver store for
installation at a later time (staging).
No additional notes
No additional notes
No additional notes
Peer-to-peer:
In a peer-to-peer network there are no dedicated servers or
hierarchy among the computers.
Server-based:
A server-based network consists of a group of user-oriented
PCs (Clients) that request and receive network services from
specialized computers (Servers).
No additional notes
possibilities
Win9x/Me requires additional utilities.
WinNT and later have built-in peer-to-peer printing protocols.
No print server (computer) is required with peer-to-peer
printing.
Peer-to-peer networks are designed for connecting a
small number of computers.
Workstations
Printe
r
Note:
All of the computers on the network handle security and administration
for themselves, so users must make the decisions about who gets
access to what.
Workstations
Printe
Print Server r
No additional notes
No additional notes
No additional notes
No additional notes
2. Printer Ports
2. Standard TCP/IP
3. IPP
4. Smart Device Monitor for Client
5. Point and Print
6. WSD
No additional notes
2.1 LPR
No additional notes
Simple to implement.
Platform independent.
No special utilities needed for Windows NT and later.
You may have to add the LPR/ LPD daemon first.
Disadvantages:
For Windows 9x/Me special utilities are needed to create an
LPR port.
The LPR port is unidirectional.
It lacks print job acknowledgment, so once the print data is
transmitted to the LPD, the host will consider the job done.
No automatic update of installed accessories or paper tray
configuration.
No additional notes
Windows XP Windows 7
No additional notes
Windows 7
Windows XP
No additional notes
A few examples:
Ricoh NIB’s: lp
Osicom DPI NIB: PORT1
Emulex: PASSTHRU
No additional notes
No additional notes
Practical Work
Exercise 1
No additional notes
No additional notes
1 2. Protocol type
2 3. Port number
3
4. Community name for SNMP
(Read)
No additional notes
No additional notes
No additional notes
Note
The LPR standard states that print jobs must include information about
the size of a print job.
Sending a job with job size information requires that the port monitor
spools the job twice, once to determine the size, and once to send the job
to the spooler.
Therefore, to improve performance the standard port monitor will send
the job without job size information.
It will claim the job is a default size, regardless of the job’s actual
size.
No additional notes
Practical Work
Exercise 2
2.3 IPP
No additional notes
No additional notes
No additional notes
LAN
Firewall
Internet
Firewall
No additional notes
No additional notes
No additional notes
Note
More information on SSL can be found in the GW Security
Features modules on WICE.
No additional notes
Practical Work
Exercise 3
printing solution.
No additional notes
No additional notes
No additional notes
No additional notes
IPP Authentication.
Administrators can enter up
to 10 usernames and
passwords into the device
using WebImageMonitor.
Users can only print when
they supply one of those
usernames/ passwords.
No additional notes
Disable.
Authentication is disabled.
Everybody is allowed to print.
Basic.
Authentication is enabled.
Users have to supply a username and password.
These credentials are send over the network in plain text.
Digest.
Authentication is enabled.
Users have to supply a username and password.
The hash of the password is send over the network.
No additional notes
No additional notes
Practical Work
Exercise 4
Point and Print also updates the printer driver on the client
computer when the driver configuration is updated on the
print server.
No additional notes
No additional notes
UNC.
Double-click.
No additional notes
Note
You probably have to manually browse to the printer installation files to
install the printer driver.
No additional notes
No additional notes
Practical Work
Exercise 5
2.6 WSD
Windows
Vista
No additional notes
The next slides will show how to install a driver using WSD.
Note that this chapter shows the main points about WSD.
No additional notes
No additional notes
Printer service.
Supported on 07A models and later.
Scanner service.
Supported on 08A models and later.
Supported Operating Systems:
Windows Vista or later.
Supported communication protocols:
TCP/IP (IPv4/IPv6).
SNMP daemon (snmpd).
Supported models:
07A or later models MFP/LP.
Supported I/F:
Ethernet and Wireless LAN.
No additional notes
No additional notes
Note:
An appropriate printer driver can only be automatically selected when the
driver is available in the driver store.
WSDMON Port Monitor
The WSDMON port monitor is a printer port monitor that supports printing
to network printers that comply with the Web Services for Devices (WSD)
technology. The WSDMON port monitor listens for WSD events and
updates the printer status accordingly. This port monitor is new for
Windows Vista.
The WSDMON port monitor can:
Discover network printers and install them.
Send jobs to WSD printers.
Monitor the status and configuration of the WSD printers and update
the printer object status accordingly.
WSD-Printer Only.
Right-click or double-click to
install.
08S or later:
WSD-Printer and Scanner.
Right-click or double-click to
install.
No additional notes
No additional notes
No additional notes
Practical Work
Exercise 6
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 100
Chapter Overview
1. Introduction 101
No additional notes
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 101
102
3.1 Introduction
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 102
Remote Desktop Services
Remote Desktop Services in Windows Server 2008 R2, 103
No additional notes
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 103
Remote Desktop Connection
Microsoft also provides the client software: Remote 104
No additional notes
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 104
Printers and Remote Desktop Services
Getting users to print on printers via Remote Desktop, be 105
No additional notes
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 105
Supported Drivers
On www.ricoh-support.com you can find a compatibility list 106
No additional notes
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 106
107
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 107
Terminal Server History
The Terminal Server history dates from the 1990’s. 108
No additional notes
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 108
Starting Point
Terminal Server Edition was very much a starting point. 109
No additional notes
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 109
Windows 2000 Server
The first real breakthrough in Microsoft Terminal Services 110
No additional notes
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 110
Windows 2003 Server
The next big step was Windows Server 2003, which took 111
No additional notes
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 111
Windows 2008 Server
The latest edition (at the time of writing this module) is 112
No additional notes
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 112
113
3.3 Printing
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 113
Terminal Server Printing
As already mentioned, printing via a terminal server 114
No additional notes
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 114
Scenario's 2000 and 2003 Server
There are in general 4 methods of installing printer drivers 115
No additional notes
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 115
Scenario A
The printer (driver) is installed directly on the terminal 116
server.
Network LPT/USB/COM
connection connection
Terminal
Terminal Printe
Server
Server r
Client
Disadvantage:
Terminal Server needs to be in the same physical location
as the client.
As from Windows 2000 Terminal Services, you have two additional types
of printing.
3. The printer is installed on the server and client. The session is
auto-created / auto-redirected when the user logs into a terminal
session.
4. The printer is installed on the client and the administrator
manually creates/ redirects a printer on the server to the client.
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 116
Scenario A: Printing Process
The client connects to the 117
Scenario A - Printer installed on the server/ print device local to the server
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 117
Scenario B
The printer (driver) is installed on the terminal server with 118
LPT/USB/COM Network
connection connection
Terminal Server
Printe TS with printer
Client with printer
r installed
installed
Disadvantages:
Client needs rights to install printer drivers on the server.
Not ideal for connections made through the internet.
No additional notes
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 118
Scenario B: Installation Process
1. The client connects to the TS with printer 119
Printe
r
Scenario B - Printer installed via point and print / print device is local to the
client
In this scenario, the terminal client will have a shared printer installed on
the local machine and will be directing its output to its locally attached
print device via LPT, LPR, etc. You will then connect to the terminal
server via a terminal session and install the printer on the server via point
and print. This will create a network printer on the terminal server that is
pointing to the shared printer on the terminal client. When the terminal
client user connects to the terminal server, they will then be able to print
to their locally attached print device. In this case, the terminal client / PC
is acting as the print server.
In this scenario the terminal client user will launch an application from
within a terminal session. They will then select file/print and the job will be
rendered and spooled on the printer installed on the server. Because the
printer was installed on the server as networked printer that is pointing to
the shared printer on the client, the output will be sent to the terminal
client / PC and get spooled on the shared printer. Because the shared
printer on the client is configured to communicate directly to the printing
the device, the print data stream is then sent directly to the printing
device.
This scenario is beneficial in an environment where the terminal client
user needs to be able to print to a locally attached printer. Because of the
way “point and print” works, this scenario is not ideal over a
WAN/Internet. This situation is ideal when the terminal client user is
located within the same network infrastructure as the Terminal Server
and needs access to a local printer connected to its workstation while in a
terminal session.
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 119
Scenario B: Printing Process
1. The terminal client user TS with printer 120
No additional notes
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 120
Scenario C
The printer is installed on the server and client. 121
Internet
Terminal Server
Printe
Client with printer
r
installed
Advantage:
Works good over the internet.
Disadvantage:
Works only with Terminal Server supported drivers.
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 121
Scenario C: Installation Process
The printer is installed on the server and client. 122
No additional notes
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 122
Scenario C: Printing Process
1. The user connects to the TS TS with printer 123
Note:
If the print device is not attached with a LPT, COM, or USB port on the
client, we will install an additional shared printer and use the Net Use
command to redirect lpt1 on the client to the shared printer that is also
installed on the client.
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 123
Scenario D
The printer is installed on the client and the administrator 124
Internet
Terminal Server
Printe
Client with printer
r
installed
Advantage:
Works good over the internet including all types of locally
installed drivers (for example RPCS*).
Disadvantage:
Need to install drivers with help of the administrator.
Note:
RPCS drivers are not supported on a Terminal Server.
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 124
Scenario D: Installation Process
The user connects to the TS 125
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 125
To Sum Up:
Without Easy Print, IT administrators have to deal with the 126
following:
Kernel-mode drivers:
A buggy driver can - and often will - crash the terminal server. For
this reason, the use of kernel-mode drivers is blocked by default
since Windows Server 2003.
Driver name mapping:
When client and server are not running on the same kernel (e.g.,
clients running Windows 98 and the server running Windows 2000
Server), the drivers often do not have the same name. You have to
manually map them in an INF file to make printing to a redirected
printer work at all.
Driver distribution:
You have to test drivers before installing them on the terminal
server, and after they are tested, distribute them to all the other
terminal servers.
Bandwidth usage:
Printing can take up a lot of bandwidth, which can slow the user
session during print jobs.
No additional notes
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 126
127
Practical Work
Exercise 7
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 127
128
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 128
Port redirection
If a print device is not attached with a LPT, COM, or USB 129
No additional notes
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 129
LPT-port redirection (1/2)
130
No additional notes
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 130
LPT-port redirection (2/2)
C. Check client computer name 131
Notes:
If you want to make sure that you have correctly mapped your lpt port on
the client to the network shared printer, you can print a test page from the
first (lpt) printer that was installed on the client. The output for the test
page should print on the networked printing device.
For Windows 95, Windows 98, and Windows ME perform the following:
right-click on the network printer in the printers folder and click
properties. From the details tab in the Printer Properties box, click
Capture Printer Port. This will enable you to select the LPT port that
you want to map to this network path.
If you ever want to remove the mapping that you just created with the
“net use” command, you can enter the following command from a
command prompt: net use lpt1: /delete
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 131
132
3.5 Accessories
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 132
Accessories
Something that users have to consider is the fact that 133
No additional notes
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 133
134
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 134
What is Easy Print
Terminal Services printing has been enhanced in Windows 135
The “Redirect only the default client printer” policy setting allows
you to specify whether the default client printer is the only printer
that is redirected in Terminal Services sessions. This helps to
limit the number of printers that the spooler must enumerate,
therefore improving terminal server scalability.
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 135
XPS
Like legacy printing, Easy Print must render data into a 136
No additional notes
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 136
Easy Print Printing Process
Basically, Easy Print takes a print job request and does 137
No additional notes
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 137
Benefits of Easy Print
You don't have to install printer drivers on the terminal 138
server.
TS Easy Print uses a proxy driver on the server to pass
print jobs to the client for printing.
Because of this, all client printers are available in the TS
client session.
By using TS Easy Print, you no longer have to match
drivers on the terminal server with drivers on the client,
and there is no risk of server crashes due to crashing
kernel-mode print drivers.
Furthermore, the printing preferences you get when you
print from a Terminal Services session are the same
preferences you get when printing from a client computer.
No additional notes
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 138
Easy Print in Practice
Easy Print in practice: Just login into the Server 2008 139
Terminal Server.
Client Computer
Terminal Server
No additional notes
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 139
140
Practical Work
Exercise 8
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 140
141
3.7 Citrix
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 141
What is Citrix
We couldn’t talk about Terminal Services without 142
mentioning Citrix.
Citrix Systems, Inc. is a multinational corporation, founded
in 1989, that provides server and desktop virtualization,
networking, software-as-a-service (SaaS) and cloud
computing technologies including Xen open source
products.
Citrix and Microsoft have a strong relationship, which
ensures a tight integration of both the MS Operating
System and the Citrix software.
Popular Citrix applications include Citrix MetaFrame
(discontinued), Citrix Presentation Server and Citrix
XenApp (formerly Presentation Server).
You can download a list of compatible print devices from
www.ricoh-support.com.
No additional notes
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 142
Citrix Products
143
No additional notes
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 143
ICA
Citrix uses the ICA protocol, or Independent Computing 144
No additional notes
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 144
Device Options/ Accessories
The older versions of Citrix (MetaFrame, MetaFrame XP) 145
No additional notes
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 145
DeviceOption Utility for MetaFrame (1/2)
The DeviceOption Utility for MetaFrame is a Ricoh 146
No additional notes
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 146
DeviceOption Utility for MetaFrame (2/2)
Pre-define accessory settings of printer driver such as 147
Duplex
Punching
Additional Tray
No additional notes
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 147
Requirements
The DeviceOption Utility for MetaFrame does have 148
No additional notes
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 148
Universal Print Driver
Citrix introduced the Citrix Universal Printer in 149
No additional notes
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 149
150
Created by: Ricoh Academy Europe Version: V1.0.a Classification: Internal 150