mac printing

23
Copyright GoPrint Systems 2006, All Rights Reserved 1 Macintosh Clients and Windows Print Queues OS X Leopard (10.5), Tiger (10.4), and Panther (10.3) Revised 5/1/2009 Overview: When using the GoPrint GS-4 solution with Macintosh clients it is important to understand how the Macintosh networking set-up effects how print jobs can be indentified at a GS-4 print release station. GS-4 provides the ability to identify print jobs by usernames or machine names. They appear as individual clickable buttons at the print release station. Which one you use depends on your Macintosh login configuration and machine name resolution (DNS, hostname resolution) between the Macintosh clients and the GS-4 application server. Important: Proper hostname resolution MUST be resolvable with Macintosh machines within a campus DNS server to successfully resolve Macintosh machine names at a GS-4 print release station. For additional information, refer to the troubleshooting section at the end of this document. Peer to Peer Environment: In a mixed network environment with Microsoft Windows, it has been common practice throughout the years to configure Macintosh clients in their own peer to peer environment separate from any Windows peer to peer workgroup or domain configuration. In a Peer to Peer environment all Macintosh machines are configured to login with a local generic user account. In a campus environment, this account is typically set to auto-login and is usually the same name and password for each machine. Some GoPrint clients do opt to create an individual username and password for each machine. Either login type works, with the second option providing a bit more flexibly. Advantage: Simple and quick set-up Drawback: When a single sign-on is used, all print jobs appear at a GS-4 print station as the same user account, the local generic user account. This is not the preferred method, and the alternative method is to use the machine name to successfully identify a user’s print job at a GoPrint print release station. Using this scenario, users must recall the name of the machine they are printing from.

Upload: goprint

Post on 18-Nov-2014

480 views

Category:

Documents


1 download

DESCRIPTION

Teaches you how to connect a Windows network print queue from a MAC OS X client using LPR, SMB, or Windows Printing

TRANSCRIPT

Macintosh Clients and Windows Print QueuesOS X Leopard (10.5), Tiger (10.4), and Panther (10.3)Revised 5/1/2009

Overview:When using the GoPrint GS-4 solution with Macintosh clients it is important to understand how the Macintosh networking set-up effects how print jobs can be indentified at a GS-4 print release station. GS-4 provides the ability to identify print jobs by usernames or machine names. They appear as individual clickable buttons at the print release station. Which one you use depends on your Macintosh login configuration and machine name resolution (DNS, hostname resolution) between the Macintosh clients and the GS-4 application server. Important: Proper hostname resolution MUST be resolvable with Macintosh machines within a campus DNS server to successfully resolve Macintosh machine names at a GS-4 print release station. For additional information, refer to the troubleshooting section at the end of this document.

Peer to Peer Environment:

In a mixed network environment with Microsoft Windows, it has been common practice throughout the years to configure Macintosh clients in their own peer to peer environment separate from any Windows peer to peer workgroup or domain configuration. In a Peer to Peer environment all Macintosh machines are configured to login with a local generic user account. In a campus environment, this account is typically set to auto-login and is usually the same name and password for each machine. Some GoPrint clients do opt to create an individual username and password for each machine. Either login type works, with the second option providing a bit more flexibly. Advantage: Simple and quick set-up Drawback: When a single sign-on is used, all print jobs appear at a GS-4 print station as the same user account, the local generic user account. This is not the preferred method, and the alternative method is to use the machine name to successfully identify a users print job at a GoPrint print release station. Using this scenario, users must recall the name of the machine they are printing from.

Copyright GoPrint Systems 2006, All Rights Reserved

1

Peer to Peer continued: To help users identify their print jobs, it is a common practice to place a label on the monitor displaying the machine name and educating users on the proper printing process. If proper hostname resolution is not resolvable, then the incorrect hostname may not appear or not appear at all, typically with the machines IP address being displayed.

Active Directory Integration:

Over the past few years, Macintosh has improved integration levels with Windows networks via Active Directory, therefore allowing Macintosh users to login using their Active Directory domain account. Advantage: When Active Directory logins are used, it is possible to capture the individual logged in Windows user name at a GS-4 print release station Drawback: If communication issues exist between the Active Directory domain and the Macintosh clients then users will not be able to login.

Pre-Configuration RequirementsEnsure the Macintosh machines have a valid Host A and PTR records in your campus DNS server and its the same DNS server that will be used by the GoPrint server. If LPR printing ports are used, port 515 MUST be open on any firewall between the Macintosh clients and the GoPrint server. Also check the local Windows Firewall on the Windows Server to make sure its not blocking port 515. Windows TCP/IP Services for Unix must be installed and the service running on the server. If smb or Windows printing option will be used, Windows File and Print Sharing must be enabled on any firewall. Port 139 or 445 Macintosh client machine names must be shorter than 15 characters in order to successfully fit into the allowable button name space displayed at a print release station.

