LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 02-21-2015, 09:31 AM   #31
Jimmyjack67
Member
 
Registered: Jul 2013
Location: New Yor State USA
Posts: 81

Original Poster
Rep: Reputation: Disabled

Mark, the diction / annotate file with came from "pasting the files in place one at a time." That was the cause of the extra ///.


Quote:
Originally Posted by mark_alfred View Post
The diction is wrong. It's incorrect to annotate the name of the file with
Quote:
"file:///"
. Just use /home/james/Desktop/ESP48.DL_

Anyway, I don't think putting in the file "epson11076.exe" is going to do anything. This is a compressed Windows file. It needs to be wined and unzipped. Forget it.

Here's the ppd file I think you're looking for. Try it (and again, I recommend using http://localhost:631 to place it.) Here's the page I got the ppd link from: http://www.openprinting.org/printer/...son-LQ-570plus


ETA: There's a page on a forum I found that might be of help if the ppd file doesn't work. It's here: http://forums.openprinting.org/read.php?26,14669 This gives a repository with a package, containing most of the Epson drivers, that can be installed. It likely would work.
 
Old 02-21-2015, 09:42 AM   #32
Jimmyjack67
Member
 
Registered: Jul 2013
Location: New Yor State USA
Posts: 81

Original Poster
Rep: Reputation: Disabled
Mark, I just looked at the ETA link at http://forums.openprinting.org/read.php?26.14669,. It looks like it just might work. That is if I can get my head wrapped around it all. One problem I did run into and do not know the reason for it, my computer locked up on the site and I couldn't get out of it other than hit the reset button and re-start. It seems that FireFox's menu's disappeared and locked onto that site page for whatever reason? I could shrink the size of the stuff on the page hitting CTRL - but that was it. Well I guess what will be will be? Thank You, Jim
 
Old 02-21-2015, 01:00 PM   #33
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572

Rep: Reputation: 210Reputation: 210Reputation: 210
Quote:
Originally Posted by fatmac View Post

Then you copy the files into it;
Code:
sudo cp ESCP48.DL ESCP48.INF epson11076.exe /usr/share/cups/EpsonLQ570
Quote:
Originally Posted by Jimmyjack67 View Post
fatmac, The first command that you listed to make the directory did so. I went through the folders and found it as named. I tried the second command as posted but it choked out about the same as you see below. I decided to try copying the files from "downloads" to the desktop so I could copy and paste them in so I wouldn't fowel up the typing, caps,and etc. The output is the same concerning "no suchfile or directory." I did try the command exactly as you had posted but the results was the same as below. The LQ570 folder has 0 items in it when I go to it in the root and look at it. Jim

james@james-System-Product-Name:~$ sudo cp file:///home/james/Desktop/ESCP48.DL_ file:///home/james/Desktop/ESCP48.INF file:///home/james/Desktop/epson11076.exe /usr/share/cups/EpsonLQ570
[sudo] password for james:
cp: cannot stat ‘file:///home/james/Desktop/ESCP48.DL_’: No such file or directory
cp: cannot stat ‘file:///home/james/Desktop/ESCP48.INF’: No such file or directory
cp: cannot stat ‘file:///home/james/Desktop/epson11076.exe’: No such file or directory
james@james-System-Product-Name:~$
Quote:
Originally Posted by Jimmyjack67 View Post
Mark, the diction / annotate file with came from "pasting the files in place one at a time." That was the cause of the extra ///.
Given the absolute obvious difference between the command that fatmac directed you type and the bizarre rendering of it that you ended up typing, it took me a while to figure out what the heck you were talking about. Anyway, fatmac assumed you'd be typing the command from the directory where the files exist. You ended up not doing this, so the files were not found. The bizarre solution you employed, that being (I think) to use a browser to locate the files and then copying the browser address for the files is not what was needed to fix the issue.

Think of a filing cabinet. If you don't properly tell the computer where the file is that you wish it to copy, then it won't find it. IE, using the filing cabinet example, imagine you've several filing cabinets, and you tell your secretary to photocopy a file named "Smith_account". "account" files are normally in the top drawer of the orange filing cabinet in the accounts section, but earlier you took it out and put it on your desk (your "Desktop"). So, without telling your secretary where it now is, he or she will not find it. So, since it's not where it normally would be, you have to be specific. (if this analogy confuses you, ignore it -- the analogy never worked with my mom, despite her being quite adept at finding files in a filing cabinet -- the nested files of computers just threw her).

So, assuming the files are in your Desktop directory (/home/james/Desktop), there are two ways to type the command. One is to change into the directory and just type the filename, the other (if not in the directory) is to give the name of both the directory and filename, so that regardless the computer knows where it is. First using the change directory command (your default starting place is your home directory, that being /home/james, and you wish to change into /home/james/Desktop):

Code:
james@james-System-Product-Name:~$ cd Desktop
james@james-System-Product-Name:~/Desktop$ sudo cp ESCP48.DL_ ESCP48.INF epson11076.exe /usr/share/cups/EpsonLQ570
Or, without changing the directory:

Code:
james@james-System-Product-Name:~$ sudo cp /home/james/Desktop/ESCP48.DL_ /home/james/Desktop/ESCP48.INF /home/james/Desktop/epson11076.exe /usr/share/cups/EpsonLQ570
Changing into the directory allows one to shorten the command due to not having to type the location each time (since you've already changed into the location of the files.)

Note, in the first "cd" example, you can simply use "Desktop" rather than the full name of /home/james/Desktop because the Desktop directory is contained within (nested inside) of /home/james. For a directory outside of where you're starting from (outside of /home/james) you would need the full name of the directory (IE, to change into /usr/local you'd need to type "cd /usr/local" rather than "cd local", since /usr/local, unlike Desktop, is not nested within /home/james --> if that's confusing to you, then just type the full names of the directories and/or files, which, again, are not preceded by "file:///")

ETA:

Quote:
Originally Posted by Jimmyjack67
I decided to try copying the files from "downloads" to the desktop so I could copy and paste them in so I wouldn't fowel up the typing, caps,and etc.
Just try the command "ls" instead to get the correct name. cd into your Desktop, and use the command "ls" ("ls" being short for list, as in list directory contents.) For example, my Desktop has a couple of files (both desktop icons of programs, those being Adobe Reader and JPilot respectively):

Code:
mark@mark-OptiPlex-755:~$ cd Desktop
mark@mark-OptiPlex-755:~/Desktop$ ls
AdobeReader.desktop  JPilot.desktop
mark@mark-OptiPlex-755:~/Desktop$
So, I now have the proper names listed for these two files, should I wish to copy them (and note, the location/directory is "Desktop", specifically /home/mark/Desktop, in this example.)

Last edited by mark_alfred; 02-21-2015 at 01:55 PM. Reason: added underscore to filename ESCP48.DL_
 
1 members found this post helpful.
Old 02-21-2015, 01:09 PM   #34
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572

Rep: Reputation: 210Reputation: 210Reputation: 210
Quote:
Originally Posted by Jimmyjack67 View Post
Mark, I just looked at the ETA link at http://forums.openprinting.org/read.php?26.14669,. It looks like it just might work. That is if I can get my head wrapped around it all. One problem I did run into and do not know the reason for it, my computer locked up on the site and I couldn't get out of it other than hit the reset button and re-start. It seems that FireFox's menu's disappeared and locked onto that site page for whatever reason? I could shrink the size of the stuff on the page hitting CTRL - but that was it. Well I guess what will be will be? Thank You, Jim
It likely won't work anyway. I didn't see the LQ-570 listed when I checked the text file of the package. Mind you, I myself would still try it just to see. But I am skeptical that it would work.

Last edited by mark_alfred; 02-21-2015 at 01:11 PM.
 
1 members found this post helpful.
Old 02-21-2015, 03:29 PM   #35
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572

Rep: Reputation: 210Reputation: 210Reputation: 210
Quote:
Originally Posted by Jimmyjack67 View Post
It doesn't adress the printer as a direct connected parallel printer. It only considers USB connected printers and printers going throuh a URL and some other things.
Perhaps you need a module for your computer to recognize the parallel port. I found this: https://www.vmware.com/support/ws5/d...html#wp1064410 It's a bit beyond my knowledge, so I can't really recommend following what it says, and it is an older article for 2.6 kernels (I think Ubuntu is now at 3.16). That said, I'm guessing what existed for 2.6 kernels regarding really old hardware still exists in today's kernels. I do feel that you likely do need a module to be installed for your computer to recognize your parallel port.

ETA: try the following to see if you have parallel port support:

Code:
sudo lsmod | grep parport
sudo lsmod | grep lp
sudo lsmod | grep parport_pc
Also, the Arch Linux Wiki has some advice on this. It should be possible to get your parallel port printer working with cups: https://wiki.archlinux.org/index.php..._port_printers

Last edited by mark_alfred; 02-21-2015 at 03:45 PM.
 
1 members found this post helpful.
Old 02-21-2015, 07:30 PM   #36
Jimmyjack67
Member
 
Registered: Jul 2013
Location: New Yor State USA
Posts: 81

Original Poster
Rep: Reputation: Disabled
Mark, I certainly appreciate your efforts and will try the things you have suggested. My problem is I have never had a logical mind and have to keep fiddleing around until I get something right. Things are even harder for me these days after having a severe heart attack and nearly cashing in my chips and going through open heart surgery. It seems as though my gray matter doesn't matter very much now and my memory has been effected in many ways so, I have to work at everything a lot more to get where I need to be. Once I manage to get something down, I am okay. I did wonder a lot about the way the command line worked as getting from point A to point B,C, etc.In the early days, every thing that was listed first ended up being acted on last. (Or, reversed order sort of speaking.)
I certainly will let you as well as other folks know how things go but I haven't had any luck as yet getting past the errors. I also have see my typing mistakes as well which mess it up too. I don't know if you ever heard of an operating system labeled C.P.M? But I finally had managed to figure it out and actually liked it. Thank you, Jim
 
Old 02-21-2015, 08:10 PM   #37
Jimmyjack67
Member
 
Registered: Jul 2013
Location: New Yor State USA
Posts: 81

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mark_alfred View Post
Given the absolute obvious difference between the command that fatmac directed you type and the bizarre rendering of it that you ended up typing, it took me a while to figure out what the heck you were talking about. Anyway, fatmac assumed you'd be typing the command from the directory where the files exist. You ended up not doing this, so the files were not found. The bizarre solution you employed, that being (I think) to use a browser to locate the files and then copying the browser address for the files is not what was needed to fix the issue.

Think of a filing cabinet. If you don't properly tell the computer where the file is that you wish it to copy, then it won't find it. IE, using the filing cabinet example, imagine you've several filing cabinets, and you tell your secretary to photocopy a file named "Smith_account". "account" files are normally in the top drawer of the orange filing cabinet in the accounts section, but earlier you took it out and put it on your desk (your "Desktop"). So, without telling your secretary where it now is, he or she will not find it. So, since it's not where it normally would be, you have to be specific. (if this analogy confuses you, ignore it -- the analogy never worked with my mom, despite her being quite adept at finding files in a filing cabinet -- the nested files of computers just threw her).

So, assuming the files are in your Desktop directory (/home/james/Desktop), there are two ways to type the command. One is to change into the directory and just type the filename, the other (if not in the directory) is to give the name of both the directory and filename, so that regardless the computer knows where it is. First using the change directory command (your default starting place is your home directory, that being /home/james, and you wish to change into /home/james/Desktop):
Quote:
Code:
james@james-System-Product-Name:~$ cd Desktop
james@james-System-Product-Name:~/Desktop$ sudo cp ESCP48.DL_ ESCP48.INF epson11076.exe /usr/share/cups/EpsonLQ570
Or, without changing the directory:

Code:
james@james-System-Product-Name:~$ sudo cp /home/james/Desktop/ESCP48.DL_ /home/james/Desktop/ESCP48.INF /home/james/Desktop/epson11076.exe /usr/share/cups/EpsonLQ570
Changing into the directory allows one to shorten the command due to not having to type the location each time (since you've already changed into the location of the files.)

Note, in the first "cd" example, you can simply use "Desktop" rather than the full name of /home/james/Desktop because the Desktop directory is contained within (nested inside) of /home/james. For a directory outside of where you're starting from (outside of /home/james) you would need the full name of the directory (IE, to change into /usr/local you'd need to type "cd /usr/local" rather than "cd local", since /usr/local, unlike Desktop, is not nested within /home/james --> if that's confusing to you, then just type the full names of the directories and/or files, which, again, are not preceded by "file:///")

ETA:



Just try the command "ls" instead to get the correct name. cd into your Desktop, and use the command "ls" ("ls" being short for list, as in list directory contents.) For example, my Desktop has a couple of files (both desktop icons of programs, those being Adobe Reader and JPilot respectively):

Code:
mark@mark-OptiPlex-755:~$ cd Desktop
mark@mark-OptiPlex-755:~/Desktop$ ls
AdobeReader.desktop  JPilot.desktop
mark@mark-OptiPlex-755:~/Desktop$
So, I now have the proper names listed for these two files, should I wish to copy them (and note, the location/directory is "Desktop", specifically /home/mark/Desktop, in this example.)
Mark, I just wanted to give you this piece as I just tried it and it did the job. I didn't bother copying the exe file though. I then went after seeing "no errors" listed after issueing the command as you listed. Then clicked "computer" then through the /usr/share/cups/LQ570 folders and the two files are in the LQ570 folder. They are listed as being "root" binary, and with the -rw shown. I will try the commands to check for the "parallel port" and let you know that as well, Thanks, Jim
 
Old 02-21-2015, 08:13 PM   #38
Jimmyjack67
Member
 
Registered: Jul 2013
Location: New Yor State USA
Posts: 81

Original Poster
Rep: Reputation: Disabled
Mark, I guess slecting the command and Quote somehow didn't pan out but the first command you gave me to try cocerning the "Desktop." Jim
 
Old 02-21-2015, 08:25 PM   #39
Jimmyjack67
Member
 
Registered: Jul 2013
Location: New Yor State USA
Posts: 81

Original Poster
Rep: Reputation: Disabled
Mark, This doesn't mean anything to me but it looks like there might be a "parallel port listed? Thank you, Jim



james@james-System-Product-Name:~$ sudo lsmod | grep paraport
[sudo] password for james:
james@james-System-Product-Name:~$ sudo lsmod | grep lp
usblp 18277 0
lpc_ich 16864 0
drm_kms_helper 48868 1 i915
drm 244037 4 i915,drm_kms_helper
lp 13299 0
parport 40836 3 lp,ppdev,parport_pc
james@james-System-Product-Name:~$ sudo lsmod | grep paraport_pc
james@james-System-Product-Name:~$
 
Old 02-21-2015, 09:06 PM   #40
Jimmyjack67
Member
 
Registered: Jul 2013
Location: New Yor State USA
Posts: 81

Original Poster
Rep: Reputation: Disabled
Mark, The VMWare link you provided might be of some help but I can't get the pages to print out properly so I might be able to study them closer. So, hopefully, I will not need to fool around with that sort of thing. Right now I am going to see if the deal with the driver might work with my printer and,,, hopefully it will so I won't have to keep bothering you folks as much. Thanks, Jim
 
Old 02-22-2015, 02:24 AM   #41
Jimmyjack67
Member
 
Registered: Jul 2013
Location: New Yor State USA
Posts: 81

Original Poster
Rep: Reputation: Disabled
Mark, I am just giving you a quick note as I have to hit the sack. The two files I had placed which were Windows NT4.0 will not install via LocalHost as it says they are Windows files. Of course I knew that but I will keep checking and reading to see how they can be used if possible and as per the manual which states they work perfectly. I have fooled around with the other PPDs and installed one for the 570 but it still doesn't actually work properly and just prints junk on the "test page" which actually ends up dumping over 16+ pages of nothing non-stop. I did manage to find the USA tractor fan fold paper and installed it but I think one of the problems is possibly the option which has the name: Current driver - 24 pin Serries (grayscale- 2-sided printing). (And, can't be changed through the LocalHost.) That is one and in the same driver which does have the fan fold single sided printing. If, I might be able to find a way to edit the "grayscale-2-sided printing" out of the PPD, then it might help make it work properly, maybe?? Thanks, Jim
 
Old 02-22-2015, 07:56 AM   #42
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572

Rep: Reputation: 210Reputation: 210Reputation: 210
Quote:
Originally Posted by Jimmyjack67 View Post
Mark, I just wanted to give you this piece as I just tried it and it did the job. I didn't bother copying the exe file though. I then went after seeing "no errors" listed after issueing the command as you listed. Then clicked "computer" then through the /usr/share/cups/LQ570 folders and the two files are in the LQ570 folder.
Good. Glad to hear it.
 
1 members found this post helpful.
Old 02-22-2015, 09:54 AM   #43
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572

Rep: Reputation: 210Reputation: 210Reputation: 210
Quote:
Originally Posted by Jimmyjack67 View Post
My problem is I have never had a logical mind and have to keep fiddleing around until I get something right.
Logic is overrated. It leads to indecision. I'm much the same. I just keep trying stuff until it either works or I get bored trying.

Anyway, perhaps using cups from the command line to specify that your printer is a parallel port printer would be the ticket. I found some info on this at the cups site: http://www.cups.org/doc-1.1/sam.html#4_2_1

To modify what it says slightly to your situation, perhaps trying the following would work. Download the ppd file, then run following command -- and run the command from the same directory where you've downloaded the ppd file so that the computer can find it. Just copy the command into your terminal. Have your printer on while doing so.

Code:
sudo /usr/sbin/lpadmin -p Epson570 -E -v parallel:/dev/lp1 -m Epson-LQ-570plus-epson.ppd
Hopefully this would get it to work using the parallel port and give better results for you. If the command succeeds without a hitch, try rebooting your computer and then trying your printer. To adjust the properties of the installed printer (named "Epson570", as per the command), use the http://localhost:631 site. Some properties you may wish to adjust are paper size (IE, change US letter to US Standard Fanfold if that's what you're using). Or, if it just doesn't work, then you may wish to remove the installed printer which can also be done.

You may need to install foomatic packages via apt (or synaptic or Ubuntu Software Centre or whatever).

Hope that helps.

Now the disclaimer: I'm not an expert by any means, so doing a backup is advised before following any suggestion I make. I have no personal experience with the command that I got from the CUPS site, so I don't really know if it'll be helpful or not.

Last edited by mark_alfred; 02-22-2015 at 09:57 AM.
 
1 members found this post helpful.
Old 02-22-2015, 10:55 AM   #44
Jimmyjack67
Member
 
Registered: Jul 2013
Location: New Yor State USA
Posts: 81

Original Poster
Rep: Reputation: Disabled
Mark, I have been downloading a bunch of stuff from the cups site or, OpenPrinting to be closer. I can't tell you all of it but it has to do with the various programming they offer. I worked on getting those things until 3:30AM this morning and I am to burned out to remember it all now. I am thinking that just "maybe" I might be able to get some "learning" from it all if nothing else!?? I also just ordered another case of paper as I have printed out about 4 pkgs of 500 sheets printing out all the various suggestion and what have from every place I have been involved and have looked thus far. By doing it in this fashion, I don't have to rely on my great memory! My hopeful intentions would be making notes and posting the stuff that has finally and "Possibly" worked. I know from what I have seen on a number of forums there are other folks going through much the same things as I am with "older" printers that are not supported these days. Everybody talks about "green" and "recycling" except when selling all the "new gadgets" and what have you. I guess it is something like the "global warming" cash cow for those folks pushing products and services. Actually, where I live, I could stand a little "warming" right now!
I will kook and, try you suggestions and get back to you when I can. Again, thank you very much for all of your efforts too, Jim
 
Old 02-22-2015, 02:49 PM   #45
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
One thing you should do the next time you install Gnu/Linux you should use a Live Session and set up at least 3 partitions not counting the /swap.

Install your system on a / (root) partition and a separate /home. In addition to that and using most of the drive create another partition for data.

You can then save all those things you are printing out where they will not be affected when you reinstall your system. I find this is a good way to "remember" things.

Printing is also good but it is easier to get the things up from a file. I recommend saving as text files rather than some sort of office format like .odt. This is because it is easy to then open them in a text editor. Most text editors have tabs for different documents and it is then easy to compare them.

While I am being guilty of an off topic hijack of this thread I may as well ask this: What the devil is this CPM you mentioned? A link would be helpfull as a search turns up nothing having to do with an operating system.
 
1 members found this post helpful.
  


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
Change Permissions Write/Read to Ipod nano 2nd Folders Alchemikos Linux - Newbie 1 07-24-2012 11:32 AM
Permissions on Folders yankwizera Linux - Newbie 6 06-20-2012 12:02 PM
Permissions on /etc and other folders Brandon.Wamboldt Linux - Server 3 05-04-2009 06:51 PM
Change file permissions of files in folders dotancohen Linux - Newbie 1 05-19-2007 02:56 AM
change permissions of all folders and sub folders cad Linux - General 3 01-28-2007 10:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 05:40 AM.

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