Léa-Linux & amis :   LinuxFR   GCU-Squad   Zarb.Org   GNU
Problème d'impression.
Envoyé par: phijazz

Bonjour,
je viens d'installer FBSD 7 j'ai un problème pour imprimer avec CUPS. Sur l'interface http, en imprimant la page test, je reçois le message: "/usr/local/libexec/cups/filter/foomatic-rip failed"
Mon imprimante est une hp-3940, j'ai installé hpijs, foomatic-filters et foomatic-db-hpijs, mon imprimante est branchée sur le port /dev/ulpt0 configuré en root:cups 660, j'ai essayé en chmod 777, sans résultat.
lpstat -t donne:
scheduler is running
no system default destination
device for hp: usb:/dev/ulpt0
hp accepting requests since Sat Dec 29 13:02:02 2007
printer hp is idle.  enabled since Sat Dec 29 13:02:02 2007
        /usr/local/libexec/cups/filter/foomatic-rip failed
Et voilà ce que donne error_log:
D [29/Dec/2007:14:21:10 +0100] cupsdAcceptClient: 9 from localhost:631 (IPv6)
D [29/Dec/2007:14:21:10 +0100] cupsdReadClient: 9 GET /printers/hp?op=print-test-page HTTP/1.1
D [29/Dec/2007:14:21:10 +0100] cupsdAuthorize: Authorized as root using Basic
D [29/Dec/2007:14:21:10 +0100] [CGI] /usr/local/libexec/cups/cgi-bin/printers.cgi started - PID = 9632
I [29/Dec/2007:14:21:10 +0100] Started "/usr/local/libexec/cups/cgi-bin/printers.cgi" (pid=9632)
D [29/Dec/2007:14:21:10 +0100] cupsdSendCommand: 9 file=11
D [29/Dec/2007:14:21:10 +0100] cupsdAcceptClient: 12 from localhost (Domain)
D [29/Dec/2007:14:21:10 +0100] cupsdReadClient: 12 POST /printers/hp HTTP/1.1
D [29/Dec/2007:14:21:10 +0100] cupsdAuthorize: No authentication data provided.
D [29/Dec/2007:14:21:10 +0100] Print-Job ipp://localhost:631/printers/hp
D [29/Dec/2007:14:21:10 +0100] add_job: requesting-user-name="root"
D [29/Dec/2007:14:21:10 +0100] Adding default job-sheets values "none,none"...
I [29/Dec/2007:14:21:10 +0100] [Job 20] Adding start banner page "none".
D [29/Dec/2007:14:21:10 +0100] Discarding unused job-created event...
I [29/Dec/2007:14:21:10 +0100] [Job 20] Adding job file of type application/postscript.
I [29/Dec/2007:14:21:10 +0100] [Job 20] Adding end banner page "none".
I [29/Dec/2007:14:21:10 +0100] [Job 20] Queued on "hp" by "root".
D [29/Dec/2007:14:21:10 +0100] [Job 20] hold_until = 0
D [29/Dec/2007:14:21:10 +0100] Discarding unused printer-state-changed event...
D [29/Dec/2007:14:21:10 +0100] [Job 20] job-sheets=none,none
D [29/Dec/2007:14:21:10 +0100] [Job 20] banner_page = 0
D [29/Dec/2007:14:21:10 +0100] [Job 20] argv[0]="hp"
D [29/Dec/2007:14:21:10 +0100] [Job 20] argv[1]="20"
D [29/Dec/2007:14:21:10 +0100] [Job 20] argv[2]="root"
D [29/Dec/2007:14:21:10 +0100] [Job 20] argv[3]="Test Page"
D [29/Dec/2007:14:21:10 +0100] [Job 20] argv[4]="1"
D [29/Dec/2007:14:21:10 +0100] [Job 20] argv[5]="job-uuid=urn:uuid:aeb02a3b-17e3-3d7a-535b-71b8cd41ad29"
D [29/Dec/2007:14:21:10 +0100] [Job 20] argv[6]="/var/spool/cups/d00020-001"
D [29/Dec/2007:14:21:10 +0100] [Job 20] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [29/Dec/2007:14:21:10 +0100] [Job 20] envp[1]="CUPS_DATADIR=/usr/local/share/cups"
D [29/Dec/2007:14:21:10 +0100] [Job 20] envp[2]="CUPS_DOCROOT=/usr/local/share/doc/cups"
D [29/Dec/2007:14:21:10 +0100] [Job 20] envp[3]="CUPS_FONTPATH=/usr/local/share/cups/fonts"
D [29/Dec/2007:14:21:10 +0100] [Job 20] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [29/Dec/2007:14:21:10 +0100] [Job 20] envp[5]="CUPS_SERVERBIN=/usr/local/libexec/cups"
D [29/Dec/2007:14:21:10 +0100] [Job 20] envp[6]="CUPS_SERVERROOT=/usr/local/etc/cups"
D [29/Dec/2007:14:21:10 +0100] [Job 20] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [29/Dec/2007:14:21:10 +0100] [Job 20] envp[8]="PATH=/usr/local/libexec/cups/filter:/usr/local/bin:/usr/local/sbin:/bin:/usr/bin"
D [29/Dec/2007:14:21:10 +0100] [Job 20] envp[9]="SERVER_ADMIN=root@phil.phil"
D [29/Dec/2007:14:21:10 +0100] [Job 20] envp[10]="SOFTWARE=CUPS/1.3.5"
D [29/Dec/2007:14:21:10 +0100] [Job 20] envp[11]="TMPDIR=/var/spool/cups/tmp"
D [29/Dec/2007:14:21:10 +0100] [Job 20] envp[12]="USER=root"
D [29/Dec/2007:14:21:10 +0100] [Job 20] envp[13]="CUPS_SERVER=/var/run/cups.sock"
D [29/Dec/2007:14:21:10 +0100] [Job 20] envp[14]="CUPS_ENCRYPTION=IfRequested"
D [29/Dec/2007:14:21:10 +0100] [Job 20] envp[15]="IPP_PORT=631"
D [29/Dec/2007:14:21:10 +0100] [Job 20] envp[16]="CHARSET=utf-8"
D [29/Dec/2007:14:21:10 +0100] [Job 20] envp[17]="LANG=fr.UTF8"
D [29/Dec/2007:14:21:10 +0100] [Job 20] envp[18]="PPD=/usr/local/etc/cups/ppd/hp.ppd"
D [29/Dec/2007:14:21:10 +0100] [Job 20] envp[19]="RIP_MAX_CACHE=8m"
D [29/Dec/2007:14:21:10 +0100] [Job 20] envp[20]="CONTENT_TYPE=application/postscript"
D [29/Dec/2007:14:21:10 +0100] [Job 20] envp[21]="DEVICE_URI=usb:/dev/ulpt0"
D [29/Dec/2007:14:21:10 +0100] [Job 20] envp[22]="PRINTER=hp"
D [29/Dec/2007:14:21:10 +0100] [Job 20] envp[23]="FINAL_CONTENT_TYPE=printer/hp"
I [29/Dec/2007:14:21:10 +0100] [Job 20] Started filter /usr/local/libexec/cups/filter/pstops (PID 9633)
I [29/Dec/2007:14:21:10 +0100] [Job 20] Started filter /usr/local/libexec/cups/filter/foomatic-rip (PID 9634)
I [29/Dec/2007:14:21:10 +0100] [Job 20] Started backend /usr/local/libexec/cups/backend/usb (PID 9635)
D [29/Dec/2007:14:21:10 +0100] Discarding unused job-state event...
D [29/Dec/2007:14:21:10 +0100] cupsdProcessIPPRequest: 12 status_code=0 (successful-ok)
D [29/Dec/2007:14:21:10 +0100] [Job 20] perl: warning: Setting locale failed.
D [29/Dec/2007:14:21:10 +0100] [Job 20] perl: warning: Please check that your locale settings:
D [29/Dec/2007:14:21:10 +0100] [Job 20] LC_ALL = (unset),
D [29/Dec/2007:14:21:10 +0100] [Job 20] LANG = "fr.UTF8"
D [29/Dec/2007:14:21:10 +0100] [Job 20] are supported and installed on your system.
D [29/Dec/2007:14:21:10 +0100] [Job 20] perl: warning: Falling back to the standard locale ("C").
D [29/Dec/2007:14:21:10 +0100] [Job 20] Page = 612x792; 18,36 to 594,783
D [29/Dec/2007:14:21:10 +0100] [Job 20] slow_collate=0, slow_duplex=0, slow_order=0
D [29/Dec/2007:14:21:10 +0100] [Job 20] Before copy_comments - %!PS-Adobe-3.0
D [29/Dec/2007:14:21:10 +0100] [Job 20] %!PS-Adobe-3.0
D [29/Dec/2007:14:21:10 +0100] [Job 20] %%BoundingBox: 0 0 612 792
D [29/Dec/2007:14:21:10 +0100] [Job 20] %%Pages: 1
D [29/Dec/2007:14:21:10 +0100] [Job 20] %%LanguageLevel: 1
D [29/Dec/2007:14:21:10 +0100] [Job 20] %%DocumentData: Clean7Bit
D [29/Dec/2007:14:21:10 +0100] [Job 20] %%DocumentSuppliedResources: procset testprint/1.3
D [29/Dec/2007:14:21:10 +0100] [Job 20] %%DocumentNeededResources: font Helvetica Helvetica-Bold Times-Roman
D [29/Dec/2007:14:21:10 +0100] [Job 20] %%Creator: Michael Sweet, Apple Inc.
D [29/Dec/2007:14:21:10 +0100] [Job 20] %%CreationDate: D:20070606214000+0500
D [29/Dec/2007:14:21:10 +0100] [Job 20] %%Title: Test Page
D [29/Dec/2007:14:21:10 +0100] [Job 20] %%EndComments
D [29/Dec/2007:14:21:10 +0100] [Job 20] Before copy_prolog - %%BeginProlog
D [29/Dec/2007:14:21:10 +0100] [Job 20] Before copy_setup - %%Page: 1 1
D [29/Dec/2007:14:21:10 +0100] [Job 20] Before page loop - %%Page: 1 1
D [29/Dec/2007:14:21:10 +0100] [Job 20] Copying page 1...
D [29/Dec/2007:14:21:10 +0100] [Job 20] pagew = 576.0, pagel = 747.0
D [29/Dec/2007:14:21:10 +0100] [Job 20] bboxx = 0, bboxy = 0, bboxw = 612, bboxl = 792
D [29/Dec/2007:14:21:10 +0100] [Job 20] PageLeft = 18.0, PageRight = 594.0
D [29/Dec/2007:14:21:10 +0100] [Job 20] PageTop = 783.0, PageBottom = 36.0
D [29/Dec/2007:14:21:10 +0100] [Job 20] PageWidth = 612.0, PageLength = 792.0
D [29/Dec/2007:14:21:10 +0100] [Job 20] Wrote 1 pages...
D [29/Dec/2007:14:21:10 +0100] Discarding unused printer-state-changed event...
D [29/Dec/2007:14:21:10 +0100] PID 9633 (/usr/local/libexec/cups/filter/pstops) exited with no errors.
D [29/Dec/2007:14:21:10 +0100] [CGI] lang="fr.UTF8", locale="/fr"...
D [29/Dec/2007:14:21:10 +0100] [CGI] lang="fr.UTF8", locale="/fr"...
D [29/Dec/2007:14:21:10 +0100] [CGI] lang="fr.UTF8", locale="/fr"...
D [29/Dec/2007:14:21:10 +0100] cupsdCloseClient: 12
D [29/Dec/2007:14:21:10 +0100] PID 9632 (/usr/local/libexec/cups/cgi-bin/printers.cgi) exited with no errors.
D [29/Dec/2007:14:21:10 +0100] [Job 20] backendRunLoop(print_fd=0, device_fd=5, use_bc=0, side_cb=0x8049e7f)
D [29/Dec/2007:14:21:10 +0100] Discarding unused printer-state-changed event...
D [29/Dec/2007:14:21:10 +0100] [Job 20] foomatic-rip version $Revision: 3.43.2.6 $ running...
D [29/Dec/2007:14:21:10 +0100] [Job 20] Parsing PPD file ...
D [29/Dec/2007:14:21:10 +0100] [Job 20] *cupsFilter: "application/vnd.cups-postscript 0 foomatic-rip"
D [29/Dec/2007:14:21:10 +0100] [Job 20] Added option ColorSpace
D [29/Dec/2007:14:21:10 +0100] [Job 20] Added option Resolution
D [29/Dec/2007:14:21:10 +0100] [Job 20] Added option PageSize
D [29/Dec/2007:14:21:10 +0100] [Job 20] Added option PageRegion
D [29/Dec/2007:14:21:10 +0100] [Job 20] Added option Model
D [29/Dec/2007:14:21:10 +0100] [Job 20] Added option PrintoutMode
D [29/Dec/2007:14:21:10 +0100] [Job 20] Added option ImageableArea
D [29/Dec/2007:14:21:10 +0100] [Job 20] Added option PaperDimension
D [29/Dec/2007:14:21:10 +0100] [Job 20] Added option Quality
D [29/Dec/2007:14:21:10 +0100] [Job 20] Added option Font
D [29/Dec/2007:14:21:10 +0100] [Job 20] 
D [29/Dec/2007:14:21:10 +0100] [Job 20] Parameter Summary
D [29/Dec/2007:14:21:10 +0100] [Job 20] -----------------
D [29/Dec/2007:14:21:10 +0100] [Job 20] 
D [29/Dec/2007:14:21:10 +0100] [Job 20] Spooler: cups
D [29/Dec/2007:14:21:10 +0100] [Job 20] Printer: hp
D [29/Dec/2007:14:21:10 +0100] [Job 20] PPD file: /usr/local/etc/cups/ppd/hp.ppd
D [29/Dec/2007:14:21:10 +0100] [Job 20] Printer model: HP DeskJet 3940 Foomatic/hpijs (recommended)
D [29/Dec/2007:14:21:10 +0100] [Job 20] Job title: Test Page
D [29/Dec/2007:14:21:10 +0100] [Job 20] File(s) to be printed: 
D [29/Dec/2007:14:21:10 +0100] [Job 20] <STDIN>
D [29/Dec/2007:14:21:10 +0100] [Job 20] 
D [29/Dec/2007:14:21:10 +0100] [Job 20] Pondering option 'job-uuid=urn:uuid:aeb02a3b-17e3-3d7a-535b-71b8cd41ad29'
D [29/Dec/2007:14:21:10 +0100] [Job 20] Unknown option job-uuid=urn:uuid:aeb02a3b-17e3-3d7a-535b-71b8cd41ad29.
D [29/Dec/2007:14:21:10 +0100] [Job 20] 
D [29/Dec/2007:14:21:10 +0100] [Job 20] ================================================
D [29/Dec/2007:14:21:10 +0100] [Job 20] 
D [29/Dec/2007:14:21:10 +0100] [Job 20] File: <STDIN>
D [29/Dec/2007:14:21:10 +0100] [Job 20] 
D [29/Dec/2007:14:21:10 +0100] [Job 20] ================================================
D [29/Dec/2007:14:21:10 +0100] [Job 20] 
D [29/Dec/2007:14:21:10 +0100] [Job 20] Reading PostScript input ...
D [29/Dec/2007:14:21:10 +0100] [Job 20] --> This document is DSC-conforming!
D [29/Dec/2007:14:21:10 +0100] [Job 20] 
D [29/Dec/2007:14:21:10 +0100] [Job 20] -----------
D [29/Dec/2007:14:21:10 +0100] [Job 20] Found: %%BeginProlog
D [29/Dec/2007:14:21:10 +0100] [Job 20] Found: %%EndProlog
D [29/Dec/2007:14:21:10 +0100] [Job 20] 
D [29/Dec/2007:14:21:10 +0100] [Job 20] -----------
D [29/Dec/2007:14:21:10 +0100] [Job 20] Found: %%BeginSetup
D [29/Dec/2007:14:21:10 +0100] [Job 20] Inserting PostScript code for CUPS' page accounting
D [29/Dec/2007:14:21:10 +0100] [Job 20] Found: %%BeginFeature: *PrintoutMode Normal
D [29/Dec/2007:14:21:10 +0100] [Job 20] Option: PrintoutMode=Normal --> Setting option
D [29/Dec/2007:14:21:10 +0100] [Job 20] Found: %% FoomaticRIPOptionSetting: PrintoutMode=Normal
D [29/Dec/2007:14:21:10 +0100] [Job 20] Option: PrintoutMode=Normal --> Setting option
D [29/Dec/2007:14:21:10 +0100] [Job 20] Found: %%BeginFeature: *Quality FromPrintoutMode
D [29/Dec/2007:14:21:10 +0100] [Job 20] Option: Quality=FromPrintoutMode --> Setting option
D [29/Dec/2007:14:21:10 +0100] [Job 20] Found: %% FoomaticRIPOptionSetting: Quality=@PrintoutMode
D [29/Dec/2007:14:21:10 +0100] [Job 20] Option: Quality=FromPrintoutMode --> Setting option
D [29/Dec/2007:14:21:10 +0100] [Job 20] Found: %%BeginFeature: *PageSize Letter
D [29/Dec/2007:14:21:10 +0100] [Job 20] Option: PageSize=Letter --> Setting option
D [29/Dec/2007:14:21:10 +0100] [Job 20] Found: %% FoomaticRIPOptionSetting: PageSize=Letter
D [29/Dec/2007:14:21:10 +0100] [Job 20] Option: PageSize=Letter --> Setting option
D [29/Dec/2007:14:21:10 +0100] [Job 20] Found: %%EndSetup
D [29/Dec/2007:14:21:10 +0100] [Job 20] 
D [29/Dec/2007:14:21:10 +0100] [Job 20] -----------
D [29/Dec/2007:14:21:10 +0100] [Job 20] New page:  1 1
D [29/Dec/2007:14:21:10 +0100] [Job 20] Inserting option code into "PageSetup" section.
D [29/Dec/2007:14:21:10 +0100] [Job 20] 
D [29/Dec/2007:14:21:10 +0100] [Job 20] Found: %%BeginPageSetup
D [29/Dec/2007:14:21:10 +0100] [Job 20] Found: %%EndPageSetup
D [29/Dec/2007:14:21:10 +0100] [Job 20] End of page header
D [29/Dec/2007:14:21:10 +0100] [Job 20] Stopping search for page header options
D [29/Dec/2007:14:21:10 +0100] [Job 20] Found:
D [29/Dec/2007:14:21:10 +0100] [Job 20] lineto				% Move there...
D [29/Dec/2007:14:21:10 +0100] [Job 20] --> Output goes directly to the renderer now.
D [29/Dec/2007:14:21:10 +0100] [Job 20] 
D [29/Dec/2007:14:21:10 +0100] [Job 20] 
D [29/Dec/2007:14:21:10 +0100] [Job 20] Starting renderer
D [29/Dec/2007:14:21:10 +0100] [Job 20] 
D [29/Dec/2007:14:21:10 +0100] [Job 20] Closing renderer
D [29/Dec/2007:14:21:10 +0100] [Job 20] renderer PID kid4=9637
D [29/Dec/2007:14:21:10 +0100] [Job 20] JCL: <job data> 
D [29/Dec/2007:14:21:10 +0100] [Job 20] 
D [29/Dec/2007:14:21:10 +0100] [Job 20] renderer command: gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="deskjet 3320" -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -r300 -sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Qualitytongue sticking out smileyenSet=1 -dIjsUseOutputFD -sOutputFile=- -
D [29/Dec/2007:14:21:10 +0100] [Job 20] perl: warning: Setting locale failed.
D [29/Dec/2007:14:21:10 +0100] [Job 20] perl: warning: Please check that your locale settings:
D [29/Dec/2007:14:21:10 +0100] [Job 20] LC_ALL = (unset),
D [29/Dec/2007:14:21:10 +0100] [Job 20] LANG = "fr.UTF8"
D [29/Dec/2007:14:21:10 +0100] [Job 20] are supported and installed on your system.
D [29/Dec/2007:14:21:10 +0100] [Job 20] perl: warning: Falling back to the standard locale ("C").
D [29/Dec/2007:14:21:10 +0100] [Job 20] foomatic-gswrapper: gs '-dBATCH' '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=ijs' '-sIjsServer=hpijs' '-sDeviceManufacturer=HEWLETT-PACKARD' '-sDeviceModel=deskjet 3320' '-dDEVICEWIDTHPOINTS=612' '-dDEVICEHEIGHTPOINTS=792' '-r300' '-sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Qualitytongue sticking out smileyenSet=1' '-dIjsUseOutputFD' '-sOutputFile=| cat >&3' '/dev/fd/0' 3>&1 1>&2
D [29/Dec/2007:14:21:10 +0100] [Job 20] Unknown device: ijs
D [29/Dec/2007:14:21:10 +0100] [Job 20] Unrecoverable error: undefined in .uninstallpagedevice
D [29/Dec/2007:14:21:10 +0100] [Job 20] Operand stack:
D [29/Dec/2007:14:21:10 +0100] [Job 20] defaultdevice
D [29/Dec/2007:14:21:10 +0100] [Job 20] renderer return value: 1
D [29/Dec/2007:14:21:10 +0100] [Job 20] renderer received signal: 1
D [29/Dec/2007:14:21:10 +0100] [Job 20] tail process done writing data to STDOUT
D [29/Dec/2007:14:21:11 +0100] [Job 20] KID3 exited with status 3
D [29/Dec/2007:14:21:11 +0100] [Job 20] KID4 finished
D [29/Dec/2007:14:21:11 +0100] [Job 20] Process dying with "Possible error on renderer command line or PostScript error. Check options.", exit stat: 3
D [29/Dec/2007:14:21:11 +0100] [Job 20] Renderer exit stat: 3
D [29/Dec/2007:14:21:11 +0100] [Job 20] Possible error on renderer command line or PostScript error. Check options.
D [29/Dec/2007:14:21:11 +0100] [Job 20] Renderer process finished
D [29/Dec/2007:14:21:11 +0100] [Job 20] Killing process 9636 (KID3)
D [29/Dec/2007:14:21:11 +0100] [Job 20] Process dying with "Error closing renderer", exit stat: 3
D [29/Dec/2007:14:21:11 +0100] [Job 20] Error closing renderer
E [29/Dec/2007:14:21:11 +0100] PID 9634 (/usr/local/libexec/cups/filter/foomatic-rip) stopped with status 3!
D [29/Dec/2007:14:21:11 +0100] PID 9635 (/usr/local/libexec/cups/backend/usb) exited with no errors.
D [29/Dec/2007:14:21:11 +0100] [Job 20] File 0 is complete.
E [29/Dec/2007:14:21:11 +0100] [Job 20] Job stopped due to filter errors.
D [29/Dec/2007:14:21:11 +0100] Discarding unused printer-state-changed event...
D [29/Dec/2007:14:21:11 +0100] Discarding unused job-stopped event...
D [29/Dec/2007:14:21:12 +0100] [Job 20] Unloading...
D [29/Dec/2007:14:21:12 +0100] cupsdAcceptClient: 11 from localhost:631 (IPv6)
D [29/Dec/2007:14:21:12 +0100] cupsdReadClient: 11 GET /printers/hp HTTP/1.1
D [29/Dec/2007:14:21:12 +0100] cupsdAuthorize: Authorized as root using Basic
D [29/Dec/2007:14:21:12 +0100] [CGI] /usr/local/libexec/cups/cgi-bin/printers.cgi started - PID = 9641
I [29/Dec/2007:14:21:12 +0100] Started "/usr/local/libexec/cups/cgi-bin/printers.cgi" (pid=9641)
D [29/Dec/2007:14:21:12 +0100] cupsdSendCommand: 11 file=12
D [29/Dec/2007:14:21:12 +0100] cupsdAcceptClient: 13 from localhost (Domain)
D [29/Dec/2007:14:21:12 +0100] cupsdReadClient: 13 POST / HTTP/1.1
D [29/Dec/2007:14:21:12 +0100] cupsdAuthorize: No authentication data provided.
D [29/Dec/2007:14:21:12 +0100] CUPS-Get-Default
D [29/Dec/2007:14:21:12 +0100] CUPS-Get-Default client-error-not-found: No default printer
D [29/Dec/2007:14:21:12 +0100] cupsdProcessIPPRequest: 13 status_code=406 (client-error-not-found)
D [29/Dec/2007:14:21:12 +0100] [CGI] show_printer(http=0x28435000, printer="hp")
D [29/Dec/2007:14:21:12 +0100] cupsdReadClient: 13 POST / HTTP/1.1
D [29/Dec/2007:14:21:12 +0100] cupsdAuthorize: No authentication data provided.
D [29/Dec/2007:14:21:12 +0100] Get-Printer-Attributes ipp://localhost/printers/hp
D [29/Dec/2007:14:21:12 +0100] cupsdProcessIPPRequest: 13 status_code=0 (successful-ok)
D [29/Dec/2007:14:21:12 +0100] [CGI] lang="fr.UTF8", locale="/fr"...
D [29/Dec/2007:14:21:12 +0100] [CGI] lang="fr.UTF8", locale="/fr"...
D [29/Dec/2007:14:21:12 +0100] [CGI] lang="fr.UTF8", locale="/fr"...
D [29/Dec/2007:14:21:12 +0100] cupsdReadClient: 13 POST / HTTP/1.1
D [29/Dec/2007:14:21:12 +0100] cupsdAuthorize: No authentication data provided.
D [29/Dec/2007:14:21:12 +0100] Get-Jobs ipp://localhost:631/printers/hp
D [29/Dec/2007:14:21:12 +0100] [Job 20] Loading attributes...
D [29/Dec/2007:14:21:12 +0100] cupsdProcessIPPRequest: 13 status_code=0 (successful-ok)
D [29/Dec/2007:14:21:12 +0100] [CGI] lang="fr.UTF8", locale="/fr"...
D [29/Dec/2007:14:21:12 +0100] [CGI] lang="fr.UTF8", locale="/fr"...
D [29/Dec/2007:14:21:12 +0100] [CGI] lang="fr.UTF8", locale="/fr"...
D [29/Dec/2007:14:21:12 +0100] [CGI] lang="fr.UTF8", locale="/fr"...
D [29/Dec/2007:14:21:12 +0100] [CGI] lang="fr.UTF8", locale="/fr"...
D [29/Dec/2007:14:21:12 +0100] [CGI] lang="fr.UTF8", locale="/fr"...
D [29/Dec/2007:14:21:12 +0100] cupsdCloseClient: 13
D [29/Dec/2007:14:21:12 +0100] PID 9641 (/usr/local/libexec/cups/cgi-bin/printers.cgi) exited with no errors.
D [29/Dec/2007:14:21:12 +0100] cupsdCloseClient: 9
D [29/Dec/2007:14:21:12 +0100] cupsdAcceptClient: 9 from localhost:631 (IPv6)
D [29/Dec/2007:14:21:12 +0100] cupsdReadClient: 9 GET /images/button-sort-descending.gif HTTP/1.1
D [29/Dec/2007:14:21:12 +0100] cupsdAuthorize: Authorized as root using Basic
D [29/Dec/2007:14:21:12 +0100] cupsdSendError: 9 code=304 (Not Modified)
D [29/Dec/2007:14:21:12 +0100] cupsdCloseClient: 11
D [29/Dec/2007:14:21:12 +0100] cupsdAcceptClient: 11 from localhost:631 (IPv6)
D [29/Dec/2007:14:21:12 +0100] cupsdReadClient: 11 GET /images/button-restart-job.gif HTTP/1.1
D [29/Dec/2007:14:21:12 +0100] cupsdAuthorize: Authorized as root using Basic
D [29/Dec/2007:14:21:12 +0100] cupsdSendError: 11 code=304 (Not Modified)
D [29/Dec/2007:14:21:12 +0100] cupsdAcceptClient: 12 from localhost:631 (IPv6)
D [29/Dec/2007:14:21:12 +0100] cupsdReadClient: 12 GET /images/button-cancel-job.gif HTTP/1.1
D [29/Dec/2007:14:21:12 +0100] cupsdAuthorize: Authorized as root using Basic
D [29/Dec/2007:14:21:12 +0100] cupsdSendError: 12 code=304 (Not Modified)
D [29/Dec/2007:14:21:12 +0100] cupsdAcceptClient: 13 from localhost:631 (IPv6)
D [29/Dec/2007:14:21:12 +0100] cupsdReadClient: 13 GET /images/button-move-job.gif HTTP/1.1
D [29/Dec/2007:14:21:12 +0100] cupsdAuthorize: Authorized as root using Basic
D [29/Dec/2007:14:21:12 +0100] cupsdSendError: 13 code=304 (Not Modified)

