Printer

From Cheatsheet
Jump to navigation Jump to search

Set-Up Instructions

Choose a printer

This section will list all of Liquidwebs available printers.

DC1 - 4210 Cryets

  • HP Photosmart 2600 (Desk 12) 64.91.239.48
    • Location: B1F1D12
    • Device: Appsocket/HP JetDirect
    • Device URI:
      socket://64.91.239.48:9100
    • Make: HP
    • Model: HP Photosmart 2600 Series hpijs, 3.9.8
    • PDD file:

DC2 - 4428 Cryets

  • Brother MFC-8480DN (Downstairs) 10.20.4.9
    • Location: Cube 23
    • Brother MFC-8480DN
    • Device: LPD/LPR Host or Printer
    • Device URI:
      lpd://10.20.4.9:515/whateverqueuenameyouwant
    • PDD file: Brother8480DN.ppd

(Side note when using Kubuntu I noticed that I had to use port 9100 not 515 to get this to work.)

DC3 - 2703 Ena Dr

  • Brother MFC-8480DN (1st floor Coffee bar) dc3-brother2.liquidweb.com 10.30.5.5
    • Location:
    • Brother MFC-8480DN
    • Device: LPD/LPR Host or Printer
    • Device URI:
      lpd://10.30.5.5:515/whateverqueuenameyouwant
    • PDD file: Brother8480DN.ppd
  • Brother MFC-8480DN (Near the Stairs by HR) dc3-brother1.liquidweb.com 10.30.5.4
    • Location:
    • Brother MFC-8480DN
    • Device: LPD/LPR Host or Printer
    • Device URI:
      lpd://10.30.5.4:515/whateverqueuenameyouwant
    • PDD file: Brother8480DN.ppd
  • Lexmark C544 Color (Near the Stairs by HR)(try not to use is dying) dc3-lexmark.liquidweb.com 10.30.5.6
    • Location:
    • Lexmark C544
    • Device: LPD/LPR Host or Printer
    • Device URI:
      lpd://10.30.5.6:515/whateverqueuenameyouwant
    • PDD file:
  • Lexmark X736de Color (Next to HR Door) dc3-fl1-hrlex.liquidweb.com 10.30.5.2 (DOGE printer)
    • Location:
    • Lexmark X736de
    • Device: LPD/LPR Host or Printer
    • Device URI:
      lpd://10.30.5.2:515/whateverqueuenameyouwant
    • PDD file: [PPD|OSX|Win]
  • Brother MFC-8710DW (Second floor near Enterprise) dc3-fl2-brother1.liquidweb.com 10.30.5.12
    • Location:
    • Brother MFC-8710DW
    • Device: LPD/LPR Host or Printer
    • Device URI:
      lpd://10.30.5.12:515/whateverqueuenameyouwant
    • PDD file: Brother-MFC-8710DW-cups-en.ppd

Modern Distros e.g. Ubuntu

You should be able to see the printer automatically detected and listed in the menu under Devices. The PPD, however, does not come with the distribution so you have to provide the PPD file for the printer you are going to setup. (Found above).

