Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120029 - ghostscrip-afpl-8.53-r1 -> hl1250 (unkonwn device)
Summary: ghostscrip-afpl-8.53-r1 -> hl1250 (unkonwn device)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-23 02:24 UTC by Alexander Jenisch
Modified: 2006-02-18 10:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
needed to use hl1250 based printers (ghostscript-8.53-hl1250.patch,2.08 KB, patch)
2006-01-24 23:32 UTC, Alexander Jenisch
Details | Diff
log output showing the error (5682-ghostscript-afpl-8.53-r2.log,181.26 KB, text/plain)
2006-01-26 12:40 UTC, Stefan Schweizer (RETIRED)
Details
the file is located in ghostscript-afpl/files (gdevhl12.c.patch,385 bytes, patch)
2006-01-26 15:01 UTC, Alexander Jenisch
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Jenisch 2006-01-23 02:24:14 UTC
even though it's been supposedly added, it seems there's something missing. i've once edited the necessary files by hand, but you could easily make a patch against the those files as described here:

http://www.linuxprinting.org/show_driver.cgi?driver=hl1250

i thought this was already fixed in bug #83279. whatever was fixed in that release, it's sadly not working for me:

D [23/Jan/2006:11:16:12 +0100] [Job 3] AFPL Ghostscript 8.53 (2005-10-20)
D [23/Jan/2006:11:16:12 +0100] [Job 3] Copyright (C) 2005 artofcode LLC, Benicia , CA.  All rights reserved.
D [23/Jan/2006:11:16:12 +0100] [Job 3] This software comes with NO WARRANTY: see  the file PUBLIC for details.
D [23/Jan/2006:11:16:12 +0100] [Job 3] Unknown device: hl1250
D [23/Jan/2006:11:16:12 +0100] [Job 3] Unrecoverable error: undefined in .uninst allpagedevice
D [23/Jan/2006:11:16:12 +0100] [Job 3] Operand stack:
D [23/Jan/2006:11:16:12 +0100] [Job 3] defaultdevice
D [23/Jan/2006:11:16:12 +0100] [Job 3] renderer return value: 1
D [23/Jan/2006:11:16:12 +0100] [Job 3] renderer received signal: 1
D [23/Jan/2006:11:16:12 +0100] [Job 3] tail process done writing data to STDOUT
D [23/Jan/2006:11:16:12 +0100] [Job 3] KID4 finished
D [23/Jan/2006:11:16:12 +0100] [Job 3] Process dying with "Possible error on ren derer command line or PostScript error. Check options.", exit stat: 3
D [23/Jan/2006:11:16:12 +0100] [Job 3] Possible error on renderer command line o r PostScript error. Check options.
D [23/Jan/2006:11:16:12 +0100] [Job 3] KID4 exited with status 0
D [23/Jan/2006:11:16:12 +0100] [Job 3] KID3 exited with status 3
D [23/Jan/2006:11:16:12 +0100] [Job 3] Renderer exit stat: 3
D [23/Jan/2006:11:16:12 +0100] [Job 3] Renderer process finished
D [23/Jan/2006:11:16:12 +0100] [Job 3] Killing process 19025 (KID3)
D [23/Jan/2006:11:16:12 +0100] [Job 3] Process dying with "Error closing rendere r", exit stat: 3
D [23/Jan/2006:11:16:12 +0100] [Job 3] Error closing renderer
E [23/Jan/2006:11:16:12 +0100] PID 19023 stopped with status 3!
D [23/Jan/2006:11:16:12 +0100] UpdateJob: job 3, file 0 is complete.

i'd really appreciate it if you could fix this once and for all. this "bug" haunted me over a 1 1/2 years now and it took me ages to find out, why my printer won't do anything at all.
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2006-01-24 12:07:38 UTC
Can you please attach a patch for the ebuild?
Comment 2 Alexander Jenisch 2006-01-24 12:44:52 UTC
what exactly should i do? i'm not familiar with ebuilds? or do you need a patch for the sources that need to be changed?
Comment 3 Stefan Schweizer (RETIRED) gentoo-dev 2006-01-24 13:51:25 UTC
yes a source patch, please
Do it like

cp ghostscript-sources ghostscript-sources.orig -R

cd ghostscript-sources.orig
(do the magic that is needed)
cd ..

than create the patch:
diff -ur ghostscript-sources.orig ghostscript-sources > patch
Comment 4 Alexander Jenisch 2006-01-24 23:32:21 UTC
Created attachment 78054 [details, diff]
needed to use hl1250 based printers

this is my first patch, so please don't expect too much :D.
Comment 5 Stefan Schweizer (RETIRED) gentoo-dev 2006-01-26 12:40:13 UTC
Created attachment 78211 [details]
log output showing the error

It does not compile for me that way :(

Can you please have a look at the output?
It is in german but judging by your email that should be no problem for you.
Comment 6 Alexander Jenisch 2006-01-26 15:01:02 UTC
Created attachment 78228 [details, diff]
the file is located in ghostscript-afpl/files

i don't know if this is really a good idea, but the message on this position in the file clearly states to change it from 1 to 0. i think this might also be the problem, why printing with 1200x600 isn't really working here on my printer.

then again, it gives me a headache anyways. again, only printing empty pages from firefox and doing nothing at all from within openoffice 2.0 even though i can print test testpage from the webinterface and the alignmargins script prints the file. windows->samba->cups->printer works too, but then again, this uses the windows drivers.
Comment 7 Stefan Schweizer (RETIRED) gentoo-dev 2006-02-07 09:59:05 UTC
You could also just use ghostscript-esp. Why do you need -afpl?
Comment 8 Alexander Jenisch 2006-02-07 11:04:54 UTC
i tried serveral ghostscript packages. afpl seemed to be the most advanced and still under development, so i ended up here. what does it matter anyways and why are there drivers thrown out of ghostscript?
Comment 9 Stefan Schweizer (RETIRED) gentoo-dev 2006-02-07 11:12:01 UTC
I guess because of the license - afpl is commercial or rather anti-commercial.
Maybe hl1250 code is not compatible with that.

And I think -esp-8.15.1 is the most advanced, because that is the most recent opensource-developed ghostscript.
Comment 10 Stefan Schweizer (RETIRED) gentoo-dev 2006-02-07 15:34:57 UTC
http://genstef.homelinux.org/ghostscript-afpl-8.53-r3.ebuild

please try
Comment 11 Stefan Schweizer (RETIRED) gentoo-dev 2006-02-18 10:32:05 UTC
ok, I added the ebuild - I hope it works.