Integrating a printer is defined as making a network printer available
as an ASU printer share to Windows users. There are five steps
to integrating a printer:
|
Ensure that the Tru64 UNIX system on
which ASU is running recognizes the printer and that
the printer is working |
 |
Determine the printer share properties
|
 |
Create the printer share |
 |
Install alternate print drivers |
 |
Set the permissions for the printer share |
Step
1: Ensure that the printer is recognized and working
You must check:
- The
/etc/printcap file to ensure that the Tru64
UNIX operating system recognizes the printer. If an entry for
the printer does not exist in the /etc/printcap file,
use the lprsetup utility to set up the printer.
The lprsetup utility prompts you for information
about the printer, creates a spool directory, links the output
filter, and adds an entry in the /etc/printcap file
for the printer.
- That the printer for which you want to create a printer share
is working.
Step
2: Determine the printer share properties
You must determine properties for the printer share. You can use
the printer
share worksheet to collect information for the printer share.
You can click here to go to the next
step or scroll down to see a completed sample of a printer share worksheet.
Default values are used unless a value is provided in red.
Printer Share Worksheet
Provide a value for each component listed in Table 1. Click
here for more information on these components.
Table 1: Mandatory Components: Providing
Values
| Component |
Value |
Corresponding net user Option |
Share name
(Up to 20 alphanumeric characters. Cannot be the same name as the
Tru64 UNIX queue name.) |
win_printer |
No option - Enter the share name after the net
share command |
| Device name |
laserwriter |
No option - Enter the UNIX printer name after
the share name |
Optionally, provide a value for each component listed in Table
2. Click
here for more information on these components.
Table 2: Optional Components: Providing
Values
| Component |
Value |
Corresponding net share Option |
| Users |
|
/USERS:# |
| Unlimited |
|
/UNLIMITED |
| Remark |
|
/REMARK:"text" |
Step
3: Create the printer share
Minimally, you must provide a share name and a device name to
create a printer share. You create a printer share by using either:
Using the net
share command
Enter a net command in lowercase at the UNIX command
prompt on a system running the ASU software. Press the Enter key
at the end of the entire command.
To create a printer share using the information from the sample printer share
worksheet, enter:
# net share win_printer=laserwriter /print
To view information about the win_printer printer
share, enter:
# net share win_printer
Go to Step 4
Using the
Windows Printer Wizard
Follow these steps to create a printer share using the Windows
Printer Wizard:
- Log in to the system running Windows using an account with
administrative privileges.
- Browse the Network Neighborhood or use the Run or Find option
from the Start button to locate and double click on the ASU server
on which you want to create the printer share.
A window is displayed listing the disk shares and a Printers folder.
- Double click on the Printers folder.
- Click on the Add Printer icon and follow the instructions on
the screen.
Step
4: Install alternate print drivers
You may want to install alternate print drivers for a printer
share so that users of various Windows-based systems (Alpha-, PowerPC-,
MIPS-, or x86-based) can automatically download the driver that
they need when the user adds the printer locally. For example,
when a Windows 95 user adds to their system a printer that points
to an ASU printer share, the Windows 95 Printer Wizard connects
to the ASU server and searches for a x86-based driver for that
printer. If a driver is found, the Printer Wizard copies
the driver to the Windows 95 system. If a driver is not found,
then the Printer Wizard requires that user provide the print driver.
Follow these steps to install alternate print drivers for a printer
share:
- Install the printer locally on a Windows NT system.
- Display the Properties dialog box for the printer share.
- Click on the Sharing tab.
- Choose to share the printer and select the alternate drivers
that you want to
install.
- Click on the OK button
Step
5: Setting Permissions
Permissions for a printer share are No Access, Print, Manage Documents,
and Full Control. Although permissions are cumulative, the No Access
permission overrides all other permissions. By default, the Full
Control permission is assigned to each domain user account.
To change permissions on a printer share, you must be the owner
of the printer. You can change printer share permissions by using
either:
Using the net
perms command
Enter a net command in lowercase at the UNIX command
prompt on a system running the ASU software. Press the Enter key
at the end of the entire command.
To prohibit a user named peter from using a printer share share
called win_printer, enter:
# net perms \\win_printer /grant Peter:noaccess
To view permissions about the win_printer printer
share, enter:
# net perms \\win_printer
Using
the Windows Printer Properties GUI
Follow these steps to set printer share permissions:
- Select the print share (click on the start button -> Settings
-> Printers) then single click on the name of the printer
share in the Printers window.
- Choose Properties from the File menu.
A Properties dialog box for the printer is displayed.
- Click on the Security tab then click on the Permissions button.
A Printer Permissions dialog is box displayed.
- If the user or group name for which you want to set permissions
is not displayed, then click on the Add button to add them to
the list. Choose the type of access for the user or group and
click on the OK button.
|