This is the last problem I would;ve expected with my new MB. My HP Laserjet 1018 doesn't have any drivers for MAC OS X 10.4.9. I tried printing without installing a driver but it failed. I searched online for 'Laserjet 1018 MAc OS X' and a bunch of stuff came out, but they can get a bit too techy and I ended up not understanding anything.
So please, if you have the solution or you could do a search on google and make any sense of the solution, please please please let me know. I'm getting desparate.
-
ftp://ftp.hp.com/pub/softlib/software7/COL10919/lj-31696-2/LJ_1022_Series_OSX.dmg
download and install that, then restart. It might work. -
Nope, that didn't work.
Not getting much help here, huh? PLEASE PLEASE, I'm really desperate right now.
I kinda found what I need to install, but I can't understand what to do. Can someone read this and explain in English the instructions for installing the driver?
http://foo2zjs.rkkda.com/ -
This may help a little:
http://foo2zjs.rkkda.com/INSTALL.osx
Understand that all of the command line entries are done in terminal. It just looks hard, once you get going it is really not all that bad. -
It says download and install Xcode. Xcode, first of all, is almost 1GB, and second of all, I have to sign in to download it. It says:
-
k i think i've almost done everything, but stuck on the last point. I've downlaoded foo2zjs, now i have a folder by that name with some files and folders in it, but I'm not sure how to install it. Can someone help? THanks.
-
::EDIT::
I took a look at the page, let's see if I can help, but you should really provide more info about what you have done. I will assume you already downloaded the tar.gz file and decompressed it, and the Terminal window is open and you are in the appropriate folder within an administrator account.
type (the $ is just to indicate the command prompt, don't type it)
$ make
that should give you a bunch of text as the driver is compiled. Assuming you got no errors, type;
$ ./getweb 1018
I assume getweb is an utility included with the program to download the appropriate firmware and ICC. After that, type:
$ sudo make install
I am not sure about the need for the hotplug and CUPS modules for OS X. I will assume you don't need them, perhaps I am wrong.
Then, you should have the drivers installed. Do what is shown here:
http://foo2zjs.rkkda.com/macosx/hp1020.html
to get to the first screen, go to Applications/utilities folder and open Print Setup utility. Then click the add printer button. If you printer is plugged in you should see it listed as the 1220 is in the example. Follow it from there.
Any errors in the compiling process would be due to some dependency missing, I assume you already had success in doing what's shown here:
http://foo2zjs.rkkda.com/INSTALL.osx
the last line says you must send a firmware file to the printer as you power it up. I assume this must be done before you add the printer in the setup utility as well, but I can't be sure. Good luck, and remember to always post info as detailed as possible lest you want no one to be able to help you. -
K I did up to here:
4) Browse to:
http://www.linux-foundation.org/en/OpenPrinting/MacOSX/foomatic
and install the Foomatic-RIP (foomatic-RIP and foomatic-gswrapper).
If you are installing from source:
$ ./configure --prefix=/usr
$ make
$ sudo make install
I downloaded called foomatic, but i couldn't find gswrapper. I'm assuming it's in the same file. I downloaded it and installed it by just opening the file and clicking on the image. None of that command stuff (make, sudo make install).
Then i downlaoded foo2zjs. I unpacked it (not through the Terminal, because it was giving me errors). It created a folder on my desktop with several subfolders in it and lots of files. Now this is where I get stuck: the compilation and installation. I type in '$ make ' and it gives me this error:
make: *** No targets specified and no makefile found. Stop.
sepand-siassis-computer:~ Sep$
I'm assuming that's because $ make is followed by something else. What do I do?
Dang, I should become versed in UNIX. That's my next goal. -
are you sure you are are the right directory? type
$pwd
this will show you the directory you're in. You should be in dir foo2zjs.
::EDIT:: from your post, I can see you are not:
sepand-siassis-computer:~ Sep$
This indicates you are in your home dir (~). If you did uncompress the file directly in your home dir, then it should be in a dir beneath it and
$ cd foo2zjs
will do the trick. If not, locate the dir and cd to it accordingly. -
And don't laugh if you see some weird, makes-no-sense commands. Again, n00b!
thanks everyone, i really really appreciate the help and support.Attached Files:
-
-
Please post the next log as .txt file, opening up Word for that kind of thing is a waste of CPU cycles. As for the log, everything went fine until here:
*** Error: foomatic-rip is not installed!
***
*** Install foomatic package(s) for your OS
(there was a previous error regarding ps2pdf, which isn't available in OS X, but that's not critical - it is being using for converting the manual into pdf)
so are you sure you installed foomatic-rip? try installing it again - the dmg contains a .pkg file, doubli clicking it should launch an installer. If you redo it and get the same error, try installing foomatic from source and redo the sudo make install.
You seem to be nearly there, just keep swimming. -
I did install foomatic. I went to http://www.linux-foundation.org/en/OpenPrinting/MacOSX/foomatic, downloaded the first download (88kb), double-clicked the download on my desktop and it opened a file (what do you call them? images?), and opened that, which launched an installer. Then I tried compiling the foo2 driver, which I couldn't because I was in the wrong directory and so asked for help here. When I finally compiled and installed the foo2 driver, i went to the next step and I got that error that you quoted. I installed the foomatic-rip again (same process as above), and got the same error again telling me that foomatic hasn't been installed.
How do I install from the source? Why would that make a difference? -
Then, download the source code - there is a link right below the one for the package. Decompress it, cd into the appropriate dir, and then
$ ./configure --prefix=/usr
$ make
$ sudo make install
as indicated before. -
sigh... uninstalled it, downloaded the source, decompressed it, cd into the directory, and then:
sepand-siassis-computer:~/desktop/foomatic_runtime_source Sep$ ./configure --prefix=/usr
-bash: ./configure: No such file or directory
Edit: AARRRRRRRRRRRRRRRGHHHHH!!!!!!!!!!!! -
$ echo $PATH
and post the outcome here: I guess that is what went wrong with the previous instalation of foomatic-rip, your path is not set up properly. -
sepand-siassis-computer:~ Sep$ echo $PATH
/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin
sepand-siassis-computer:~ Sep$
Where is usr/bin? I'm guessing I have to copy them through terminal, correct? If so, how?
My path was not set up properly? The foomatic folder was decompressed on my desktop, and I went to desktop and then to the foomatic folder. -
well, your path looks fine. Just explaining: the installation script of foo2fzs couldn't find foomatic-rip, so I thought there was a problem with your path (where the bash interpreter looks for executables) but it is fine. Perhaps the installer of foomatic put it in a weird place.
so do the following:
$ sudo cp foomatic-rip /usr/bin
$ sudo cp foomatic-gswrapper /usr/bin
$ sudo chmod 666 /usr/bin/foomatic-rip
$ sudo chmod 666 /usr/bin/foomatic-gswrapper
you are copying and changing permissions (no satanic invocations here!). Hope this fix it now... -
K, the first two went fine, I don't remember but I think the 3rd one went fine as well, and then on the 4th one ($ sudo chmod 666 /usr/bin/foomatic-gswrapper) is said no such directory exists. Anyways, I tried doing what I did before, and it still told me there's no foomatic installed...
......................................................................................
I hope i'm not driving you mad! -
Yes you (or rather your problem) are lol...
I looked up the Makefile of foo2fzs. It tests the existence of foomatic-rip with the following command, so type that and lets see if it is recognized:
$ type foomatic-rip
As for the other errors, it must be a typing mistake, either yours or mine, that would just set the permissions for the file we just copied. -
sepand-siassis-computer:~ Sep$ type foomatic-rip
foomatic-rip is /usr/bin/foomatic-rip
So I guess it's recognized. Now what?
EDIT: I know msn has this tool where someone else can take control of the computer. Is this possible on macs? Because honestly, i'm getting sick of this, and it would just be easier for both of us if you could do the same! -
well, I can't figure out why the script doens't recognize foomatic-rip. Perhaps some weird difference between the version of bash expected, I don't know. Lets try a dirty trick: inside the foo2fzs directory, there is a file named Makefile. Open it with TextEdit, navigate to a part where you see this:
install-test:
#
# Installation Dependencies...
#
@if ! type foomatic-rip >/dev/null 2>&1; then \
echo " ***"; \
echo " *** Error: foomatic-rip is not installed!"; \
echo " ***"; \
echo " *** Install foomatic package(s) for your OS"; \
echo " ***"; \
exit 1; \
and append the line with "exit 1; \" with a #:
# exit 1; \
this way we turn it into a comment and the installation should continue. -
Good thing I remember a bit of java from my first year in university, cuz otherwise I would;ve been really confused!
Here's what I got (attached).
Again, shall we blame it on HP? -
k i guess i didn;t attach it.
-
ummm.... does it not attach .rtf files?
Attached Files:
-
-
I uploaded a modified Makefile. It is NOT a Word document: I had to name it .doc since the forum won't let me upload a file without an extension (stupid!). Just don't open it with Word: either choose "save as" and save it as Makefile (without any extensions) or save it and then change its name.
If you want, make a backup of the original Makefile, but you can always begin from the start by deleting the folder and uncompressing the original tar.gz again.Attached Files:
-
-
K but how do I "UNmake" foo2zjs? Is it $ make uninstall?
-
Alright, i thought $ make is for isntallation, but I just learned what it does. I deleted the foo2zjs directory, downloaded it again, decompressed it and then ran $ make. Then $ ./getweb 1018, then $ sudo make install. The terminal output is attached. THere was an error at the end of the operation (error 71, and an error 127 as well which was ignored).
Then I went to add the printer. It recognized the driver, but after adding it, the printer didn't print anything. So I turned the printer off, went back to the terminal and typed $ lp /usr/share/foo2zjs/firmware/sihp1018.dl, and tried printing again. It still didn't work.
Close, aren't I? -
-
$ lp /usr/share/foo2zjs/firmware/sihp1018.dl does not work if the printer hasn't been added.
I tried doing it again. FIrst, I add the printer (foomatic 1018). Then I type in $ lp /usr/share/foo2zjs/firmware/sihp1018.dl. Then the printer makes a noise, and then I tried printing something. The printing task went from the active section to completed without even printing anything.
Here's the terminal output file from before, with the 2 errors that I mentioned (search for error 71 and error 127). Sorry it's in .doc, not in .txt, because for some stupid reason .txt files cannot be larger than 19kb, and this was 24kb.Attached Files:
-
-
both errors are related to the manual and aren't critical, you can download the manual in the site.
I looked at the foo2zfs forum (saw your post there...) and at least some people had success with OS X. Take a look, one guy seemed to use a different foomatic package. If possible try contacting one of them by email. -
well, thanks wooky. You've been too patient!
-
btw, what about this part:
# Remove obsolete foomatic database files from previous versions
#
rm -f /usr/share/foomatic/db/source/opt/foo2zjs-Media.xml
rm -f /usr/share/foomatic/db/source/opt/foo2zjs-PaperSize.xml
rm -f /usr/share/foomatic/db/source/opt/foo2zjs-Source.xml
rm -f /usr/share/foomatic/db/source/opt/foo2zjs-DitherPPI.xml
#
# Install current database files
#
***
*** WARNING! You don't have directory /usr/share/foomatic/db/source/
*** If you want support for foomatic printer configuration,
*** then you will have to manually install these files...
***
foomatic-db/driver/foo2hp.xml
foomatic-db/driver/foo2lava.xml
foomatic-db/driver/foo2oak.xml
foomatic-db/driver/foo2qpdl.xml
foomatic-db/driver/foo2xqx.xml
foomatic-db/driver/foo2zjs.xml
foomatic-db/opt/foo2hp-BitsPerPlane.xml
foomatic-db/opt/foo2hp-ColorMode.xml
foomatic-db/opt/foo2hp-Duplex.xml
foomatic-db/opt/foo2hp-ICM.xml
foomatic-db/opt/foo2hp-InputSlot.xml
foomatic-db/opt/foo2hp-MediaType.xml
foomatic-db/opt/foo2hp-Quality.xml
foomatic-db/opt/foo2lava-ColorMode.xml
foomatic-db/opt/foo2lava-Duplex.xml
foomatic-db/opt/foo2lava-InputSlot.xml
foomatic-db/opt/foo2lava-MediaType.xml
foomatic-db/opt/foo2lava-PageSize.xml
foomatic-db/opt/foo2lava-Quality.xml
foomatic-db/opt/foo2lava-Resolution.xml
foomatic-db/opt/foo2oak-BitsPerPlane.xml
foomatic-db/opt/foo2oak-ColorMode.xml
foomatic-db/opt/foo2oak-ICM.xml
foomatic-db/opt/foo2oak-InputSlot.xml
foomatic-db/opt/foo2oak-MediaType.xml
foomatic-db/opt/foo2qpdl-ColorMode.xml
foomatic-db/opt/foo2qpdl-Duplex.xml
foomatic-db/opt/foo2qpdl-ICM.xml
foomatic-db/opt/foo2qpdl-InputSlot.xml
foomatic-db/opt/foo2qpdl-MediaType.xml
foomatic-db/opt/foo2qpdl-PageSize.xml
foomatic-db/opt/foo2qpdl-Quality.xml
foomatic-db/opt/foo2qpdl-Resolution.xml
foomatic-db/opt/foo2xqx-Duplex.xml
foomatic-db/opt/foo2xqx-InputSlot.xml
foomatic-db/opt/foo2xqx-MediaType.xml
foomatic-db/opt/foo2xqx-Quality.xml
foomatic-db/opt/foo2xqx-Resolution.xml
foomatic-db/opt/foo2zjs-ColorMode.xml
foomatic-db/opt/foo2zjs-Copies.xml
foomatic-db/opt/foo2zjs-Duplex.xml
foomatic-db/opt/foo2zjs-ICM.xml
foomatic-db/opt/foo2zjs-InputSlot.xml
foomatic-db/opt/foo2zjs-Intent.xml
foomatic-db/opt/foo2zjs-MediaType.xml
foomatic-db/opt/foo2zjs-Nup.xml
foomatic-db/opt/foo2zjs-NupOrient.xml
foomatic-db/opt/foo2zjs-PageSize.xml
foomatic-db/opt/foo2zjs-PrinterType.xml
foomatic-db/opt/foo2zjs-Quality.xml
foomatic-db/opt/foo2zjs-Resolution.xml
foomatic-db/printer/Generic-OAKT_Printer.xml
foomatic-db/printer/Generic-ZjStream_Printer.xml
foomatic-db/printer/HP-Color_LaserJet_1500.xml
foomatic-db/printer/HP-Color_LaserJet_1600.xml
foomatic-db/printer/HP-Color_LaserJet_2600n.xml
foomatic-db/printer/HP-LaserJet_1000.xml
foomatic-db/printer/HP-LaserJet_1005.xml
foomatic-db/printer/HP-LaserJet_1018.xml
foomatic-db/printer/HP-LaserJet_1020.xml
foomatic-db/printer/HP-LaserJet_1022.xml
foomatic-db/printer/HP-LaserJet_M1005_MFP.xml
foomatic-db/printer/KonicaMinolta-magicolor_2490_MF.xml
foomatic-db/printer/KonicaMinolta-magicolor_2530_DL.xml
foomatic-db/printer/Minolta-Color_PageWorks_Pro_L.xml
foomatic-db/printer/Minolta-magicolor_2200_DL.xml
foomatic-db/printer/Minolta-magicolor_2300_DL.xml
foomatic-db/printer/Minolta-magicolor_2430_DL.xml
foomatic-db/printer/Samsung-CLP-300.xml
foomatic-db/printer/Samsung-CLP-600.xml
foomatic-db/printer/Samsung-CLX-3160.xml
foomatic-db/printer/Xerox-Phaser-6110.xml
foomatic-db/printer/Xerox-Phaser-6115MFP.xml
***
*** ... wherever foomatic is stashed on your machine.
***
#
# Clear foomatic cache and rebuild database if needed
#
rm -rf /var/cache/foomatic/*/*
rm -f /var/cache/foomatic/printconf.pickle
if [ -d /var/cache/foomatic/compiled ]; then \
cd /var/cache/foomatic/compiled; \
foomatic-combo-xml -O >overview.xml; \
EDIT: And 1 final thing: I want to redo the whole process, but first I need to uninstall everything, right?
http://foo2zjs.rkkda.com/INSTALL.osx
So how would I go about uninstalling Xcode, fink + ghostscript, foomatic, and foo2zjs? -
As I understand, these files are only needed to use foomatic to configure the printer, not for printing. But I may be wrong. I'd try installing the foomatic- package again - now that foo2zfs is installed. Try the pkg. If it doesn't work try searching the foo2zfs forum, there is a guy there that had success installing another foomatic package. You might try copying these files by hand to /usr/share, but I am not sure it will do any good.
-
K but if I want to install foomatic again, shouldn't I uninstall it first? I have no idea how to do that. In fact, I want to redo the WHOLE PROCESS again, so how would I uninstall Xcode, foomatic, foo2zjs, etc?
-
There is absolutely no point in uninstalling Xcode, and I'd say there is no point in uninstalling foo2zjs as well. If you really want to, try
$ sudo make uninstall
from the foo2jzs folder. As of foomatic, we just copied two files, so just delete them. But the installation of a new package should overwrite it, so I wouldn't bother. -
Someone on the foo2zjs forum http://foo2zjs.rkkda.com/forum/read.php?9,421,430#msg-430
wrote this:
$ ll /sw/bin/ps2pdf
-rwxr-xr-x 1 root admin 213 Mar 22 2006 /sw/bin/ps2pdf*
$ ll /sw/bin/gs
-rwxr-xr-x 1 root admin 3321532 Mar 22 2006 /sw/bin/gs*
$ ll /usr/bin/fooma*
-rwxr-xr-x 1 root wheel 3057 Apr 10 15:44 /usr/bin/foomatic-gswrapper*
-rwxr-xr-x 1 root wheel 210639 Apr 10 15:44 /usr/bin/foomatic-rip*
What the hell do I have to do? Should I type those in the terminal? 'II' is not a command though. I asked the person who wrote that what he/she wants me to do, but as that is not such a great forum, i doubt i'll get an answer within the next 48 hours (if any at all). -
that's not "II", that's "LL" in small caps: ll. That's is a common alias of "ls -l", but I think it is not set up in OS X by default. So instead of typing ll type ls -l (LS - L, in small caps).
But, that simply lists the files specified. There is no "sw" directory in OS X by default that I know of (neither in Linux), so I don't know where he got that. Anyways , as I said ps2pdf is a utility to convert postscript files into pdf, it is included in Linux by default but it doesn't seem to be in OS X. As I said that is only used in assembling the manual. I don't know what is "gs" - perhaps it is related to gswrapper.
And $ ll /usr/bin/fooma* should return the files we copied - or the newly installed files from the package, providing you substitute ll with ls -l as I said.
Not sure how this will help though, perhaps he just wants to find out if you have these files. -
I DID IT. I DID IT. IT WOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOORKS!!!
I re-did almost the whole thing. This time, after installing Foomatics-Rip, i copied the two files from the source (foomatic-rip and foomatic-gswrapper) directly into usr/bin. I also got the hotplug and cups module this time. After everything was done, I copy-pasted something to TextEdit, hit the print button, closed my eyes and crossed my fingers, and yaaaaaaaaaaaaaaaaaaaay!!!!! WOOKY, I would take you out for a dinner and a beer at a pub if you were here. Thank you thank you thank you.
By the way, do I need to do some of the installation process everytime i turn my laptop off and on?
THANKS
HP Laserjet 1018 on Mac OS X
Discussion in 'Apple and Mac OS X' started by sepandee, Jun 1, 2007.