Copyright GoPrint Systems 2006, All Rights Reserved

2

Mapping MAC OS X Leopard (10.5) ClientsThere are a number of options available when deciding to add Macintosh clients to Windows print queues, such as, LPR ports (IP Printing), smb (Samba, Windows Printing). Each will be covered here as available options. MAC OS X Leopard - LPR Printing For ease of compatibility between the two operating systems, the preferred method GoPrint recommends is to use the standard LPD/LPR printer port. To connect to a Windows print queue using LPR and the client LPD daemon you must first enable the LPD print monitor (LPDSVC) on the Windows Server Advantage: LPR printing bypasses the Windows SMB sharing credentials. If campus security restrictions block Windows Print and File Sharing (port 139) then LPR ports are an alternative method. Disadvantage: LPR provides very little error detection IMPORTANT: Print Services for Unix must be installed and running on the Windows print server prior to creating the Macintosh LPR print queue. To install, navigate to: Control Panel > Add/Remove Programs > Add/Remove Windows ComponentsSelect Other Network File and Print Services Click Details Check Print Services for Unix (the Windows Server CD is required)

Once installed, a system reboot is not necessary, and the TCP/IP Print Services should now appear under Microsoft Services. The service should automatically appear as running.

Copyright GoPrint Systems 2006, All Rights Reserved

3

Reminder: LPR Port 515 MUST be open on any campus firewall between the client and GoPrint server or you will NOT be able to connect when attempting to print

Step One Select System Preferences from the Apple menu at the top left hand corner of the screen.

Step Two Click to select the Print & Fax icon from the System Preferences window.

Step Three Click the Plus sign to add a printer

Copyright GoPrint Systems 2006, All Rights Reserved

4

Step Four Click IP from the print menu Protocol: Line Printer Daemon LPD Address: IP address or hostname of GoPrint print server Queue: IP address or sharename of the Windows print queueImportant: To use the server and printer sharename a Host A record must be created and resolvable in DNS!

Name: suggest using the print share name. This name will appear under the MAC client list of printers

Print Using: Recommend using the generic driver. Print job will be sent to the Print driver installed on the GoPrint print server and print job will be rendered using the servers print driver. Note: If a print driver is selected from the list of available drivers on the Macintosh client, it must match the same driver version installed on the GoPrint server or print rendering issues will occur. Click Add

Copyright GoPrint Systems 2006, All Rights Reserved

5

Troubleshooting LPR When attempting to send a print job to a Windows LPR queue, the following message is displayed: Attempting to connect to host message is displayed in the Macintosh client print queue.

Possible causes: Print Services for Unix is either not installed or the service is not running. Port 515 blocked on network between the Mac client and the Windows Print queue Open the Mac Network Utility and run a Port Scan for port 515 The following screenshot displays a successful scan for port 515. Note: the IP address is the IP address of the GoPrint server.

MAC OS X LeopardCopyright GoPrint Systems 2006, All Rights Reserved 6

- WINDOWS Printing option Advantage: Allows you to browse Windows Network Neighbor for available print servers and its shared printers. Perquisites: Windows Print and File Sharing Must be enabled on Firewalls port TCP 139 or TCP 445 if NetBIOS over TCP is disabled The local user name logged into the Mac must also exist as a local user on the GoPrint server with the same password. Windows UDP 138 must be open to allow the smb browser list to view objects in Network Neighborhood.

Step one Click the Plus Sign to add a printer

Copyright GoPrint Systems 2006, All Rights Reserved

7

Step two Select the Windows icon In the left pane Select the name of the Windows domain or workgroup you wish to browse for print servers.

Step Three Enter a username and password from the Windows server which has access to the Print share. Check Remember this password in my keychain Middle pane Click the name of the desired print server

Copyright GoPrint Systems 2006, All Rights Reserved

8

Step four Select the shared printer from the printer listing found under the right pane

Location (optional) Helps to identify the physical location of the device

Print Using Select the Generic PostScript Printer drive

Troubleshooting smb Printing Run the Mac Network utility to ensure Windows Print and File Sharing ports 135, 139, or 445 are open

Copyright GoPrint Systems 2006, All Rights Reserved

9

ADVANCED PRINTING OPTIONS Compare to previous versions, Mac OS X Leopard has hidden the Advanced printing options. When enabled, it provides additional printing options such as IPP printing, LPR, and Samba. To enable the Advanced options, you have to click on your printer toolbar while pressing the Option key plus the letter C key The following toolbar configuration drop down menu appears:

