+ Post New Thread
Results 1 to 15 of 15
*nix Thread, CUPS slowness :( in Technical; OK... as you are all aware I have been tinkering with CUPS and Pykota. I am currently using the box ...
  1. #1

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,600
    Thank Post
    109
    Thanked 769 Times in 598 Posts
    Rep Power
    181

    CUPS slowness :(

    OK... as you are all aware I have been tinkering with CUPS and Pykota. I am currently using the box with just one queue - implementation brought forward by the driver going mental on my Win 2003 box.

    Anyway... jobs seem to take an age to pop out! From my readings on the net, it seems that Ghostscript/EPS may be to blame but no fixes are forthcoming . Any ideas on how to fix would be gratefully received.

  2. #2

    Join Date
    Sep 2005
    Location
    Handsworth Grammar School
    Posts
    147
    Thank Post
    0
    Thanked 2 Times in 2 Posts
    Rep Power
    19

    Re: CUPS slowness :(

    Have you tried downloading ESP Ghostscript version 8.15.4 from the cups website? www.cups.org/espgs/index.php

  3. #3

    Join Date
    Mar 2007
    Location
    St. Albans, Hertfordshire
    Posts
    22
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Re: CUPS slowness :(

    What driver are you using?

    Is this a postscript printer or are you using PCL and passing it through the server as raw data?

    If you are using the CUP's Windows Drivers then this may be your problem. We had a similar problem that didn't support postscript and therefore GhostScript took ages to do its thing!

  4. #4

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,600
    Thank Post
    109
    Thanked 769 Times in 598 Posts
    Rep Power
    181

    Re: CUPS slowness :(

    I'm currently running ESP v8.15.3.dfsg from Debian Testing.

    I am using the CUPs Windows Postscript Drivers on the clients and then the Foomatic drivers on the server.

    Is it worth me upgrading the GS version?

  5. #5

    Join Date
    Mar 2007
    Location
    St. Albans, Hertfordshire
    Posts
    22
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Re: CUPS slowness :(

    Hard to say.

    I had many issues with the Foomatic Filters and cups drivers.. even though i upgraded the ESP version to 8.15.3 and then even switched to version 8.54 of GS (Non ESP). Nothing solved my inability to print. (I switched back to PCL Drivers after this)

    Can you post your Foomatic Logs/Cups Logs

    If foomatic isnt logging, reconfigure foomatic-filters using dpkg and enable logging. the log file will be dumped into /tmp/.

    This may shed some light onto what's actually happening on the server. It could even be something like locales not being set properly!

  6. #6


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339

    Re: CUPS slowness :(

    I recall reading from the samba manual that if the printer is a true postscipt printer then it's best to print directly to postscript. Might not help you though ..

  7. #7

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,804
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    Re: CUPS slowness :(

    Are you using Psyco?

  8. #8

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,600
    Thank Post
    109
    Thanked 769 Times in 598 Posts
    Rep Power
    181

    Re: CUPS slowness :(

    Quote Originally Posted by Geoff
    Are you using Psyco?
    Since I've never heard of it... no.

    The printers are all PCL-based HPs without postscript.

    I'll try scouring the logs tomorrow... it's not as if the things aren't printing... they just take a ridiculous amount of time. Although I do have a problem printing to my Business Inkjet 3000 printers but I'll fix that once I've done this.

  9. #9

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,600
    Thank Post
    109
    Thanked 769 Times in 598 Posts
    Rep Power
    181

    Re: CUPS slowness :(

    @Geoff: So you think that Python might be slowing things down?

    If that is the case, I could quickly test the theory by creating a second queue to the same printer, without the PyKota part. This would narrow things down a bit if CUPS-only is quick and CUPS+PyKota is slow.... hmmmmmmm

  10. #10

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,804
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    Re: CUPS slowness :(

    If your printers are PCL/PCLXL and your not using psyco, yes. It makes a massive difference. At least according to the PyKota docs.

  11. #11

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,600
    Thank Post
    109
    Thanked 769 Times in 598 Posts
    Rep Power
    181

    Re: CUPS slowness :(

    Hmmmm.... well my scientific experiment has shown that without Pykota my test document takes approx. 17s to appear at the printer but with PyKota it takes approx. 31s!!!

    Looks like I may need to take a look at Psyco.

  12. #12

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,600
    Thank Post
    109
    Thanked 769 Times in 598 Posts
    Rep Power
    181

    Re: CUPS slowness :(

    I already have Pysco 1.5.1-3 installed.

    I have also tried installing pscopg to see if that has an impact... alas it does not

  13. #13

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,600
    Thank Post
    109
    Thanked 769 Times in 598 Posts
    Rep Power
    181

    Re: CUPS slowness :(

    Sussed it!!!!

    It was the accounting method.... I was using hardware(pjl) and a test with software() speeds things up no end. I really want to change to SNMP though.

  14. #14

    Join Date
    Mar 2007
    Location
    St. Albans, Hertfordshire
    Posts
    22
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Re: CUPS slowness :(

    I have only every gotten Software() accounting to work with our Brother Printers. Maybe its limitation with hardware.. if your using postscript drivers, how much memory is assigned to processing postscript in device options?

  15. #15

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,600
    Thank Post
    109
    Thanked 769 Times in 598 Posts
    Rep Power
    181

    Re: CUPS slowness :(

    @NeoS: I only have HP printers - I don't like brother ones :P

    As I mentioned above, the hardware accounting works but is incredibly slow (at leat the pjl type since I haven't managed to get the SNMP type working YET).

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 4
    Last Post: 20th January 2009, 09:02 PM
  2. Samba/Cups print server
    By Geoff in forum *nix
    Replies: 7
    Last Post: 30th May 2007, 03:52 PM
  3. Replies: 1
    Last Post: 18th April 2007, 08:01 AM
  4. Replies: 14
    Last Post: 12th May 2006, 09:48 AM
  5. CUPS login
    By CyberNerd in forum *nix
    Replies: 6
    Last Post: 4th April 2006, 02:28 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •