Opened 8 years ago

Closed 7 years ago

#123 closed defect (no change needed)

Unable to get scanline 0! when sending test page

Reported by: Lewis Rosenthal Owned by:
Priority: Feedback pending Milestone:
Component: cups Version:
Severity: highest Keywords:
Cc:

Description

ThinkPad? T60
cups 2.1.3
HP PhotoSmart P1000 connected via USB
Arca Noae USB 11.14
usbcalls 20140416
i686 arch

The summary may be incomplete. usb.exe simply sees:

usb://Unknown/Printer

whereas the same printer connected to my T43 (same cable) with Paul's cups 1.4 produces a more useful URI:

usb://HP/PHOTOSMART%20P1000?serial=MX0AG1D1V7HP

Same error (as reported in the summary) with Gutenrprint vs Gutenprint simplified.

Sending a test page from cups admin page results in no data being sent to printer and the error listed in the summary.

Sending data to the printer via WPS object (straight to USB) produces output (though raw postscript).

Attachments (2)

error_log (199.9 KB) - added by Lewis Rosenthal 8 years ago.
cups error log
printers.conf (622 bytes) - added by Lewis Rosenthal 8 years ago.
printers conf

Download all attachments as: .zip

Change History (12)

comment:1 Changed 8 years ago by Silvan Scherrer

Priority: majorFeedack pending

please attach the /@unixroot/etc/cups/printers.conf
and shouldn't usbcalls match the USB stack?

comment:2 Changed 8 years ago by Lewis Rosenthal

Resolution: invalid
Status: newclosed

usbcalls in use is the one from the Arca Noae 11.14 stack (first in LIBPATH). usbcalls-20140416 installed to satisfy RPM dependency.

Removed usbcalls-20140416 via rpm -e (ignored deps). Same result.

However, this does appear to be a USB issue, as changing the USB stack did get a recognizable printer string. Closing this. I have other issues to report with cups 2.1.3 and hplip, however.

comment:3 Changed 8 years ago by Lewis Rosenthal

Resolution: invalid
Status: closedreopened

Reopening, as I can repeat this with Lars' 208 USB stack (which properly reports the printer version).

Using:

cups-debuginfo-2.1.3-7.oc00.i686
cups-filesystem-2.1.3-7.oc00.noarch
cups-lpd-2.1.3-7.oc00.i686
cups-2.1.3-7.oc00.i686
cups-libs-2.1.3-7.oc00.i686
cups-filters-debuginfo-1.8.2-5.oc00.i686
cups-filters-1.8.2-5.oc00.i686
cups-client-2.1.3-7.oc00.i686
cups-filters-libs-1.8.2-5.oc00.i686
ghostscript-9.18-5.oc00.i686
ghostscript-fonts-6.0-1.oc00.noarch
gutenprint-extras-5.2.11-3.oc00.i686
gutenprint-libs-5.2.11-3.oc00.i686
gutenprint-cups-5.2.11-3.oc00.i686
gutenprint-doc-5.2.11-3.oc00.i686
gutenprint-5.2.11-3.oc00.i686
hplip-common-3.16.3-1.oc00.i686
hplip-3.16.3-1.oc00.i686
hplip-libs-3.16.3-1.oc00.i686

ThinkPad T60

MakeModel HP PhotoSmart P1000 - CUPS+Gutenprint v5.2.11
DeviceURI usb://HP/PHOTOSMART%20P1000?serial=MX0AG1D1V7HP

Same condition with VIRTUALADDRESSLIMIT set to 2048 and 1536. System has 3GB installed RAM, and mem reports 3071MB.

It appears that we are running out of memory:

D [23/Oct/2016:17:16:52 +0500] [Job 24] Error: /unknownerror in --showpage--
D [23/Oct/2016:17:16:52 +0500] [Job 24] Operand stack:
D [23/Oct/2016:17:16:52 +0500] [Job 24] (c:\\\\var\\\\temp\\\\gstER5Bp)   --nostringval--   1   true
D [23/Oct/2016:17:16:52 +0500] [Job 24] Execution stack:
D [23/Oct/2016:17:16:52 +0500] [Job 24] %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--
 2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1971   1   3   %o