Select Customize Toolbar

Drag your favorite items into the toolbar Look for the Advanced icon and press down and drag it to your printing toolbar.

Copyright GoPrint Systems 2006, All Rights Reserved

10

The Advance icon now appears among the list of options

Mac OS X Leopard manually adding a smb share print queue

Step one Select the Advanced icon to view the list of available options Select Windows

Copyright GoPrint Systems 2006, All Rights Reserved

11

Step two In the url field enter the name of the Windows print server followed by a colon and port 139 and the a forward slash and the name of the print share.

Note: it appears new to leopard you must also include the port number in the smb url As compared to previous releases.

Click add At this point, you should be prompt for a Windows username and password with permissions to the print share. Option two: To bypass the username and password prompt you can manually enter the username and password directly into the smb url. The disadvantage is the password can be viewed by logged in users Example: smb://username:password@servername:139/printshare

Copyright GoPrint Systems 2006, All Rights Reserved

12

MAC OS X Tiger and Panther - LPR PrintingFor ease of compatibility between the two operating systems, the preferred method GoPrint recommends is to use the standard LPD/LPR printer port. To connect to a Windows print queue using LPR and the client LPD daemon you must first enable the LPD print monitor (LPDSVC) on the Windows server Advantage: LPR printing bypasses the Windows SMB sharing credentials. If campus security restrictions block Windows Print and File Sharing (port 139) then LPR ports are an alternative method. Disadvantage: LPR provides very little error detection IMPORTANT: Print Services for Unix must be installed and running on the Windows print server prior to creating the Macintosh LPR print queue. To install, navigate to: Control Panel > Add/Remove Programs > Add/Remove Windows ComponentsSelect Other Network File and Print Services Click Details Check Print Services for Unix (the Windows Server CD is required)

Once installed, a system reboot is not necessary, and the TCP/IP Print Services should now appear under Microsoft Services. The service should automatically appear as running.

Reminder: LPR Port 515 MUST be open on any campus firewall between the client and GoPrint server or you will NOT be able to connect when attempting to print.

Copyright GoPrint Systems 2006, All Rights Reserved

13

Step 1 Choose the Printer Setup Utility or select from System Preferences.

Step 2 Click the Add Printer Icon

Step 3 Click IP from the print menu Protocol: Line Printer Daemon LPD Address: IP address or hostname of GoPrint print server Queue: IP address or sharename of the Windows print queueImportant: To use the server and printer sharename a Host A record must be created and resolvable in DNS!

Name: suggest using the print share name. This name will appear under the MAC client list of printers Print Using: Recommend using the generic driver. Print job will be sent to the Print driver installed on the GoPrint print server and print job will be rendered using the servers print driver. Note: If a print driver is selected from the list of available drivers on the Macintosh client, it must match the same driver version installed on the GoPrint server or print rendering issues will occur. Click Add

Copyright GoPrint Systems 2006, All Rights Reserved

14

MAC OS X Tiger and Panther smb, Samba, Windows PrintingStep 1 - Enable Windows Printing MAC OS X 10.4 Click the More Printers button Hint: holding the Option key while clicking the More Printers button displays the Advanced printing options. Provides additional settings such as LPR and Windows Printer via Samba

MAC OS X 10.3 Click Set Up Printers button Hint: holding the Option key down while choosing Add Printer from the Printers menu displays Advanced printing options

Copyright GoPrint Systems 2006, All Rights Reserved

15

Step 2 - Select Windows Printing Step 3 - Select the workgroup, domain, or scan Network Neighborhood for a selected print server. When finished click Choose or ADD button depending on your version

Step 4 Select the Windows printer then click Choose or Add

Note: if the list of available printers do not appear, see the troubleshooting section at the end of this document

Copyright GoPrint Systems 2006, All Rights Reserved

16

When connecting to Windows printers via Samba and the SMB/CIFS protocols, Windows requires a valid Windows user account to exist with access to the resource. To bypass the security credentials prompt, first create the Macintosh generic user account locally on the GoPrint print server using the exact user name and password used to logon to the Macintosh machines Step 5 - Enter a Windows username and password of an account which has permissions to the share

Required if the Macintosh generic user account has not been created on the GoPrint print server!

Step 6 - Select the Printer Model and appropriate PS print drivers then click Add Click Add

Copyright GoPrint Systems 2006, All Rights Reserved

17

MAC OS X Tiger and Panther - LPR Printing (Advanced option)Step 1Select LPD/LPR Host or Printer from the Device Drop down menu

Step 2 - Configure the LPR Queue Device Name Enter printer share name Device URL Enter the name of the GoPrint print server followed by the Windows Print share name Printer Model Select Generic Click Add

