On 3/4/22 10:21, GianPiero Puccioni wrote:
On 04/03/2022 18:49, Samuel Sieb wrote:
> On 3/4/22 02:10, GianPiero Puccioni wrote:
>> Hi,
>>
>> I am having problem installing a printer for a friend.
>> It is a new F35 install and the printer is a Samsung ML-1640
>> connected via USB.
>> The installation via CUPS seems good but if I try the "Test Page"
>> nothing happens and "journalctl -u cups -e "
>>
>> Mar 03 19:34:18 leibniz cupsd[731]: [Job 75] Processing page 1...
>> Mar 03 19:34:18 leibniz cupsd[731]: [Job 75] Waiting for read thread
>> to exit...
>> Mar 03 19:34:18 leibniz cupsd[731]: [Job 75] Error: /ioerror in
>> --showpage--
>> Mar 03 19:34:18 leibniz cupsd[731]: [Job 75] Operand stack:
>> Mar 03 19:34:18 leibniz cupsd[731]: [Job 75]
>> (/var/spool/cups/tmp/gs_joLcqE) --nostringval-- 1 true
>> Mar 03 19:34:18 leibniz cupsd[731]: [Job 75] Execution stack:
>> Mar 03 19:34:18 leibniz cupsd[731]: [Job 75] %interp_exit .runexec2
>> --nostringval-- showpage --nostringval-- 2 %stopped_push >
>> Mar 03 19:34:18 leibniz cupsd[731]: [Job 75] Dictionary stack:
>> Mar 03 19:34:18 leibniz cupsd[731]: [Job 75] --dict:772/1123(ro)(G)--
>> --dict:1/20(G)-- --dict:81/200(L)-- --dict:81/200(L)-- --dic>
>> Mar 03 19:34:18 leibniz cupsd[731]: [Job 75] Current allocation mode
>> is local
>> Mar 03 19:34:18 leibniz cupsd[731]: [Job 75] Last OS error: Broken pipe
>> Mar 03 19:34:18 leibniz cupsd[731]: [Job 75] GPL Ghostscript 9.55.0:
>> Unrecoverable error, exit code 1
>> Mar 03 19:34:18 leibniz cupsd[731]: [Job 75] PID 13934
>> (/usr/lib/cups/filter/gstoraster) stopped with status 1.
>>
>> The driver is Samsung_ML-1640_Series.ppd and I copied "rastertospl"
>> in the filter dir but it seems it doesn't get to that point.
>
> Where did you get the ppd file from and rastertospl? Make sure that
> rastertospl is executable and has all the libraries it needs.
>
Both extracted from the file uld_V1.00.39_01.17.tar.gz downloaded from
https://support.hp.com/it-it/drivers/selfservice/samsung-ml-1640-laser-pr...
> Make sure that rastertospl is executable and has all the libraries it
needs.
But the error seems to be from a different filter "gstoraster".
I'll check that when I have access again but I traid ldd on both on my
machine (another recent F35) and it was OK.
The important lines are
Mar 03 19:34:18 leibniz cupsd[731]: [Job 75] Error: /ioerror in
--showpage--
and
Mar 03 19:34:18 leibniz cupsd[731]: [Job 75] Last OS error: Broken pipe
Mar 03 19:34:18 leibniz cupsd[731]: [Job 75] GPL Ghostscript 9.55.0:
Unrecoverable error, exit code 1
Mar 03 19:34:18 leibniz cupsd[731]: [Job 75] PID 13934
(/usr/lib/cups/filter/gstoraster) stopped with status 1.
gstoraster is dying because it can't write to whatever program is
supposed to be reading its output. Check the full journal logs to see
if there are any other messages at that time that could indicate what's
happening.