apple / cups

Apple CUPS Sources
https://www.cups.org
Apache License 2.0
1.93k stars 464 forks source link

hpgltops takes all resources and print never completes when printing certain type files #1415

Closed michaelrsweet closed 18 years ago

michaelrsweet commented 18 years ago

Version: 1.2-current CUPS.org User: hdearing

Whenever we send a certain type of file to a cups print queue, hpgltops starts and claims most or all of the resources and then never finishes and we never get a printout. The file contains pcl and it looks like hpgl.

michaelrsweet commented 18 years ago

CUPS.org User: hdearing

We purchased cups from Easy Software Products. How do we go about getting support? In posting STR#1415 I got an email that says that I am not a member and may not be able to post to a members only list. Thank you in advance.

michaelrsweet commented 18 years ago

CUPS.org User: mike

The message you got was from the cups-bugs list moderation system; basically, unless you are subscribed to cups-bugs, we have to approve your posting which happens automatically when you post a STR.

ESP Print Pro support is available at:

http://www.easysw.com/support.php

That said, the PCL file you are trying to print will not work with the HP-GL/2 filter. It should clearly not consume all CPU, however, so we'll look at fixing this in CUPS 1.2/ESP Print Pro 5.

To print this file, use the "-oraw" option when printing.

michaelrsweet commented 18 years ago

CUPS.org User: mike

Fixed in Subversion repository.

michaelrsweet commented 18 years ago

"str1415.patch":

Index: hpgl-input.c

--- hpgl-input.c (revision 5146) +++ hpgl-input.c (working copy) @@ -3,7 +3,7 @@ *