LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-25-2017, 12:56 AM   #1
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Rep: Reputation: 255Reputation: 255Reputation: 255
How to install the HL-L2340D laser printer?


Hello,

What is the best method to install the HL-L2340D Wlan laser printer?

My printer is working at 10.0.0.100 and it has a Wlan working well.

I would like to avoid using the default debs of HL if possible, and let the magic occur simply by default installation.

Packages: cups-bsd, xpdf, cups client
http://www.openprinting.org/printer/HP/HP-LaserJet_2300
Wireless IEEE 802.11b/g/n (Active)


I would like to print using the traditional BSD lpr (cups-bsd) without necessary installing the large stuffs of Cups.


Code:
 	Service Name	Port Name
Service 1	BRNC0sadfadsfdas	P1
Service 2	BINARY_P1	P1
Service 3	TEXT_P1	P1
Service 4	POSTSCRIPT_P1	P1
Service 5	PCL_P1	P1
Service 6	BRNC0xsddfdsafT	P1

Code:
Protocol
Web Based Management (Web Server)	 	HTTP Server Settings
SNMP	Advanced Setting	 
LPD	Advanced Setting	 
Raw Port	 	
IPP	 	HTTP Server Settings
AirPrint	Advanced Setting	HTTP Server Settings
Web Services	Advanced Setting	HTTP Server Settings
Google Cloud Print	Advanced Setting	 
Proxy	Advanced Setting	 
SMTP	Advanced Setting	 
FTP	 	 
TFTP	 	 
mDNS	Advanced Setting	 
LLMNR

thank you

Last edited by Xeratul; 06-25-2017 at 01:09 AM.
 
Old 06-25-2017, 02:39 AM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,804

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Well, I would normally recommend using the vendor drivers, but since you've indicated you'd like to keep the installation of additional packages to a minimum, I checked the following OpenPrinting page...
http://www.openprinting.org/printer/...her-HL-L2340DW
which suggested that it "Works with CUPS drivers for the Brother HL-2170W (including double-sided printing)". I have no idea whether this will actually work, but you could try using the ppd file for that model. For reference, I have the choice of four similar foomatic drivers available...
Code:
/usr/share/cups/model/OpenPrintingPPDs/ghostscript/Brother-HL-2170W.hl1250.ppd.gz
/usr/share/cups/model/OpenPrintingPPDs/ghostscript/Brother-HL-2170W.lj4dith.ppd.gz
/usr/share/cups/model/OpenPrintingPPDs/ghostscript/Brother-HL-2170W.ljet4.ppd.gz
/usr/share/cups/model/OpenPrintingPPDs/ghostscript/Brother-HL-2170W.ljet4d.ppd.gz
Code:
# lpinfo -m|grep HL-2170
OpenPrintingPPDs/ghostscript/Brother-HL-2170W.hl1250.ppd.gz Brother HL-2170W Foomatic/hl1250
OpenPrintingPPDs/ghostscript/Brother-HL-2170W.lj4dith.ppd.gz Brother HL-2170W Foomatic/lj4dith
OpenPrintingPPDs/ghostscript/Brother-HL-2170W.ljet4.ppd.gz Brother HL-2170W Foomatic/ljet4
OpenPrintingPPDs/ghostscript/Brother-HL-2170W.ljet4d.ppd.gz Brother HL-2170W Foomatic/ljet4d

Last edited by ferrari; 06-25-2017 at 02:44 AM.
 
Old 06-25-2017, 02:43 AM   #3
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,804

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
If you can't find a compatible open driver for the above, then another 'minimal' step might be to use the lpr driver from Brother available for that model, but this will obviously mean installing a .deb package. Sometimes one has to be pragmatic about these things.
 
Old 06-28-2017, 12:13 AM   #4
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Original Poster
Rep: Reputation: 255Reputation: 255Reputation: 255
I have installed CUPS-BSD

apt-get install cups-bsd

the printer is here now:

Code:
# ping -c 2 10.0.0.1
PING 10.0.0.1 (10.0.0.1) 56(84) bytes of data.
64 bytes from 10.0.0.1: icmp_seq=1 ttl=255 time=175 ms
64 bytes from 10.0.0.1: icmp_seq=2 ttl=255 time=32.6 ms

--- 10.0.0.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 32.610/104.030/175.450/71.420 ms
What would be the best way to proceed now to make it work?

I notice that the full cups is not installed, http://localhost:631/ return not found.

thank you in adance
 
Old 06-28-2017, 02:08 AM   #5
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,804

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Do you not have cups-client installed? It is cupsd that provides the web interface.
 
