Talk:Slackware-LetterPrinting

From Grokdoc

Jump to: navigation, search

Slackware and CUPS smb printing

I'm not really sure this belongs here... but it may be helpful. I did my install on a Slackware-Current (pre 10.0 RC release) client, with a Windows XP Home host.

Requirements

The only requirements are that the CUPS and Samba packages are installed. Samba does not need to be running or configured.

Instructions

Here are the basic steps to get a Slackware install printing to a Windows machine using CUPS. Now this is no-where near as complete as the tutorials on linuxprinting.org or the documentation on cups.org, but a quick step by step

1. Goto the Linuxprinting.org printer database and find your printer, or a close series match, in their database. Download the PPD file for your printer. NOTE: If you have an HP printer, there's a good chance the PPD is already installed. Many others are installed by default as well. You may wish to skip to step 3, and go from there once before seeing if you need to download a PPD file.

2. Copy the PPD to:

 /usr/share/cups/model/<printer_name>.ppd and
 /etc/cups/ppd/<printer_name>.ppd

Example - For my Lexmark Inkjet P707 I have (custom driver):

 /usr/share/cups/mode/Lexmark-Z700-lxz700cje-cups.ppd.gz
 /etc/cups/ppd/LexmarkP707.ppd

3. Edit: /etc/cups/client.conf

 Find 'ServerName' and put the IP address or FQDN of the print server.

4. Now, double check that cupsd is running: /etc/rc.d/rc.cups status
If it isn't, start it (as root): /etc/rc.d/rc.cups start
You may need to make it executable: chmod 755 /etc/rc.d/rc.cups

5. Open a web browser to: http://localhost:631/
Here you will want to goto Administration -> Add Printer (When asked for a Username/Password use: root / <your root passwd> ).

6. Now, here's real installation part:

  • Name - Use the name of the Printer as it is shared on the Windows machine
  • Location - Free form string... "In the basement, next to the Washer"
  • Description - Free form string... "HP LaserJet 4"
  • Device - Choose "Windows Printer via SAMBA"
  • DeviceURI - This is the fun one.

If you have Anonymous (guest) access to the host machine, all you will need is: smb://WINHOST/printer_name
Where:
WINHOST = the name of the Windows machine
printer_name = the SHARE name of the printer (the Name field above)

If you do not have guest access to the host, you'll have to enter a valid user/password that has access to the printer:

 smb://user:password@WINHOST/printer_name 
  • Make - Choose the Make of your Printer from the list
  • Model = Choose the Model of your Printer from the list

7. That's it, you should be ready to go... Goto the Printer on the CUPS admin page, and try a Test Page. If it doesn't come out correctly, look at the Configure Printer section, and see if you need to tweak any settings. A big thing to check, is if you have an InkJet make sure the Inkset is correct.

Personal tools

Click here to send an email to the editor of this weblog.

Amazon Honor  System Click  Here to Pay Learn
More



Hosting:
Ibiblio