Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 07 Dec 2016, 06:48
All times are UTC - 4
 Forum index » Advanced Topics » Hardware » Printers
CLI printer commands
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
oui

Joined: 20 May 2005
Posts: 2929
Location: near Woof (Germany) :-) Acer Laptop emachines 2 GB RAM AMD64. franco-/germanophone, +/- anglophone

PostPosted: Tue 13 Oct 2015, 04:57    Post subject:  CLI printer commands
Subject description: how far is it possible to command printer with CLI?
 

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:
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?
Back to top
View user's profile Send private message 
step

Joined: 04 May 2012
Posts: 727

PostPosted: Tue 13 Oct 2015, 12:52    Post subject:  

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/CUPS/Troubleshooting
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!

_________________
Fatdog64-710|+Packages|Findnrun|+forum|gtkmenuplus
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 8918
Location: Gatineau (Qc), Canada

PostPosted: Tue 13 Oct 2015, 14:46    Post subject:  

Hello oui.

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

BFN.

musher0

_________________
musher0
~~~~~~~~~~
"The greatest of minds are the ones that never close." | "Les plus grands esprits sont ceux qui ne se ferment jamais."
(starhawk, Resident Philosopher | philosophe en résidence) Wink
Back to top
View user's profile Send private message 
oui

Joined: 20 May 2005
Posts: 2929
Location: near Woof (Germany) :-) Acer Laptop emachines 2 GB RAM AMD64. franco-/germanophone, +/- anglophone

PostPosted: Fri 16 Oct 2015, 04:08    Post subject:  

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 Rolling Eyes . 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...
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Hardware » Printers
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0705s ][ Queries: 11 (0.0165s) ][ GZIP on ]