|
From: Hin-Tak L. <hin...@ya...> - 2003-03-07 00:10:48
|
What exactly does "./ps2epl epl_test.ps /dev/lp0" says, after you do make install (you need to be root to access /dev/lp0)? There should be about 20-lines of debug messages per page attempting to print. And your printer model? (the script defaults to 5700L). Even if you get the model wrong (.e.g if you have a 5900L or a 5800L), the green light on the printer should flashes a few times, and then the red light comes on. If these didn't happen, your printer cable is broken. If you tested as non-root, you should see "permission denied" at least. What message did you see!!!??? Here are some answers, and some questions, and some tips, somethings to try, etc. (some of these should go into the next version of the FAQ...) but honestly your "doesn't work" is too brief - please help others to help yourself, by providing details. (1) is gs in a normal user's $PATH? Type 'gs -h', and also "which gs". I read that some printing systems on some distro put gs (particularly ESP ghostscript) in a hidden location accessible by default only by the print system itself. (in which case there should have been a message "command not found"!). (2) LPD-O-MATIC is a layer on top of this plugin in. You need the plugin for printing, and LPD-O-MATIC to add some user-friendliness. (3) the rpm dependency check is rather redhat-centric (i.e. it is a bug/limitation). but if you can verfiy that you can run "gs -h", and it has the right version, ijs device present, etc it should be safe to do "rpm --nodeps -i <binary rpm>" on a recent linux distro. (This is what I do on Slackware). (4) (do this as root!) type 'echo rubbish > /dev/lp0' . The green light on your printer should switch off and the red light comes on. (yes, this crashes your printer and now you have to reset it by switching it off and on again). If your printer didn't crash, your printer cable is broken, your kernel's parallel port support is broken, or the physical parallel port hardware on your motherboard is broken. JAn Ansgar wrote: > Hello, > > first and foremost I have to say that this project is great! It really will > solve an annoying problem of a friend of mine, if I get it to work. > > He is running a Suse 8.1 with ESP Ghostscript 7.05.3 According to all I've > read this gs version should be fine for the driver, right? He uses LPRNG and > is also sharing the printer through a raw printqueue with Windows Clients. > > /etc/printcap looks like this: > > lp:\ > :lp=/dev/lp0:\ > :sd=/var/spool/lpd/lp:\ > :lf=/var/spool/lpd/lp/log:\ > :af=/var/spool/lpd/lp/acct:\ > :la@:\ > :tr=:cl:sh: > > Since I am quite a newbie to Linux (my friend is even newbier, so in his > eyes I'm an expert ;-) and hope for a quick installation at his house, I am now > wondering which would be the "foolproof" way to get the printer working. > > Should I use LPD-O-MATIC from linuxprinting.org, or is your GS-IJS Plugin > v0.2.2 more safe to install? Will any installation affect my raw printing > queue for windows? I'm really glad I got at least that one to work, so that I > don't want to mess with that... I guess there shouldn't be a problem, because I > print the files directly on /dev/lp0, right? > If it works, it will automatically print faxes received with hylafax on the > linux machine. I'll hope the tiff2ps and ps2epl conversion will work > reliably. > > In a very quick attempt, I have tried to get the printer running on a Suse > 8.0 with GS 6.53 and the same raw printing queue by compiling your plugin on > the machine, but the printer didn't do anything when sending the epl file to > him. The rpm from your page wouldn't install because of a failed gs-fonts > dependency. Suse doesn't offer a gs-fonts RPM but supplies a gs-fonts-std > instead. Don't know if that was the problem... Anyway, the problems with Suse 8.0 > were just for the protocol because I have to get it running on Suse 8.1 now. > > So if anybody has anserws to my questions or any other helpful comments for > an Suse 8.1 installation, I'd be very thankful! > > Cheers, > > Jan > __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com |