TroubleshootingIssue: Macintosh clients displayed their IP address at the GoPrint print release station instead of its physical machine name. The issue is a result of improper name resolution on the client network. The cause could be the result of an improperly configured DNS server or most commonly, in this case, a Host A record and its corresponding PTR record have not been configured for each individual Macintosh client. Please contact a system administrator to ensure the proper records are created. Work-around: In mixed environments where it may not be possible to resolve Macintosh clients in DNS, OS X provides an alternative solution by enabling Windows File Sharing. Selecting this option will successfully resolve Macintosh machine names at the GoPrint payment stations,

Copyright GoPrint Systems 2006, All Rights Reserved

18

To enable Windows File Sharing:

Open System Preferences Scroll down to the Internet and Network section Click on the Sharing icon

Select the Services Tab

Check the Windows File Sharing checkbox Close the Sharing dialog box to save your changes

Copyright GoPrint Systems 2006, All Rights Reserved

19

Macintosh computer name is too long and will not display at print release station button To resolve, you must change the computer name to a shorter name thats less than 15 characters. To change navigate to: System Preferences > Sharing next to Computer name, click Edit.

Change the local hostname leaving the .local extensionExample: mac2.local

Copyright GoPrint Systems 2006, All Rights Reserved

20

DNS name resolutionIf DNS name resolution is not possible via the clients network, you may manually enter the IP address and host name of each Macintosh client into the Hosts file of the Windows server. Found under: Windows\system32\drivers\etc\ Optionally, GoPrint provides a DNS feature which allows you to manually enter the IP address and Host name of each Macintosh computer. The setting provides an internal hardcoded database solution (not designed as a network solution) to help identify clients who are unable to resolve through standard naming resolution methods. The DNS feature is accessed through the GoPrint web-based Control Center by navigating to: ADMIN >>> System Policy and clicking on the DNS button

Click Add

Enter the IP address and host name for each Macintosh client Click Save

Copyright GoPrint Systems 2006, All Rights Reserved

21

Mac OS X: Cannot locate a shared Windows printer In Mac OS X 10.3 and later, Printer Setup Utility allows you to add a printer that's being shared by a Microsoft Windows PC. However, Printer Setup Utility may not see some shared Windows printers. Here are some reasons why and what you can do about it. The printer name contains more than 12 characters May not pertain to Mac OS X Leopard. With older releases, the printer share names that contain 12 characters or less will be displayed in Printer Setup Utility when browsing for a Windows printer. If you need to use a printer with a longer share name, either shorten the share name on the computer that's sharing the printer, or add the printer manually using the steps at the end of this article. Incorrect Windows username or password when adding a Windows printer Printer Setup Utility will prompt you for a username and password when adding a shared Windows printer. These fields can be left blank if the computer sharing the printer is set up to allow guest users to see and print to the shared printer. If the computer that's sharing the printer is set up so that only specific users can see the printer, the printer list will be blank if the wrong user (or no user) is entered. Contact the administrator of the computer sharing the printer to determine what username and password to use. Please note that the steps in "How to manually add a Windows shared printer," below, will not work if you are not using a correct username and password. The computer sharing the printer is on a different subnet Printers shared by Windows PCs that are on a different subnet than your Mac will not be listed. You can manually add printers shared by a Windows computer on another subnet using the steps below. Be sure to use the computer's IP addressnot the computer's workgroup and name when adding the printer manually. The shared printer's comment contains special characters If one of the shared Windows printers has a Return character (which isn't displayed) at the end of its comment (description), any printers that should appear after it will not be displayed. To resolve this, go to the computer that's sharing the printer and remove any Return characters (or other special characters) from the printer's comment. Please note that the steps provided in "How to manually add a Windows shared printer," below, will not work until you remove these characters.

Copyright GoPrint Systems 2006, All Rights Reserved

22

Tip: Printer Setup Utility lists available printers alphabetically, but Windows may not list the printer order in the same way. This means that the printer with the special character in its comment may not be the last printer listed in Windows, as it's listed in Printer Setup Utility. If you can't connect to a Windows GoPrint print server and its print queues from your Macintosh client, here are some things to try: Make sure you have typed the GoPrint server name and print queue shared name correctly. If guest access isn't allowed, make sure you have typed the user name and password exactly as they are entered on the Windows computer. A shared user account must exist locally on the Macs and GoPrint server. The password for the user account you are using may need to be reentered on the Windows computer, or the computer may need to be restarted. Try to ping the GoPrint server by DNS and IP address name Try to ping the printer(s) by IP address or connect through a browser

If you can ping the GoPrint server and printers, then the TCP/IP connection between the computers is working.

Copyright GoPrint Systems 2006, All Rights Reserved

23