Fundstück: auf MacNN gibts ne Anleitung, wie man an Windowskisten hängende Drucker vom Mac aus nutzt!
Tutorial: Configuring CUPS in Jaguar
Monday, August 26, 2002 @ 4:25pm
Mac users are already taking advantage of the latest technologies implemented in Mac OS X 10.2 Prior to the initial "Jaguar" announcement, an acquisition "CUPS" printing technology by Apple caught the attention of publishing professionals. CUPS is an efficient and widely-adopted printer management/queue system for UNIX systems. As power users begin to experiment with the new technology, found in Mac OS X 10.2, questions are beginning to arise about its implementation. This brief tutorial explains its configuration.
Thanks to Dylan Neild for contributing to this report.
The CUPS functionality does not appear to be default. However, the following steps resulted in a successful attempt to print to a non-PostScript Windows-based printer via SMB (native Windows printer sharing). The test configuration involved an HP LaserJet 2100 printer attached to an x86 PC running Windows XP.
1. Open Terminal.app and become super-user (type "su"). You must to have the root user enabled to do this, and that is outside the scope of this tutorial.
2. Once you are SU, switch to the /usr/libexec/cups/backend directory:
# cd /usr/libexec/cups/backend [hit return]
# pwd [hit return]
3. It is now necessary to place a symbolic link to the SMB printer spooling module that ships with Jaguar. It is unclear why Apple did not pre-configure this.
# ln -s /usr/bin/smbspool /usr/libexec/cups/backend/smb [hit return]
4. Reboot the machine (or KILL and restart the cupsd process if you're familiar with that operation) to reload the configuration and let CUPS notice a new spooler location.
5. Open your Web browser and go to the following URL:http://127.0.0.1:631.
This is the CUPS administration interface. Click the Printers menu found across the top of the screen and then select the Add Printer option.
6. The Name is the printer spool name you want to use, and is what shows up in Print Center once you are done. You cannot use spaces.
The location and description fields are unnecessary -- they are for you to remember where the printer is and what it does, in the event you have dozens of remote printers to choose from.
7. The next screen will ask for the Device you want to use to print with.
You should see the following, at the bottom of the list:
"Windows Printer via SAMBA."
This option is detected by CUPS, courtesy of that symbolic link made in the /usr/libexec/cups/backend folder.
Select this option and click Continue.
8. Next, you need to enter the Device URI of the printer. Formed as such:
Options in [ ] are optional. Options in < > are mandatory.
For example, to print to the test printer in this tutorial:
* REALCAFE is the workgroup.
* MacNN is the username.
* Readme is the password.
* LAURA is the name of the computer the printer is attached to. (You can use an IP address instead, but being able to use LAURA make it especially nice, as the test machines uses DHCP and LAURA's IP address changes daily.)
* HP is the name of printer share.
Once you have this information filled in, click Continue.
9. On the next screen, select the make of the printer you are printing too.
Only a few types are listed, but a search for CUPS and CUPSOMATIC on the Web, might return the information needed to run whatever printer you happen to have.
Then, click Continue.
10. Select the model of printer you have.
Then, click Continue.
11. You'll get a message saying that the printer has been correctly added.
12. If you open up Print Center now, you'll see your printer has been added. Try printing from an application.
als Antwort auf: [#14006]