Old 06-28-2017, 04:40 AM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
In addition, if you already have another computer configured as a cups server then either cups-client or cups-bsd i.e. lp or lpr command should work. You need to configure the server to allow network access.

cups-bsd includes the cups version of lpr and lp which still requires a cups server and not the original Unix lpr/lpd printer daemon.
 
Old 06-28-2017, 01:34 PM   #7
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Original Poster
Rep: Reputation: 255Reputation: 255Reputation: 255
the cups is NOT installed

just apt-get install cups-bsd was conducted sucessfully
 
Old 06-28-2017, 02:32 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Quote:
Originally Posted by Xeratul View Post
the cups is NOT installed
The question was if any computer on your LAN is running a cups server?
 
Old 06-28-2017, 02:38 PM   #9
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Original Poster
Rep: Reputation: 255Reputation: 255Reputation: 255
Quote:
Originally Posted by michaelk View Post
The question was if any computer on your LAN is running a cups server?
there no single computer with CUPS installed on this part of network, and there can't be.

Hence BSD solution would be best ... if it would be doable or possible?
 
Old 06-28-2017, 03:37 PM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
It should be possible although its been a very long time since I've had to mess with LPD/LPRng stuff. There are generic instructions for configuring a PCL5e printer using LPD/LPRng.

https://www.openprinting.org/driver/hpijs-pcl5e
 
Old 06-28-2017, 11:50 PM   #11
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Original Poster
Rep: Reputation: 255Reputation: 255Reputation: 255
Quote:
Originally Posted by michaelk View Post
It should be possible although its been a very long time since I've had to mess with LPD/LPRng stuff. There are generic instructions for configuring a PCL5e printer using LPD/LPRng.

https://www.openprinting.org/driver/hpijs-pcl5e
HPLIP IS FULL EVIL. No no no,...
HPLIP support and bug tracking system (voluntary)


Don't worry I will ask on a forum at FreeBSD. They will probably know.
 
Old 06-29-2017, 12:19 AM   #12
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,804

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
The FreeBSD guide may be helpful...

https://www.freebsd.org/doc/handbook/printing.html

Without CUPS support your options may be limited as the lpd filters are limited. I'm not even sure if the HL-L2340DW model supports PCL5e/PCL6 for example. Printers supporting PostScript or PCL are your best bet if not using CUPS.
 
Old 06-29-2017, 01:58 AM   #13
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Original Poster
Rep: Reputation: 255Reputation: 255Reputation: 255
Quote:
Originally Posted by ferrari View Post
The FreeBSD guide may be helpful...

https://www.freebsd.org/doc/handbook/printing.html

Without CUPS support your options may be limited as the lpd filters are limited. I'm not even sure if the HL-L2340DW model supports PCL5e/PCL6 for example. Printers supporting PostScript or PCL are your best bet if not using CUPS.
well, since many many protocols are available on modern printers, the possibility remains largely open.

There are high chances, and using the full, large, CUPS installation is maybe just overkill.

Keeping basics is sometimes good.

Last edited by Xeratul; 06-29-2017 at 01:59 AM.
 
Old 06-29-2017, 02:34 AM   #14
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,804

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Low-cost models often leave it to the printer driver to do the necessary processing. I note that the sister model HL-L2360DW specs specifically list PCL6 language support, but this not mentioned for the HL-L2340DW specs. Good luck with your endeavours in any case.
 
Old 06-29-2017, 04:55 AM   #15
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Original Poster
Rep: Reputation: 255Reputation: 255Reputation: 255
Quote:
Originally Posted by ferrari View Post
Low-cost models often leave it to the printer driver to do the necessary processing. I note that the sister model HL-L2360DW specs specifically list PCL6 language support, but this not mentioned for the HL-L2340DW specs. Good luck with your endeavours in any case.
what about Ricoh, they do have easily cups-bsd handling?
more expensive, more protocols available, to install, i.e. ipp. and easy driver finding.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Can't install HP P1102w Laser Printer Driver Dynosaw3 Linux - Newbie 26 04-06-2018 10:52 AM
How to install HP 1008 laser printer ? rbchaudhari Linux - Newbie 1 12-27-2011 05:52 AM
How to Install a Samsung CP510 Laser printer in SuSe 9.3 trukero Linux - Hardware 2 04-23-2006 04:32 AM
install Samsung ML-2010 laser printer songqsh Debian 3 02-20-2006 08:25 PM
How to install new Laser printer? fdavid Linux - Newbie 1 03-16-2005 11:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration