* [Buildroot] problem with cups
@ 2016-11-26 8:07 Ajorian
2016-11-26 10:30 ` Arnout Vandecappelle
2016-11-26 12:27 ` Ajorian
0 siblings, 2 replies; 7+ messages in thread
From: Ajorian @ 2016-11-26 8:07 UTC (permalink / raw)
To: buildroot
hello every body. Im newbie with buildroot. I created an embedded system
using buildroot. i added cups, cups-filters and hplip to the project and
configured cups using /etc/cups/cupsd.conf file. then i added my hp1102
printer using web interface.
now my problem is that i get "filter error" and no thing happen for printer
(no action). i checked /var/log/cups/error_log and got bellow messages:
E [02/Jan/2000:23:03:37 +0000] Unable to open listen socket for address
[v1.::]:631 - Address family not supported by protocol.
W [02/Jan/2000:23:04:45 +0000] CreateProfile failed:
org.freedesktop.DBus.Error.ServiceUnknown:The name
org.freedesktop.ColorManager was not provided by any .service files
W [02/Jan/2000:23:04:45 +0000] CreateDevice failed:
org.freedesktop.DBus.Error.ServiceUnknown:The name
org.freedesktop.ColorManager was not provided by any .service files
W [02/Jan/2000:23:04:54 +0000] CreateProfile failed:
org.freedesktop.DBus.Error.ServiceUnknown:The name
org.freedesktop.ColorManager was not provided by any .service files
W [02/Jan/2000:23:04:54 +0000] CreateDevice failed:
org.freedesktop.DBus.Error.ServiceUnknown:The name
org.freedesktop.ColorManager was not provided by any .service files
E [02/Jan/2000:23:04:59 +0000] [Job 1] Job stopped due to filter errors;
please consult the error_log file for details.
D [02/Jan/2000:23:04:59 +0000] [Job 1] The following messages were recorded
from 23:04:58 to 23:04:59
D [02/Jan/2000:23:04:59 +0000] [Job 1] Adding start banner page "none".
D [02/Jan/2000:23:04:59 +0000] [Job 1] Adding end banner page "none".
D [02/Jan/2000:23:04:59 +0000] [Job 1] File of type
application/vnd.cups-pdf-banner queued by "root".
D [02/Jan/2000:23:04:59 +0000] [Job 1] hold_until=0
D [02/Jan/2000:23:04:59 +0000] [Job 1] Queued on "dfddfdfd" by "root".
D [02/Jan/2000:23:04:59 +0000] [Job 1] time-at-processing=946854298
D [02/Jan/2000:23:04:59 +0000] [Job 1] 4 filters for job:
D [02/Jan/2000:23:04:59 +0000] [Job 1] bannertopdf
(application/vnd.cups-pdf-banner to application/pdf, cost 32)
D [02/Jan/2000:23:04:59 +0000] [Job 1] pdftopdf (application/pdf to
application/vnd.cups-pdf, cost 66)
D [02/Jan/2000:23:04:59 +0000] [Job 1] pdftops (application/vnd.cups-pdf to
application/vnd.cups-postscript, cost 100)
D [02/Jan/2000:23:04:59 +0000] [Job 1] foomatic-rip
(application/vnd.cups-postscript to printer/dfddfdfd, cost 0)
D [02/Jan/2000:23:04:59 +0000] [Job 1] job-sheets=none,none
D [02/Jan/2000:23:04:59 +0000] [Job 1] argv[0]="dfddfdfd"
D [02/Jan/2000:23:04:59 +0000] [Job 1] argv[1]="1"
D [02/Jan/2000:23:04:59 +0000] [Job 1] argv[2]="root"
D [02/Jan/2000:23:04:59 +0000] [Job 1] argv[3]="Test Page"
D [02/Jan/2000:23:04:59 +0000] [Job 1] argv[4]="1"
D [02/Jan/2000:23:04:59 +0000] [Job 1]
argv[5]="job-uuid=urn:uuid:26b57b21-d528-3b88-614f-ebdd9980975d
job-originating-host-name=localhost date-time-at-creation=
date-time-at-processing= time-at-creation=946854298
time-at-processing=946854298"
D [02/Jan/2000:23:04:59 +0000] [Job 1] argv[6]="/var/spool/cups/d00001-001"
D [02/Jan/2000:23:04:59 +0000] [Job 1]
envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [02/Jan/2000:23:04:59 +0000] [Job 1]
envp[1]="CUPS_DATADIR=/usr/share/cups"
D [02/Jan/2000:23:04:59 +0000] [Job 1]
envp[2]="CUPS_DOCROOT=/usr/share/doc/cups"
D [02/Jan/2000:23:04:59 +0000] [Job 1]
envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [02/Jan/2000:23:04:59 +0000] [Job 1]
envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [02/Jan/2000:23:04:59 +0000] [Job 1]
envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [02/Jan/2000:23:04:59 +0000] [Job 1] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [02/Jan/2000:23:04:59 +0000] [Job 1] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [02/Jan/2000:23:04:59 +0000] [Job 1] envp[8]="HOME=/var/spool/cups/tmp"
D [02/Jan/2000:23:04:59 +0000] [Job 1]
envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [02/Jan/2000:23:04:59 +0000] [Job 1] envp[10]="SERVER_ADMIN=root at Ma"
D [02/Jan/2000:23:04:59 +0000] [Job 1] envp[11]="SOFTWARE=CUPS/2.1.4"
D [02/Jan/2000:23:04:59 +0000] [Job 1] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [02/Jan/2000:23:04:59 +0000] [Job 1] envp[13]="USER=root"
D [02/Jan/2000:23:04:59 +0000] [Job 1] envp[14]="CUPS_MAX_MESSAGE=2047"
D [02/Jan/2000:23:04:59 +0000] [Job 1]
envp[15]="CUPS_SERVER=/var/run/cups/cups.sock"
D [02/Jan/2000:23:04:59 +0000] [Job 1]
envp[16]="CUPS_ENCRYPTION=IfRequested"
D [02/Jan/2000:23:04:59 +0000] [Job 1] envp[17]="IPP_PORT=631"
D [02/Jan/2000:23:04:59 +0000] [Job 1] envp[18]="CHARSET=utf-8"
D [02/Jan/2000:23:04:59 +0000] [Job 1] envp[19]="LANG=en_US.UTF-8"
D [02/Jan/2000:23:04:59 +0000] [Job 1]
envp[20]="PPD=/etc/cups/ppd/dfddfdfd.ppd"
D [02/Jan/2000:23:04:59 +0000] [Job 1] envp[21]="RIP_MAX_CACHE=128m"
D [02/Jan/2000:23:04:59 +0000] [Job 1]
envp[22]="CONTENT_TYPE=application/vnd.cups-pdf-banner"
D [02/Jan/2000:23:04:59 +0000] [Job 1]
envp[23]="DEVICE_URI=hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q892BHSPR1a"
D [02/Jan/2000:23:04:59 +0000] [Job 1] envp[24]="PRINTER_INFO="
D [02/Jan/2000:23:04:59 +0000] [Job 1] envp[25]="PRINTER_LOCATION="
D [02/Jan/2000:23:04:59 +0000] [Job 1] envp[26]="PRINTER=dfddfdfd"
D [02/Jan/2000:23:04:59 +0000] [Job 1] envp[27]="PRINTER_STATE_REASONS=none"
D [02/Jan/2000:23:04:59 +0000] [Job 1] envp[28]="CUPS_FILETYPE=document"
D [02/Jan/2000:23:04:59 +0000] [Job 1]
envp[29]="FINAL_CONTENT_TYPE=application/vnd.cups-postscript"
D [02/Jan/2000:23:04:59 +0000] [Job 1] envp[30]="AUTH_I****"
D [02/Jan/2000:23:04:59 +0000] [Job 1] Started filter
/usr/lib/cups/filter/bannertopdf (PID 191)
D [02/Jan/2000:23:04:59 +0000] [Job 1] Started filter
/usr/lib/cups/filter/pdftopdf (PID 192)
D [02/Jan/2000:23:04:59 +0000] [Job 1] Started filter
/usr/lib/cups/filter/pdftops (PID 193)
D [02/Jan/2000:23:04:59 +0000] [Job 1] Started filter
/usr/lib/cups/filter/foomatic-rip (PID 194)
D [02/Jan/2000:23:04:59 +0000] [Job 1] Started backend
/usr/lib/cups/backend/hp (PID 195)
D [02/Jan/2000:23:04:59 +0000] [Job 1] \'CM Color Calibration\' Mode in
SPOOLER-LESS: Off
D [02/Jan/2000:23:04:59 +0000] [Job 1] Getting input from file
D [02/Jan/2000:23:04:59 +0000] [Job 1] foomatic-rip version 1.0.67
running...
D [02/Jan/2000:23:04:59 +0000] [Job 1] Parsing PPD file ...
D [02/Jan/2000:23:04:59 +0000] [Job 1] Added option ColorSpace
D [02/Jan/2000:23:04:59 +0000] [Job 1] Added option PageSize
D [02/Jan/2000:23:04:59 +0000] [Job 1] Added option Quality
D [02/Jan/2000:23:04:59 +0000] [Job 1] Added option Resolution
D [02/Jan/2000:23:04:59 +0000] [Job 1] Added option ImageableArea
D [02/Jan/2000:23:04:59 +0000] [Job 1] Added option PaperDimension
D [02/Jan/2000:23:04:59 +0000] [Job 1] Added option InputSlot
D [02/Jan/2000:23:04:59 +0000] [Job 1] Added option MediaType
D [02/Jan/2000:23:04:59 +0000] [Job 1] Added option Density
D [02/Jan/2000:23:04:59 +0000] [Job 1] Added option Copies
D [02/Jan/2000:23:04:59 +0000] [Job 1] pdftops - copying to temp print file
\"/var/spool/cups/tmp/000c13879b775\"
D [02/Jan/2000:23:04:59 +0000] [Job 1] Added option halftone
D [02/Jan/2000:23:04:59 +0000] [Job 1] Added option NupOrient
D [02/Jan/2000:23:04:59 +0000] [Job 1] Added option NupPages
D [02/Jan/2000:23:04:59 +0000] [Job 1] Added option Font
D [02/Jan/2000:23:04:59 +0000] [Job 1] Parameter Summary
D [02/Jan/2000:23:04:59 +0000] [Job 1] -----------------
D [02/Jan/2000:23:04:59 +0000] [Job 1] Spooler: cups
D [02/Jan/2000:23:04:59 +0000] [Job 1] Printer: dfddfdfd
D [02/Jan/2000:23:04:59 +0000] [Job 1] Shell: /bin/bash
D [02/Jan/2000:23:04:59 +0000] [Job 1] PPD file: /etc/cups/ppd/dfddfdfd.ppd
D [02/Jan/2000:23:04:59 +0000] [Job 1] ATTR file:
D [02/Jan/2000:23:04:59 +0000] [Job 1] Printer model: HP LaserJet Pro P1102
Foomatic/foo2zjs-z2 (recommended)
D [02/Jan/2000:23:04:59 +0000] [Job 1] Job title: Test Page
D [02/Jan/2000:23:04:59 +0000] [Job 1] File(s) to be printed:
D [02/Jan/2000:23:04:59 +0000] [Job 1] <STDIN>
D [02/Jan/2000:23:04:59 +0000] [Job 1] Ghostscript extra search path
(\'GS_LIB\'): /usr/share/cups/fonts
D [02/Jan/2000:23:04:59 +0000] [Job 1] Printing system options:
D [02/Jan/2000:23:04:59 +0000] [Job 1] Pondering option
\'job-uuid=urn:uuid:26b57b21-d528-3b88-614f-ebdd9980975d\'
D [02/Jan/2000:23:04:59 +0000] [Job 1] Unknown option
job-uuid=urn:uuid:26b57b21-d528-3b88-614f-ebdd9980975d.
D [02/Jan/2000:23:04:59 +0000] [Job 1] Pondering option
\'job-originating-host-name=localhost\'
D [02/Jan/2000:23:04:59 +0000] [Job 1] Unknown option
job-originating-host-name=localhost.
D [02/Jan/2000:23:04:59 +0000] [Job 1] Pondering option
\'date-time-at-creation=\'
D [02/Jan/2000:23:04:59 +0000] [Job 1] Unknown option
date-time-at-creation=.
D [02/Jan/2000:23:04:59 +0000] [Job 1] Pondering option
\'date-time-at-processing=\'
D [02/Jan/2000:23:04:59 +0000] [Job 1] Unknown option
date-time-at-processing=.
D [02/Jan/2000:23:04:59 +0000] [Job 1] Pondering option
\'time-at-creation=946854298\'
D [02/Jan/2000:23:04:59 +0000] [Job 1] Unknown option
time-at-creation=946854298.
D [02/Jan/2000:23:04:59 +0000] [Job 1] Pondering option
\'time-at-processing=946854298\'
D [02/Jan/2000:23:04:59 +0000] [Job 1] Unknown option
time-at-processing=946854298.
D [02/Jan/2000:23:04:59 +0000] [Job 1] CM Color Calibration Mode in CUPS:
Off
D [02/Jan/2000:23:04:59 +0000] [Job 1] Options from the PPD file:
D [02/Jan/2000:23:04:59 +0000] [Job 1]
================================================
D [02/Jan/2000:23:04:59 +0000] [Job 1] File: <STDIN>
D [02/Jan/2000:23:04:59 +0000] [Job 1]
================================================
D [02/Jan/2000:23:04:59 +0000] [Job 1] PDF template file doesn\'t have form.
It\'s okay.
D [02/Jan/2000:23:04:59 +0000] [Job 1] PID 191
(/usr/lib/cups/filter/bannertopdf) exited with no errors.
D [02/Jan/2000:23:04:59 +0000] [Job 1] Printer make and model: HP HP
LaserJet Professional P1102
D [02/Jan/2000:23:04:59 +0000] [Job 1] PID 192
(/usr/lib/cups/filter/pdftopdf) exited with no errors.
D [02/Jan/2000:23:04:59 +0000] [Job 1] Running command line for pstops:
pstops 1 root \'Test Page\' 1
\'job-uuid=urn:uuid:26b57b21-d528-3b88-614f-ebdd9980975d
job-originating-host-name=localhost date-time-at-creation=
date-time-at-processing= time-at-creation=946854298
time-at-processing=946854298\'
D [02/Jan/2000:23:04:59 +0000] [Job 1] No resolution information found in
the PPD file.
D [02/Jan/2000:23:04:59 +0000] [Job 1] Using image rendering resolution 300
dpi
D [02/Jan/2000:23:04:59 +0000] [Job 1] Running command line for gs: gs -q
-dNOPAUSE -dBATCH -dSAFER -sDEVICE=ps2write -sOUTPUTFILE=%stdout
-dLanguageLevel=3 -r300 -dCompressFonts=false -dNoT3CCITT -dNOINTERPOLATE -c
\'save pop\' -f /var/spool/cups/tmp/000c13879b775
D [02/Jan/2000:23:04:59 +0000] [Job 1] Started filter gs (PID 196)
D [02/Jan/2000:23:04:59 +0000] [Job 1] Started filter pstops (PID 197)
D [02/Jan/2000:23:04:59 +0000] [Job 1] Unable to execute gs program: No such
file or directory
D [02/Jan/2000:23:04:59 +0000] [Job 1] PID 196 (gs) stopped with status 1!
D [02/Jan/2000:23:04:59 +0000] [Job 1] The print file is empty.
D [02/Jan/2000:23:04:59 +0000] [Job 1] PID 197 (pstops) stopped with status
1!
D [02/Jan/2000:23:04:59 +0000] [Job 1] Cannot process \"<STDIN>\": Unknown
filetype.
D [02/Jan/2000:23:04:59 +0000] [Job 1] Process is dying with \"Could not
print file <STDIN>
D [02/Jan/2000:23:04:59 +0000] [Job 1] \", exit stat 2
D [02/Jan/2000:23:04:59 +0000] [Job 1] Cleaning up...
D [02/Jan/2000:23:04:59 +0000] [Job 1] PID 193
(/usr/lib/cups/filter/pdftops) stopped with status 1.
D [02/Jan/2000:23:04:59 +0000] [Job 1] Hint: Try setting the LogLevel to
"debug" to find out more.
D [02/Jan/2000:23:04:59 +0000] [Job 1] PID 194
(/usr/lib/cups/filter/foomatic-rip) stopped with status 2.
D [02/Jan/2000:23:04:59 +0000] [Job 1] Hint: Try setting the LogLevel to
"debug" to find out more.
D [02/Jan/2000:23:04:59 +0000] [Job 1] prnt/backend/hp.c 919: ERROR: null
print job total=0
D [02/Jan/2000:23:04:59 +0000] [Job 1] PID 195 (/usr/lib/cups/backend/hp)
exited with no errors.
D [02/Jan/2000:23:04:59 +0000] [Job 1] End of messages
D [02/Jan/2000:23:04:59 +0000] [Job 1] printer-state=3(idle)
D [02/Jan/2000:23:04:59 +0000] [Job 1] printer-state-message="Filter failed"
D [02/Jan/2000:23:04:59 +0000] [Job 1] printer-state-reasons=none
anybody can help me?
--
View this message in context: http://buildroot-busybox.2317881.n4.nabble.com/problem-with-cups-tp151149.html
Sent from the Buildroot (busybox) mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] problem with cups
2016-11-26 8:07 [Buildroot] problem with cups Ajorian
@ 2016-11-26 10:30 ` Arnout Vandecappelle
2016-11-26 12:27 ` Ajorian
1 sibling, 0 replies; 7+ messages in thread
From: Arnout Vandecappelle @ 2016-11-26 10:30 UTC (permalink / raw)
To: buildroot
On 26-11-16 09:07, Ajorian wrote:
> D [02/Jan/2000:23:04:59 +0000] [Job 1] Running command line for gs: gs -q
> -dNOPAUSE -dBATCH -dSAFER -sDEVICE=ps2write -sOUTPUTFILE=%stdout
> -dLanguageLevel=3 -r300 -dCompressFonts=false -dNoT3CCITT -dNOINTERPOLATE -c
> \'save pop\' -f /var/spool/cups/tmp/000c13879b775
> D [02/Jan/2000:23:04:59 +0000] [Job 1] Started filter gs (PID 196)
> D [02/Jan/2000:23:04:59 +0000] [Job 1] Started filter pstops (PID 197)
> D [02/Jan/2000:23:04:59 +0000] [Job 1] Unable to execute gs program: No such
> file or directory
> D [02/Jan/2000:23:04:59 +0000] [Job 1] PID 196 (gs) stopped with status 1!
It looks like that printer driver requires ghostscript. ghostscript is
currently not in Buildroot, but Bernd has a patch for it:
http://patchwork.ozlabs.org/patch/666735/
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] problem with cups
2016-11-26 8:07 [Buildroot] problem with cups Ajorian
2016-11-26 10:30 ` Arnout Vandecappelle
@ 2016-11-26 12:27 ` Ajorian
2016-11-26 13:08 ` Arnout Vandecappelle
1 sibling, 1 reply; 7+ messages in thread
From: Ajorian @ 2016-11-26 12:27 UTC (permalink / raw)
To: buildroot
thanks dear Arnout, i got patch file from http://patchwork.ozlabs.org, but as
i said i'm newbie with buildroot. what should i do with downloaded file
(1-1-package-ghostscript-new-package.patch) ?
would you help me?
thank you again.
-----
it seams some thing in the word is wrong!
--
View this message in context: http://buildroot-busybox.2317881.n4.nabble.com/problem-with-cups-tp151149p151160.html
Sent from the Buildroot (busybox) mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] problem with cups
2016-11-26 12:27 ` Ajorian
@ 2016-11-26 13:08 ` Arnout Vandecappelle
2016-11-29 5:43 ` Ajorian
2016-11-29 5:50 ` Ajorian
0 siblings, 2 replies; 7+ messages in thread
From: Arnout Vandecappelle @ 2016-11-26 13:08 UTC (permalink / raw)
To: buildroot
On 26-11-16 13:27, Ajorian wrote:
> thanks dear Arnout, i got patch file from http://patchwork.ozlabs.org, but as
> i said i'm newbie with buildroot. what should i do with downloaded file
> (1-1-package-ghostscript-new-package.patch) ?
Just apply to the buildroot tree. Go to the buildroot directory and type
patch -p1 -i 1-1-package-ghostscript-new-package.patch
After that, ghostscript should appear in the "Graphic libraries and
applications" menu.
Regards,
Arnout
>
>
> would you help me?
> thank you again.
>
>
>
> -----
> it seams some thing in the word is wrong!
> --
> View this message in context: http://buildroot-busybox.2317881.n4.nabble.com/problem-with-cups-tp151149p151160.html
> Sent from the Buildroot (busybox) mailing list archive at Nabble.com.
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] problem with cups
2016-11-26 13:08 ` Arnout Vandecappelle
@ 2016-11-29 5:43 ` Ajorian
2016-11-29 5:50 ` Ajorian
1 sibling, 0 replies; 7+ messages in thread
From: Ajorian @ 2016-11-29 5:43 UTC (permalink / raw)
To: buildroot
hi, i patched the file and compile the project. but now when i try to connect
to the cupsd using my web browser (ip_address:631/admin) i get "Internal
Server Error"!
my configuration in cupsd.conf is as follows:
#
# "$Id: cupsd.conf.in 9407 2010-12-09 21:24:51Z mike $"
#
# Sample configuration file for the CUPS scheduler. See "man cupsd.conf"
for a
# complete description of this file.
#
# Log general information in error_log - change "warn" to "debug"
# for troubleshooting...
LogLevel warn
# Deactivate CUPS' internal logrotating, as we provide a better one,
especially
# LogLevel debug2 gets usable now
MaxLogSize 0
# Only listen for connections from the local machine.
#Listen localhost:631
Port 631
Listen /var/run/cups/cups.sock
# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseLocalProtocols CUPS dnssd
# Default authentication type, when authentication is required...
DefaultAuthType Basic
# Web interface setting...
WebInterface Yes
# Restrict access to the server...
<Location />
Order allow,deny
Allow @local
</Location>
# Restrict access to the admin pages...
<Location /admin>
Order allow,deny
Allow @local
</Location>
# Restrict access to configuration files...
<Location /admin/conf>
AuthType Default
Require user @SYSTEM
Order allow,deny
Allow @local
</Location>
# Set the default printer/job policies...
<Policy default>
# Job/subscription privacy...
JobPrivateAccess default
JobPrivateValues default
SubscriptionPrivateAccess default
SubscriptionPrivateValues default
# Job-related operations must be done by the owner or an administrator...
<Limit Create-Job Print-Job Print-URI Validate-Job>
Order deny,allow
</Limit>
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs
Set-Job-Attributes Create-Job-Subscription Renew-Subscription
Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job
Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job
CUPS-Get-Document>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
# All administration operations require an administrator to
authenticate...
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class
CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
# All printer operations require a printer operator to authenticate...
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer
Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs
Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer
Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs
CUPS-Reject-Jobs>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
# Only the owner or an administrator can cancel or authenticate a job...
<Limit Cancel-Job CUPS-Authenticate-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
# Set the authenticated printer/job policies...
<Policy authenticated>
# Job/subscription privacy...
JobPrivateAccess default
JobPrivateValues default
SubscriptionPrivateAccess default
SubscriptionPrivateValues default
# Job-related operations must be done by the owner or an administrator...
<Limit Create-Job Print-Job Print-URI Validate-Job>
AuthType Default
Order deny,allow
</Limit>
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs
Set-Job-Attributes Create-Job-Subscription Renew-Subscription
Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job
Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job
CUPS-Get-Document>
AuthType Default
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
# All administration operations require an administrator to
authenticate...
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class
CUPS-Delete-Class CUPS-Set-Default>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
# All printer operations require a printer operator to authenticate...
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer
Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs
Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer
Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs
CUPS-Reject-Jobs>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
# Only the owner or an administrator can cancel or authenticate a job...
<Limit Cancel-Job CUPS-Authenticate-Job>
AuthType Default
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
#
# End of "$Id: cupsd.conf.in 9407 2010-12-09 21:24:51Z mike $".
#
and my error_log is also here:
E [29/Nov/2016:08:54:37 +0000] Unknown directive BrowseOrder on line 23 of
/etc/cups/cupsd.conf.
E [29/Nov/2016:08:54:37 +0000] Unknown directive BrowseAllow on line 24 of
/etc/cups/cupsd.conf.
E [29/Nov/2016:08:54:37 +0000] Unknown browse protocol "CUPS" ignored.
E [29/Nov/2016:08:54:37 +0000] HP_LaserJet_P2035: File
\"/usr/lib/cups/filter/foomatic-rip\" not available: No such file or
directory
E [29/Nov/2016:08:54:37 +0000] HP_LaserJet_P2035: File
\"/usr/lib/cups/filter/foomatic-rip\" not available: Too many levels of
symbolic links
E [29/Nov/2016:08:54:37 +0000] HP_LaserJet_Professional_P1102: File
\"/usr/lib/cups/filter/foomatic-rip\" not available: Too many levels of
symbolic links
E [29/Nov/2016:08:54:37 +0000] HP_LaserJet_Professional_P1102: File
\"/usr/lib/cups/filter/foomatic-rip\" not available: Too many levels of
symbolic links
W [29/Nov/2016:08:54:37 +0000] CreateProfile failed:
org.freedesktop.DBus.Error.ServiceUnknown:The name
org.freedesktop.ColorManager was not provided by any .service files
W [29/Nov/2016:08:54:37 +0000] CreateDevice failed:
org.freedesktop.DBus.Error.ServiceUnknown:The name
org.freedesktop.ColorManager was not provided by any .service files
W [29/Nov/2016:08:54:37 +0000] CreateProfile failed:
org.freedesktop.DBus.Error.ServiceUnknown:The name
org.freedesktop.ColorManager was not provided by any .service files
W [29/Nov/2016:08:54:37 +0000] CreateDevice failed:
org.freedesktop.DBus.Error.ServiceUnknown:The name
org.freedesktop.ColorManager was not provided by any .service files
E [29/Nov/2016:08:54:37 +0000] Unable to open listen socket for address
[v1.::]:631 - Address family not supported by protocol.
is it possible to help me? thanks alot
-----
it seams some thing in the word is wrong!
--
View this message in context: http://buildroot-busybox.2317881.n4.nabble.com/problem-with-cups-tp151149p151362.html
Sent from the Buildroot (busybox) mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] problem with cups
2016-11-26 13:08 ` Arnout Vandecappelle
2016-11-29 5:43 ` Ajorian
@ 2016-11-29 5:50 ` Ajorian
2016-12-01 11:37 ` Ajorian
1 sibling, 1 reply; 7+ messages in thread
From: Ajorian @ 2016-11-29 5:50 UTC (permalink / raw)
To: buildroot
hi, i patched the file and compiled the project. but now when i try to
connect to the cupsd using my web browser (ip_address:631/admin) i get
"Internal Server Error"!
my configuration for cupsd is cupsd.conf
<http://buildroot-busybox.2317881.n4.nabble.com/file/n151363/cupsd.conf>
and my error_log is error_log.error_log
<http://buildroot-busybox.2317881.n4.nabble.com/file/n151363/error_log.error_log>
-----
it seams some thing in the word is wrong!
--
View this message in context: http://buildroot-busybox.2317881.n4.nabble.com/problem-with-cups-tp151149p151363.html
Sent from the Buildroot (busybox) mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] problem with cups
2016-11-29 5:50 ` Ajorian
@ 2016-12-01 11:37 ` Ajorian
0 siblings, 0 replies; 7+ messages in thread
From: Ajorian @ 2016-12-01 11:37 UTC (permalink / raw)
To: buildroot
Hi again, i solved previous problem. I patched 2 new packages, cups-filters
and foo2zjs using 2 separate patch file, 1-2-cups-filters.patch
<http://buildroot-busybox.2317881.n4.nabble.com/file/n151538/1-2-cups-filters.patch>
and 1-3-foo2zjs.patch
<http://buildroot-busybox.2317881.n4.nabble.com/file/n151538/1-3-foo2zjs.patch>
. in these files menu "AmvajNegar" is my customized added menu in Config.in
file.
(if you want to test these patches it is probable that end part of
1-3-foo2zjs.patch doesn't work, so you should add green instructions
manually in the foo2zjs's Makefile!)
now i can connect the server (ip_address:631/admin) and add my hp1102
printer with foo2zjs driver using web interface. but when i send a print
test to the printer i get neither any error nor any reply from the printer
and web interface. but my error log is error_log.error_log
<http://buildroot-busybox.2317881.n4.nabble.com/file/n151538/error_log.error_log>
.
can any body help me, please?
thanks a lot.
-----
it seams some thing in the word is wrong!
--
View this message in context: http://buildroot-busybox.2317881.n4.nabble.com/problem-with-cups-tp151149p151538.html
Sent from the Buildroot (busybox) mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2016-12-01 11:37 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-26 8:07 [Buildroot] problem with cups Ajorian
2016-11-26 10:30 ` Arnout Vandecappelle
2016-11-26 12:27 ` Ajorian
2016-11-26 13:08 ` Arnout Vandecappelle
2016-11-29 5:43 ` Ajorian
2016-11-29 5:50 ` Ajorian
2016-12-01 11:37 ` Ajorian
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.