Installing with CUPS

  1. Navigate to: http://localhost:631
  2. Select the 'Administration' tab
  3. Select 'Add Printer'
  4. Name/Location/Description = (whatever you'd like)
  5. Device = (the Device from the appropriate wiki field below)
  6. Device URI = (the URI from the appropriate wiki field below)
  7. Make = (the Make from the appropriate wiki field below)
  8. Model = (the Model from the appropriate wiki field below)
  9. The printer will now be added. To adjust settings, such as making it the Default printer, select the 'Printers' tab.

Additional Config for Brother MFC 8710DW - (DC3 Enterprise printer)

While the ppd file will allow cups to see the printer, you will likely not be able to print due to some fancy filters that the PPD file is trying to include since it is a new printer. To fix this, download this file to your USERS Downloads folder(despite it saying i386 it works on 64 bit): mfc8710dwlpr-3.0.0-1.i386.tgz

  • Save the file mentioned above (mfc8710dwlpr-3.0.0-1.i386.tgz)
cd /home/~/Downloads
tar zxvf Mfc8710dwlpr-3.0.0-1.i386.tgz`
cd mfc8710dwlpr-3.0.0-1.i386
rsync -avHlP etc/ /etc/
rsync -avHlP opt/ /opt/
rsync -avHlP var/ /var/
ln -s /opt/brother/Printers/MFC8710DW/lpd/filter_MFC8710DW /usr/lib/cups/filter/brother_lpdwrapper_MFC8710DW
ln -s /opt/brother/Printers/MFC8710DW/lpd/filter_MFC8710DW /opt/brother/Printers/MFC8710DW/lpd/brother_lpdwrapper_MFC8710DW

You will also need the glibc 32bit architecture installed.

Centos:
 yum install glibc.i686

Ubuntu:(tested on ubuntu 14)
 sudo apt-get install libc6-dev-x32 libc6-x32

Debian:
 sudo apt-get install libc6-dev-i386 libc6-i386

Now you need to restart CUPS:

/etc/init.d/cups restart

After that you should be able to print a test page from within cups or the application of your choosing, ask Deakin or Mshooltz if you need assistance.

Other Linux Printer Drivers (PPD)

You can check these sites for alternate drivers if you need to.

Troubleshooting

First off, do you have the right ports open in your firewall for the responses you'll be getting from the printer? Honestly, stop your FW for a minute to test if you're having trouble, then sort out what tweaks you need to make to your FW config. Don't forget to fire it back up again regardless.

OS X

OS X 10.7 may have an issue where CUPS fails to function correctly. If you are unable to successfully set up any network printers run the following two commands:

sudo cupsctl --debug-logging
sudo cupsctl --no-debug-logging

Linux Mint

I had an issue with the Brother_MFC-8710DW's filters. I saw this in the CUPS error log ( Administration >> View Error Log ) :
AKA

sudo tail -f /var/log/cups/error_log
E [25/Apr/2013:17:51:53 -0400] Brother_MFC-8710DW: File "/usr/lib/cups/filter/brother_lpdwrapper_MFC8710DW" not available: No such file or directory
E [25/Apr/2013:17:51:53 -0400] [Job 7] Unable to start filter "brother_lpdwrapper_MFC8710DW" - Success.

It turns out the that filter from the gzip file above is placed in /opt rather than /usr/lib. There are a few ways to fix this that I found:

  1. Make a symlink to the filter:
cd /usr/lib/cups/filter
ln -s /opt/brother/Printers/MFC8710DW/lpd/filter_MFC8710DW brother_lpdwrapper_MFC8710DW
  1. Just copy the filter into the CUPS dir:
cp /opt/brother/Printers/MFC8710DW/lpd/filter_MFC8710DW /usr/lib/cups/filter/brother_lpdwrapper_MFC8710DW

Either way, you'll also need to give root ownership of the filter:

chown root. <either the filter in /opt for  #1 or the filter in /usr/lib for #2>

There's also a way to do this by editing the PPD file and copying the filter into /usr/lib from /opt, but it's needlessly complex in the face of solution 2.

Debian 7 64-bit

You'll need multi-arch support installed

sudo dpkg --add-architecture i386

You'll also need to change the package names from libc6-dev-x32 and libc6-x32 to libc6-dev-i386 libc6-i386

sudo apt-get install libc6-dev-i386 libc6-i386

I also needed to

sudo chown root. /opt/brother/Printers/MFC8710DW/lpd/filter_MFC8710DW

I then restarted cups

sudo /etc/init.d/cups restart

Then.. someone else's experience is below After trying all those things on I went here, accepted the license agreement, and ran

sudo dpkg -i /path/to/mfc8710dwcupswrapper-3.0.0-1.i386.deb

I restarted CUPS and modified the printer to use the now available driver.

Fedora 20 64-bit

I followed the Linux Mint guidelines to fix the issue with "brother_lpdwrapper_MFC8710DW" not being found but was now getting "Filter Failed" when trying to print.

I checked out the error log and saw:

[25/Mar/2014:23:43:26 -0400] [Job 5] /usr/lib/cups/filter/brother_lpdwrapper_MFC8710DW: /opt/brother/Printers/MFC8710DW/lpd/rawtobr3: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

To fix this

sudo yum install glibc.i686
/etc/init.d/cups restart

This fixed the "Filter Failed" error by installing the 32-bit library.