CLI printer commands

Problems and successes with specific brands/models of printers
Post Reply
Message
Author
oui

CLI printer commands

#1 Post by oui »

Hi

I did get an other printer from my daughter in law (ut the heritage from her parents). It is a BROTHER HL-2035. Better for me as my long years printer CANON PIXMA ip4200 is often not really operable because the printing head did dry...

The Canon printer was connected directly with our IAD fritz box (DSL and fone box to connect PC's as well wired as per wlan) and used as pseudo USB printer installed using Cups and gutenprint.

This seems don't to work any more with the Brother printer...

Directly connected wired with the AppleBook from my wife, the Brother printer is recognized without more manipulation and print out.

But...

- nothing to do out linux
- nothing to do using the IAD fritz box handling it as USB printer...

I did download following

Brother-HL-2030-hl1250.ppd

from openprinting.org in /root

and find and try to use following command:

Code: Select all

lpadmin -p Brother-HL-2030-hl1250 -E -v socket://192.168.178.1:9100 -m /root/Brother-HL-2030-hl1250.ppd
in my actual puppy, the system answer

command not found

in other linux (64 bit) the system answer

can not open that.

Is somewhere a collection AND her explanations from CLI printer commands to try out?

step
Posts: 1349
Joined: Fri 04 May 2012, 11:20

#2 Post by step »

First you need to ensure that lpadmin is installed in your linux box in one of the standard $PATH locations. Once that's solved, you can add/delete printers from the command line. Try browsing http://localhost:631 to ensure CUPS is running. If not, you need to start the CUPS service. Try lpinfo -v to find out which devices can be used. Here some help links:

https://wiki.archlinux.org/index.php/CUPS
https://wiki.archlinux.org/index.php/CU ... leshooting
http://www.thegeekstuff.com/2015/01/lpadmin-examples/

The material in the third link is sort of a cookbook. The first link is more comprehensive, but also more complex.

Good luck with your new printer!
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#3 Post by musher0 »

Hello oui.

Does Linux support Brother printers? In any case, member rcrsn51 has
this thread which you may find useful also.

BFN.

musher0
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

oui

#4 Post by oui »

Thank you very much Christian!

I did try A LOT of different puppys, SliTaz (actual version 5.0) as well as Debian to solve that problem (acquiring a terrible importance for me: the printer is, as I did explain, little part of the heritage from my daughter in law and as she knows that my color printer is often not operable because of closed ink jets, she did offer me, of course free of payment, that other printer from her died father... And there is yet / always no operable printer at home as they come visit us to print out cooking recepts, or land maps, or emails etc. for them! And son find it is an indelicate attitude to show as less of interest!).

It works on the bookMac from my wife immediately!

But I did made a progress yesterday:

It works now in Original Ubuntu 14.04 (I did install twice: from DVD. DVD did install Unity and I don't like that wm! And after that I did install Lubuntu, a really perfect installation from this puppy like little thing! It is the first time, that all dictionaries in all wished languages (British :wink: , French, German, Interlingua) are all correctly installed (not only hunspell: Lubuntu did install apell,, ispell, myspell and hunspell dictionaries as this detail is a real chaos in Linux to be dominated only if you install all!)... Perhaps it is because the actual maintener of the Lubuntu distro is French man as I and he has comprehension not being present by American speakers developing in other words countries, and those men are not sensitive that the language is condition sine qua non today to use or not to use some (dominator :idea: ; else if Linux and Internet came from Europe, Linux from Skandinave and Internet from middle European countries, American speaker are not willing to stay neutral...) software...

Sorry to have to explain that:

Transformed by Puppy, the Original software made by Ubuntu and other seems to become more worse

(you know, dear Christian, my frequent messages that all keyboards layout are considered in Puppy, excepted the international ones: us intl never, ch_fr / ch_de, Helvetic people did start in Genf with the people from Lyon/Grenoble the thing that all the world knows now as being named "internet", but her kb is seriously eliminated from the list of kb!!!, really rarely! But exotic ones? There are enough :roll: . No hunspell's in the main Official depositories of Puppy and especially no British (but there no Official British one by hunspell itselfm: You have to take it out a Firefox installation if you want to use as European man the British version...)

as in Tahr pup this printer does not work but in Trusty it works immediately!

Probably that the theory that Woof allow to intercept errors and avoid them later in each Puppy does not work if a part of that "science" does not come completely from Ubuntu but continue to be old Puppy stuff...

Post Reply