Printer: Difference between revisions

From Cheatsheet
Jump to navigation Jump to search
No edit summary
 
(16 intermediate revisions by 3 users not shown)
Line 1: Line 1:
= Set-Up Instructions =
= Set-Up Instructions =
== 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 below).
== CUPS ==
# Navigate to: http://localhost:631
# Select the 'Administration' tab
# Select 'Add Printer'
# Name/Location/Description = (whatever you'd like)
# Device =  (the Device from the appropriate wiki field below)
# Device URI = (the URI from the appropriate wiki field below)
# Make = (the Make from the appropriate wiki field below)
# Model = (the Model from the appropriate wiki field below)
# The printer will now be added. To adjust settings, such as making it the Default printer, select the 'Printers' tab.
== Choose a printer ==
== Choose a printer ==
This section will list all of Liquidwebs available printers.
This section will list all of Liquidwebs available printers.


=== DC1 - 4210 Cryets ===
=== DC1 - 4210 Cryets ===
*'''HP Photosmart 2600''' (Desk 12) '''64.91.239.48'''
*'''Canon imageClass MF4370dn''' (Desk 12) '''10.30.7.40'''
** Location: [https://wiki.int.liquidweb.com/articles/DC1_Cube_Map B1F1D12]
** Location: [https://wiki.int.liquidweb.com/articles/DC1_Cube_Map B1F1D12]
** Device: Appsocket/HP JetDirect
** Device: Appsocket/
** Device URI: <div style="display:inline-block;"><div>socket://64.91.239.48:9100</div></div>
** Device URI: <div style="display:inline-block;"><div>socket://10.30.7.40:9100</div></div>
** Make: HP
** Make: Cannon
** Model: HP Photosmart 2600 Series hpijs, 3.9.8
** Model: Canon imageClass MF4370dn
** PDD file:  
** PDD file:


=== DC2 - 4428 Cryets ===
=== DC2 - 4428 Cryets ===
Line 47: Line 32:


=== DC3 - 2703 Ena Dr ===
=== DC3 - 2703 Ena Dr ===
*'''Brother 8480DN''' (Coffee) ''dc3-brother2.liquidweb.com'' '''10.30.5.5'''
*'''Brother MFC-8480DN''' (1st floor Coffee bar) ''dc3-brother2.liquidweb.com'' '''10.30.5.5'''
** Location:  
** Location:  
** Brother MFC-8480DN
** Brother MFC-8480DN
Line 54: Line 39:
** PDD file: [https://wiki.int.liquidweb.com/images/1/13/Brother8480DN.ppd Brother8480DN.ppd]
** PDD file: [https://wiki.int.liquidweb.com/images/1/13/Brother8480DN.ppd Brother8480DN.ppd]


*'''Brother 8480DN''' (Stairs) ''dc3-brother1.liquidweb.com'' '''10.30.5.4'''
*'''Brother MFC-8480DN''' (Near the Stairs by HR) ''dc3-brother1.liquidweb.com'' '''10.30.5.4'''
** Location:  
** Location:  
** Brother MFC-8480DN
** Brother MFC-8480DN
Line 60: Line 45:
** Device URI: <div style="display:inline-block;"><div>lpd://10.30.5.4:515/whateverqueuenameyouwant</div></div>
** Device URI: <div style="display:inline-block;"><div>lpd://10.30.5.4:515/whateverqueuenameyouwant</div></div>
** PDD file: [https://wiki.int.liquidweb.com/images/1/13/Brother8480DN.ppd Brother8480DN.ppd]
** PDD file: [https://wiki.int.liquidweb.com/images/1/13/Brother8480DN.ppd Brother8480DN.ppd]
*'''Lexmark C544 Color''' (Stairs)(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: <div style="display:inline-block;"><div>lpd://10.30.5.6:515/whateverqueuenameyouwant</div></div>
** PDD file: [https://wiki.int.liquidweb.com/images/1/13/Brother8480DN.ppd Brother 8480DN]


*'''Lexmark X736de Color''' (Next to HR Door) ''dc3-fl1-hrlex.liquidweb.com'' '''10.30.5.2''' (DOGE printer)
*'''Lexmark X736de Color''' (Next to HR Door) ''dc3-fl1-hrlex.liquidweb.com'' '''10.30.5.2''' (DOGE printer)
Line 82: Line 60:
** PDD file: [https://wiki.int.liquidweb.com/images/7/7a/Brother-MFC-8710DW-cups-en.ppd Brother-MFC-8710DW-cups-en.ppd]
** PDD file: [https://wiki.int.liquidweb.com/images/7/7a/Brother-MFC-8710DW-cups-en.ppd Brother-MFC-8710DW-cups-en.ppd]


==== Additional Config for Brother MFC 8710DW - (Enterprise printer)====
== 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 ==
# Navigate to: http://localhost:631
# Select the 'Administration' tab
# Select 'Add Printer'
# Name/Location/Description = (whatever you'd like)
# Device =  (the Device from the appropriate wiki field below)
# Device URI = (the URI from the appropriate wiki field below)
# Make = (the Make from the appropriate wiki field below)
# Model = (the Model from the appropriate wiki field below)
# 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): [https://wiki.int.liquidweb.com/images/2/22/Mfc8710dwlpr-3.0.0-1.i386.tgz mfc8710dwlpr-3.0.0-1.i386.tgz]
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): [https://wiki.int.liquidweb.com/images/2/22/Mfc8710dwlpr-3.0.0-1.i386.tgz mfc8710dwlpr-3.0.0-1.i386.tgz]


Line 93: Line 86:
  rsync -avHlP opt/ /opt/
  rsync -avHlP opt/ /opt/
  rsync -avHlP var/ /var/
  rsync -avHlP var/ /var/
chown -R root.root /etc/opt/brother/Printers/MFC8710DW
chown -R root.root /opt/brother
chown -R root.root /var/spool/lpd/MFC8710DW/
  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 /usr/lib/cups/filter/brother_lpdwrapper_MFC8710DW
  ln -s /opt/brother/Printers/MFC8710DW/lpd/filter_MFC8710DW /opt/brother/Printers/MFC8710DW/lpd/brother_lpdwrapper_MFC8710DW
  ln -s /opt/brother/Printers/MFC8710DW/lpd/filter_MFC8710DW /opt/brother/Printers/MFC8710DW/lpd/brother_lpdwrapper_MFC8710DW
Line 100: Line 96:
   yum install glibc.i686
   yum install glibc.i686
   
   
  Ubuntu:
  Ubuntu:(tested on ubuntu 14)
   sudo apt-get install libc6-dev-x32 libc6-x32
   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:
Now you need to restart CUPS:
Line 107: Line 106:
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.
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.


=== Linux Drivers (PPD) ===
== Other Linux Printer Drivers (PPD) ==
 
You can check these sites for alternate drivers if you need to.
Just save these and 'Browse for File' in CUPS when selecting the driver


* Brother's [http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/evaluation.html Evaluated Distributions]
* Brother's [http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/evaluation.html Evaluated Distributions]


= Troubleshooting =
= Troubleshooting =
Line 123: Line 117:


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:
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
<pre>sudo cupsctl --debug-logging</pre>
sudo cupsctl --no-debug-logging
 
<pre>sudo cupsctl --no-debug-logging</pre>


=== Linux Mint ===
=== 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 ) :<br>
I had an issue with the Brother_MFC-8710DW's filters.  I saw this in the CUPS error log ( Administration >> View Error Log ) :<br>
AKA <pre>sudo tail -f /var/log/cups/error_log</pre>
AKA
 
sudo tail -f /var/log/cups/error_log
<pre>
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] 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.
E [25/Apr/2013:17:51:53 -0400] [Job 7] Unable to start filter "brother_lpdwrapper_MFC8710DW" - Success.
</pre>


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:
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:


# Make a symlink to the filter:
# Make a symlink to the filter:
<pre>
 
cd /usr/lib/cups/filter
cd /usr/lib/cups/filter
ln -s /opt/brother/Printers/MFC8710DW/lpd/filter_MFC8710DW brother_lpdwrapper_MFC8710DW
ln -s /opt/brother/Printers/MFC8710DW/lpd/filter_MFC8710DW brother_lpdwrapper_MFC8710DW
</pre>


# Just copy the filter into the CUPS dir:
# Just copy the filter into the CUPS dir:


<pre>
cp /opt/brother/Printers/MFC8710DW/lpd/filter_MFC8710DW /usr/lib/cups/filter/brother_lpdwrapper_MFC8710DW
cp /opt/brother/Printers/MFC8710DW/lpd/filter_MFC8710DW /usr/lib/cups/filter/brother_lpdwrapper_MFC8710DW
</pre>


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


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


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.
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===
=== Debian 7 64-bit===
You'll need multi-arch support installed<pre>sudo dpkg --add-architecture i386</pre>
You'll also need to change the package names from libc6-dev-x32 and libc6-x32 to libc6-dev-i386 libc6-i386<pre>sudo apt-get install libc6-dev-i386 libc6-i386</pre>
I also needed to<pre>sudo chown root. /opt/brother/Printers/MFC8710DW/lpd/filter_MFC8710DW</pre>
I then restarted cups<pre>sudo /etc/init.d/cups restart</pre>
Then.. someone else's experience is below
After trying all those things on  I went [http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/download_prn.html#MFC-8710DW here], accepted the license agreement, and ran
After trying all those things on  I went [http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/download_prn.html#MFC-8710DW here], accepted the license agreement, and ran
sudo dpkg -i /path/to/mfc8710dwcupswrapper-3.0.0-1.i386.deb
<pre>sudo dpkg -i /path/to/mfc8710dwcupswrapper-3.0.0-1.i386.deb</pre>
(yupper, You'll need multi-arch support installed) I restarted CUPS and modified the printer to use the now available driver.
I restarted CUPS and modified the printer to use the now available driver.


=== Fedora 20 64-bit ===
=== Fedora 20 64-bit ===

Latest revision as of 01:15, 22 May 2015

Set-Up Instructions

Choose a printer

This section will list all of Liquidwebs available printers.

DC1 - 4210 Cryets

  • Canon imageClass MF4370dn (Desk 12) 10.30.7.40
    • Location: B1F1D12
    • Device: Appsocket/
    • Device URI:
      socket://10.30.7.40:9100
    • Make: Cannon
    • Model: Canon imageClass MF4370dn
    • 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 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/
chown -R root.root /etc/opt/brother/Printers/MFC8710DW
chown -R root.root /opt/brother
chown -R root.root /var/spool/lpd/MFC8710DW/
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.