Menu

Work with ghostscript v9?

Help
Kent Tong
2012-12-28
2013-05-09
  • Kent Tong

    Kent Tong - 2012-12-28

    Hi,

    Does it work with gs v9? I am using  v9.06. Thanks!

     
  • Hin-Tak Leung

    Hin-Tak Leung - 2012-12-28

    Yes, it does.

     
  • Kent Tong

    Kent Tong - 2012-12-29

    Thanks! Is it supposed to work in 64bit? I can't get it to work in Ubuntu 12.10 64bit. But if it is supposed to work, I'll try to look further to check what's wrong.

     
  • Hin-Tak Leung

    Hin-Tak Leung - 2012-12-29

    Been using it on 64-bi linux for at least 4 years.

    $ ls -l /usr/bin/ijs_server_epsonepl
    -rwxr-xr-x. 1 root root 114840 Jul  5  2008 /usr/bin/ijs_server_epsonepl

    $ file /usr/bin/ijs_server_epsonepl
    /usr/bin/ijs_server_epsonepl: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, BuildID=0x735a70d8bd16b52451041835a64b3b039b92fbb0, stripped

     
  • Kent Tong

    Kent Tong - 2012-12-30

    What could be wrong if the printer (EPL 6200L) has no response at all after sending a .epl file to it? Below is the steps I took:
    1)  ./ps2epl epl_test.ps
    2) cat epl_test.epl > /dev/usb/lp0

    The device path /dev/usb/lp0 is definitely correct as it will disappear if I unplug the USB cable.

    In fact, even if I send it a text file (cat /etc/resolv.conf > /dev/usb/lp0), nothing happens. I don't know if it is supposed to allow plain text input though.

    Thanks in advance for any idea!

     
  • Kent Tong

    Kent Tong - 2012-12-30

    also, the printer works fine in Windows and Kubuntu 12.04 (I am now using 12.10).

     
  • Hin-Tak Leung

    Hin-Tak Leung - 2013-01-02

    Difficult to say, especially since you mentioned it worked with Kubuntu 12.04 - but presumably you mean it does not work any more with newer Linux'es or upgrading to 64-bit. AFAIK there has not been any code change for 4-6 years. (I am using a binary built 4 years ago, and it looks like the last cvs commit was made 6 years ago)

     
  • Kent Tong

    Kent Tong - 2013-01-05

    In Kubuntu (where the printer works), I tried using the following to generate a file in the EPL langauge:

    gs -dBATCH -dSAFER -dNOPAUSE -sProcessColorModel=DeviceGray -dBitsPerSample=1 -sDEVICE=ijs -sIjsServer=ijs_server_epsonepl -dIjsUseOutputFD -sDeviceManufacturer=Epson -sDeviceModel=EPL6200L -sIjsParams=EplFlowControl=off,EplDpi=300,EplDensity=3,EplRitech=off,EplTonerSave=on, -sOutputFile=- testpage.pdf

    then send it to the printer using:

    cat testpage.epl > /dev/usb/lp0

    But the printer shows that there is a protocol error (red light on and green light flashing). How to properly test it?

    Thanks!

     
  • Hin-Tak Leung

    Hin-Tak Leung - 2013-01-05

    I am a bit confused - so did the printer ever work on some version of Kubuntu at all? You seem to imply that it did work in an older version but not in the newer version.

    One thing you should/could try is to make sure that cups is not running if you are doing cat file > /dev/usb/lp0 . Shutting down udevd and other things that might be playing with /dev/usb/lp0 would also be a good idea. see "man udevadm" as well as cups's ducumentation for details.

     
  • Kent Tong

    Kent Tong - 2013-01-06

    The situation is that it works in Kubuntu 12.04 but not in Ubuntu 12.10. I ran the above test in  Kubuntu 12.04 with the intention of finding a diagnosis path which I will repeat in Ubuntu 12.10.

    Thanks for the suggestion of shutting down cups and etc. I will give it a go. I have to get this diagnosis path working first in Kubuntu 12.04.

     
  • Kent Tong

    Kent Tong - 2013-01-10

    I tried stopping cups and udev, but the result is the same: the printer lights indicate a protocol error (red light on and green light flashing). Any way to test? Thanks!

    $ stop cups
    $ stop udev
    $ cat testpage.epl > /dev/usb/lp0

     
  • Hin-Tak Leung

    Hin-Tak Leung - 2013-01-11

    I think one important question to ask is why one of your boxes work and the other does not. Whether it is 32-bit/64-bit or new/old Ubuntu or what not.

    One thing I just thought of, is to generate the test file on the plaform that works, and copy over and cat from the one that does not. If that works, that it would be a 32-bit/64-bit bug in epsonepl which we haven't noticed; if that doesn't work either, at least it is one possibility eliminated.

     
  • Kent Tong

    Kent Tong - 2013-01-11

    That's exactly what I am trying to do. But the problem is, I can't even print the test EPL file in the working platform.

     

Log in to post a comment.

MongoDB Logo MongoDB