parray_pop   1970   1   3   %oparray_pop   1954   1   3   %oparray_pop   --nostringval--   --nostringval--   --nostringv
al--   2   1   1   --nostringval--   %for_pos_int_continue   --nostringval--   --nostringval--   1842   2   9   %oparray
_pop   --nostringval--   --nostringval--
D [23/Oct/2016:17:16:52 +0500] [Job 24] Dictionary stack:
D [23/Oct/2016:17:16:52 +0500] [Job 24] --dict:1215/1684(ro)(G)--   --dict:1/20(G)--   --dict:83/200(L)--   --dict:83/20
0(L)--   --dict:132/256(ro)(G)--   --dict:283/300(ro)(G)--   --dict:28/32(L)--   --dict:6/8(L)--   --dict:26/40(L)--
D [23/Oct/2016:17:16:52 +0500] [Job 24] Current allocation mode is local
D [23/Oct/2016:17:16:52 +0500] [Job 24] Last OS error: Not enough memory
D [23/Oct/2016:17:16:52 +0500] [Job 24] GPL Ghostscript 9.18: Unrecoverable error, exit code 1
I [23/Oct/2016:17:16:52 +0500] [Job 24] Rendering completed
D [23/Oct/2016:17:16:52 +0500] Discarding unused job-progress event...
D [23/Oct/2016:17:16:52 +0500] Discarding unused printer-state-changed event...
D [23/Oct/2016:17:16:53 +0500] [Job 24] Gutenprint: Image_width 2400
D [23/Oct/2016:17:16:53 +0500] [Job 24] Gutenprint: Image_width 2400
D [23/Oct/2016:17:16:53 +0500] [Job 24] PID 1341 (/@unixroot/usr/lib/cups/filter/gstoraster.exe) stopped with status 256
 (Unknown error 156)

Attaching error_log and printer.conf.

Changed 8 years ago by Lewis Rosenthal

Attachment: error_log added

cups error log

Changed 8 years ago by Lewis Rosenthal

Attachment: printers.conf added

printers conf

comment:4 Changed 8 years ago by Silvan Scherrer

is it a big document? Do small documents print?

comment:5 Changed 8 years ago by Silvan Scherrer

and could you eventually test with the socket backend?

comment:6 Changed 7 years ago by Lewis Rosenthal

Will re-test later this week with current components, also with socket backend.

comment:7 Changed 7 years ago by Silvan Scherrer

have you been able to re-test?

comment:8 Changed 7 years ago by Lewis Rosenthal

I will be local to that setup later this week, and have marked something in my calendar to remind me to test. Sorry for the long delay on this one. One way or another, I'll follow up before the end of the week.

comment:9 Changed 7 years ago by Silvan Scherrer

nice comment above :) good you didn't say by the end of which week. :)

comment:10 Changed 7 years ago by Lewis Rosenthal

Resolution: no change needed
Status: reopenedclosed

I was in proximity to the printer, but without a suitable workstation. I wanted to test this from a fresh ArcaOS 5.0.1 installation, so I could eliminate anything odd which might be lurking in my "usual" setup.

The good news is that with:

cups-filesystem-2.1.3-7
cups-filters-libs-1.8.2-5
cups-2.1.3-7
cups-filters-1.8.2-5
cups-client-2.1.3-7
gutenprint-cups-5.2.11-3
cups-libs-2.1.3-7

configuring the printer as a PhotoSmart P1000 using Gutenprint (simplified), I get data to the printer, and no filter failures, using either USB or socket.

The USB stack is Arca Noae 11.16. If the issue persists on the T43, I will have to chalk it up to some configuration issue on the machine itself.

Sorry this one has taken so long for me to revisit, Silvan!

Note: See TracTickets for help on using tickets.