Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cups-1.4svn-r7257 prints nothing on Sun Solaris[tm] 11 #2689

Closed
michaelrsweet opened this Issue Jan 26, 2008 · 4 comments

Comments

Projects
None yet
1 participant
@michaelrsweet
Copy link
Collaborator

michaelrsweet commented Jan 26, 2008

Version: 1.4-current
CUPS.org User: leojava

The system is a Sun X2100 (AMD Opteron) system running
"Sun Solaris Express Developer Edition 9/07 snv_70b X86".

Cups 1.4svn-r7257 was installed via this method:

bzcat cups-1.4svn-r7257-source.tar.bz2 | tar xpf -
cd cups-1.4svn-r7257
./configure --disable-gssapi -with-smfmanifestdir
make
/bin/su -
cd /export/home/toolbox/Download/cups-1.4svn-r7122
make install
/etc/rc3.d/S81cups start

Gutenprint 5.1.4 was installed via this method:

cd /export/home/toolbox/Download
bzcat gutenprint-5.1.4.tar.bz2 | tar xfp -
cd gutenprint-5.1.4
add "#include <strings.h>" to "./src/cups/rastertoprinter.c"

GIMPTOOL_CHECK=/opt/sfw/bin/gimptool GIMPTOOL2_CHECK=/usr/bin/gimptool-2.0 FOOMATIC_KITLOAD=/usr/lib/lp/bin/foomatic-rip ./configure --prefix=/usr --with-cups=/usr --enable-cups-ppds --disable-cups-1_2-enhancements --disable-translated-cups-ppds --disable-simplified-cups-ppds --disable-cups-level3-ppds --disable-libgutenprintui2 --with-foomatic --with-foomatic3 --without-ghostscript --without-gimp --without-gimp2

make
/bin/su -
cd /export/home/toolbox/Download/gutenprint-5.0.1.98.1
make install

Printing appears to be going thru this path:

lp/firefox/etc... ->
Cups 1.4 ->
GhostScript 8.61/Ghostscript Fonts 8.11 (pstoraster) ->
GutenPrint 5.1.4 (rastertogutenprint5.1) ->
Epson Stylus CX6400

I have monitored the "Print Test Page" via CUPS report level DEBUG
and have resolved any issues that appear to be hanging CUPS,
GhostScript, and/or GutenPrint. Full error_log is attached.
After that, I have set CUPS report level to INFO.

I have reduced the resolution to Draft to minimize computation
time. However, after 20+ minutes, the "lpstat -p ink -o ink" output
still shows:

bash-3.00$ lpstat -p ink -o ink
printer ink now printing ink-26. enabled since Mon Jan 21 23:37:58 2008
Gutenprint Printing page 1, 12%
ink-26 guest 17408 Mon Jan 21 23:37:58 2008
bash-3.00$

The only output going to the CUPS error log are the following every 70-71
seconds if I am monioring the servers at "http://localhost:631/printers/ink":

I [22/Jan/2008:00:05:05 +0700] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=2016)
I [22/Jan/2008:00:05:16 +0700] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=2017)
I [22/Jan/2008:00:05:26 +0700] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=2018)
I [22/Jan/2008:00:05:36 +0700] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=2019)
I [22/Jan/2008:00:06:25 +0700] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=2020)

@michaelrsweet

This comment has been minimized.

Copy link
Collaborator Author

michaelrsweet commented Jan 28, 2008

CUPS.org User: mike

General support is not available via the STR form. Please post to the CUPS forums and/or mailing lists for general support.

@michaelrsweet

This comment has been minimized.

Copy link
Collaborator Author

michaelrsweet commented Jan 28, 2008

"classes.conf":

Class configuration file for CUPS v1.4svn

Written by cupsd on 2008-01-21 22:38

@michaelrsweet

This comment has been minimized.

Copy link
Collaborator Author

michaelrsweet commented Jan 28, 2008

"cupsd.conf":

LogLevel info
SystemGroup sys root

Only listen for connections from the local machine.

Listen localhost:631
Listen /var/run/cups/cups.sock

Show shared printers on the local network.

Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseRemoteProtocols CUPS
BrowseLocalProtocols
DefaultAuthType Basic

Allow localhost

Restrict access to the server...

Order allow,deny
Allow localhost

<Location /admin>
Encryption Required
Allow localhost

Restrict access to the admin pages...

Order allow,deny
Allow localhost

<Location /admin/conf>
AuthType Default
Require user @System
Allow localhost

Restrict access to the configuration files...

Order allow,deny
Allow localhost



Require user @owner @System
Order deny,allow


AuthType Default
Require user @System
Order deny,allow


AuthType Default
Require user @System
Order deny,allow


Require user @owner @System
Order deny,allow


Order deny,allow

@michaelrsweet

This comment has been minimized.

Copy link
Collaborator Author

michaelrsweet commented Jan 28, 2008

"printers.conf":

Printer configuration file for CUPS v1.4svn

Written by cupsd on 2008-01-21 23:27

Info EPSON Stylus CX6400 Location In the pen DeviceURI usb://EPSON/Stylus%20CX6400 State Idle StateTime 1200982426 Accepting Yes Shared Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 OpPolicy default ErrorPolicy stop-printer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.