Poste le Saturday 29 December 2007 14:28:17
Répondre     Citer    
Re: Problème d
Envoyé par: berlin

f019e2 827970 jg4rlh berlin <a href="[reachingforlucidity.net]; berlin </a> [reachingforlucidity.net]

Poste le Saturday 28 February 2009 04:42:38
Répondre     Citer    
Re: Problème d
Envoyé par: gesundheit

f019e2 827970 jg4rlh gesundheit <a href="[seeworthy.org]; gesundheit </a> [seeworthy.org]

Poste le Wednesday 11 March 2009 15:39:15
Répondre     Citer    
Re: Problème d'impression.
Envoyé par: Ditto

Bonjour,

Je réponds bien tard (je n'avais pas prêté attention à ce message), mais sait-on jamais...

Tu peux essayer:

1 - d'ajouter les lignes
own ulpt0 root:cups
perm ulpt0 0660
au fichier /etc/devfs.conf,
puis relancer devfs avec
/etc/rc.d/devfs restart


2 - recherche le numéro de produit du périphérique par la commande:
devinfo -v /dev/ulpt0|grep -i product

Avec une HP-C4280, cela me donne
 ulpt0 pnpinfo vendor=0x03f0 product=0x5c11

Ajoute ensuite au fichier /etc/devd.conf les lignes:
attach 100 {
device-name "ulpt0";
match "product" "0x****";
action "sleep 2; \
chown root:users /dev/ulpt0; \
chmod 0660 /dev/ulpt0; };
en remplaçant 0x**** par le bon numéro de produit.
Puis relance devd par
/etc/rc.d/devfd restart

3 - ajoute
cupsd_enable="YES"
dans /etc/rc.conf, et vérifie que "lpd" n'y figure pas, si oui commente la ligne.

Je pense que ça devrait suffire, ça marche pour moi avec hpijs et les pilotes gutenprint.

4 - tu peux aussi (je ne suis pas sûr que ce soit absolument indispensable) faire un
mv /usr/bin/lp /usr/bin/lp.bak
mv /usr/bin/lpr /usr/bin/lpr.bak
mv /usr/bin/lprm /usr/bin/lprm.bak
mv /usr/bin/lpq /usr/bin/lpq.bak
pour laisser la voie libre à cups et /usr/local/bin/lp*

Bon courage.

Cordialement.

Poste le Wednesday 10 June 2009 10:09:00
Répondre     Citer    
Re: Problème d'impression.
Envoyé par: Ditto

précision:
pour "chown root:users /dev/ulpt0; \", c'est mon choix, mon user étant membre de "users". Tu peux (dois) adapter cette ligne.

Cordialement.

Poste le Wednesday 10 June 2009 10:11:52
Répondre     Citer    

Veuillez vous authentifier auparavant pour commenter.

 

Ce forum !
Problème d'impression.
Pour poser des questions sur les autres systèmes libres (FreeBSD, OpenBSD, NetBSD, Solaris, HURD ...) aux utilisateurs de Léa (hé oui y'a pas que Linux...). Merci de ne pas poser de questions trop techniques (les sites spécifiques sont plus à même d'y répondre).

Serveur hébergé par ST-Hebergement et Lost-Oasis / IRC hébergé par FreeNode / NS secondaire hébergé par XName
Sauf mention contraire, les documentations publiées sont sous licence Creative-Commons