HP LaserJet 1020 :  foo2zjs - foo2hp - foo2xqx - foo2lava - foo2qpdl - foo2oak
Support for linux printer drivers
The fastest message board... ever.
 
Custom PageSize has broken (again) [solved]
Posted by: pavneet ()
Date: March 15, 2010 04:31PM

This may not be a foo2zjs issue, but I thought that I would post it here as well just in case someone else is facing a similar problem. I had previously reported a problem like this when upgrading from Ubuntu Hardy to Jaunty, which was resolved via this bug:

https://bugs.launchpad.net/ubuntu/+source/foomatic-filters/+bug/338999

This was resolved, and we had been functional since then.

I have now done a fresh Karmic installed, and am back to being unable to print using the Custom PageSize option. I too have suffered through the connectivity issues that are widely reported. I wonder if there is still an interdependency that is falling through the cracks. The connectivity thing seems to be hit and miss, and yes I did follow the instructions explicity. Anyway, here is the fresh bug report:

https://bugs.launchpad.net/ubuntu/+source/foomatic-filters/+bug/539242

The part of the /var/log/cups/error_log file that seems to point to a problem states:

Starting renderer with command: "foo2zjs-wrapper -P -z1 -L0 -r1200x600 -pCustom.198x450 -m1 -s7 "
D [15/Mar/2010:15:40:05 -0400] [Job 118] Starting process "kid3" (generation 1)
D [15/Mar/2010:15:40:05 -0400] [Job 118]
D [15/Mar/2010:15:40:05 -0400] [Job 118] Closing renderer
D [15/Mar/2010:15:40:05 -0400] [Job 118] Starting process "kid4" (generation 2)
D [15/Mar/2010:15:40:05 -0400] [Job 118] Starting process "renderer" (generation 2)
D [15/Mar/2010:15:40:05 -0400] [Job 118] JCL: %-12345X@PJL
D [15/Mar/2010:15:40:05 -0400] [Job 118] <job data>
D [15/Mar/2010:15:40:05 -0400] [Job 118]
D [15/Mar/2010:15:40:05 -0400] [Job 118] foo2zjs-wrapper: Custom page size [XY]DIM != 1-99999
D [15/Mar/2010:15:40:05 -0400] [Job 118] renderer exited with status 1

If there any ideas that anyone can offer, I'd be most grateful.

Thanks.



Edited 1 time(s). Last edit at 03/15/2010 07:11PM by rickrich.

Options: ReplyQuote
Re: Custom PageSize has broken (again)
Posted by: rickrich ()
Date: March 15, 2010 05:03PM

What does this say:
$ cd foo2zjs
$ foo2zjs-wrapper -P -z1 -L0 -r1200x600 -pCustom.198x450 -m1 -s7 testpage.ps > xxx
$ ls -l xxx
-rwxrwxr-x 1 rick rick 6876 2010-03-15 15:59 xxx

Options: ReplyQuote
Re: Custom PageSize has broken (again)
Posted by: pavneet ()
Date: March 15, 2010 05:29PM

$ foo2zjs-wrapper -P -z1 -L0 -r1200x600 -pCustom.198x450 -m1 -s7 testpage.ps > xxx
foo2zjs-wrapper: Custom page size [XY]DIM != 1-99999
$ ls -l xxx
-rw-r--r-- 1 pavneet pavneet 0 2010-03-15 17:27 xxx

Options: ReplyQuote
Re: Custom PageSize has broken (again)
Posted by: rickrich ()
Date: March 15, 2010 06:46PM

Did you upgrade?
2010-03-07	Rick Richardson <rick.richardson@comcast.net>
	* foo2*-wrapper: Bug fix for custom page size.  Some versions
	  of CUPS don't embed the size in the PS file:
	    %%BeginFeature: *CustomPageSize True
	    552.755920410156 765.354370117188 1 0.000000 0.000000
	  and only list it in the command line:
	    foo2zjs-wrapper -pCustom.533x765



Edited 1 time(s). Last edit at 03/16/2010 05:21PM by rickrich.

Options: ReplyQuote
Re: Custom PageSize has broken (again)
Posted by: pavneet ()
Date: March 15, 2010 06:54PM

Would you believe the one that downloaded was dated 3 Mar 2010? Just on the day that I built my Karmic machine. I'll download the latest version and give it a try. Thanks for the prompt look at the problem.

Regards.

PS: Is there a quick way to know which version I am running? I just happened to keep the foo2zjs.tar.gz file around.

Options: ReplyQuote
Re: Custom PageSize has broken (again)
Posted by: pavneet ()
Date: March 15, 2010 07:01PM

Brilliant! The new version worked like a charm out of the box.

PS: we are rolling out Karmic on a number of machines. Any suggestions as to mitigating against the connectivity problems? I am almost hesitant to reboot this desktop for fear of losing a connection with the 1020.

Thanks again for your kind help.

Regards.

Options: ReplyQuote


Sorry, only registered users may post in this forum.
This forum powered by Phorum.