Welcome, Guest. Please Login or Register
FUG-FR logo
 
  HomeHelpSearchLoginRegister  
 
Problème de configuration d'imprimante. (Read 5681 times)
ph11
YaBB Newbies
*
Offline


Go Fug Yourself

Posts: 46
Brussels
Gender: male
Problème de configuration d'imprimante.
22. Dec 2007 at 20:13
 
Bonjour,

Je viens d'installer FreeBSD. Je viens d'installer les pilotes d'impression et les filtres et je l'ai configuré avec cups. J'ai une imprimante hp deskjet 3940.
Le problème est que je n'arrive pas à imprimer. Je pense que le problème vient de foomatic.

Un lpstat -t me donne ceci:
Code:
scheduler is running
no system default destination
device for hp: usb:/dev/unlpt0
hp accepting requests since Sat Dec 22 18:44:02 2007
printer hp is idle.  enabled since Sat Dec 22 18:44:02 2007
	  /usr/local/libexec/cups/filter/foomatic-rip failed 


Les privilèges de mon imprimante sont, je pense bien configurés.
Code:
crw-rw----  1 root  cups	  0,  99 Dec 22 18:39 ulpt0
crw-rw----  1 root  cups	  0, 100 Dec 22 18:39 unlpt0 


Voila les logs de cups:
/var/log/cups/error_log:
Code:
I [22/Dec/2007:18:42:06 +0100] Started "/usr/local/libexec/cups/cgi-bin/printers.cgi" (pid=1259)
I [22/Dec/2007:18:42:09 +0100] cupsdCloseClient: SSL shutdown successful!
I [22/Dec/2007:18:43:10 +0100] cupsdCloseClient: SSL shutdown successful!
I [22/Dec/2007:18:43:24 +0100] Started "/usr/local/libexec/cups/cgi-bin/jobs.cgi" (pid=1426)
E [22/Dec/2007:18:43:24 +0100] Restart-Job: Unauthorized
I [22/Dec/2007:18:43:24 +0100] cupsdCloseClient: SSL shutdown successful!
I [22/Dec/2007:18:43:31 +0100] Started "/usr/local/libexec/cups/cgi-bin/jobs.cgi" (pid=1441)
I [22/Dec/2007:18:43:31 +0100] [Job 21] Started filter /usr/local/libexec/cups/filter/pstops (PID 1442)
I [22/Dec/2007:18:43:31 +0100] [Job 21] Started filter /usr/local/libexec/cups/filter/foomatic-rip (PID 1443)
I [22/Dec/2007:18:43:31 +0100] [Job 21] Started backend /usr/local/libexec/cups/backend/usb (PID 1444)
I [22/Dec/2007:18:43:31 +0100] [Job 21] Restarted by "root".
E [22/Dec/2007:18:43:32 +0100] PID 1443 (/usr/local/libexec/cups/filter/foomatic-rip) stopped with status 3!
I [22/Dec/2007:18:43:32 +0100] Hint: Try setting the LogLevel to "debug" to find out more.
E [22/Dec/2007:18:43:32 +0100] [Job 21] Job stopped due to filter errors.
I [22/Dec/2007:18:43:36 +0100] Started "/usr/local/libexec/cups/cgi-bin/printers.cgi" (pid=1460)
I [22/Dec/2007:18:44:02 +0100] [Job 22] Adding start banner page "none".
I [22/Dec/2007:18:44:02 +0100] [Job 22] Adding job file of type application/postscript.
I [22/Dec/2007:18:44:02 +0100] [Job 22] Adding end banner page "none".
I [22/Dec/2007:18:44:02 +0100] [Job 22] Queued on "hp" by "phil".
I [22/Dec/2007:18:44:02 +0100] [Job 22] Started filter /usr/local/libexec/cups/filter/pstops (PID 1528)
I [22/Dec/2007:18:44:02 +0100] [Job 22] Started filter /usr/local/libexec/cups/filter/foomatic-rip (PID 1529)
I [22/Dec/2007:18:44:02 +0100] [Job 22] Started backend /usr/local/libexec/cups/backend/usb (PID 1530)
E [22/Dec/2007:18:44:02 +0100] PID 1529 (/usr/local/libexec/cups/filter/foomatic-rip) stopped with status 3!
I [22/Dec/2007:18:44:02 +0100] Hint: Try setting the LogLevel to "debug" to find out more.
E [22/Dec/2007:18:44:02 +0100] [Job 22] Job stopped due to filter errors.
I [22/Dec/2007:18:44:07 +0100] [Job 21] Canceled by "phil".
I [22/Dec/2007:18:44:09 +0100] [Job 22] Canceled by "phil".
I [22/Dec/2007:18:44:40 +0100] cupsdCloseClient: SSL shutdown successful! 

Back to top
 
WWW WWW  
IP Logged
 
fgudin
Global Moderator
*****
Offline


PouetPouetBSD roul3z

Posts: 1552
Thonon (74)
Gender: male
Re: Problème de configuration d'imprimante.
Reply #1 - 23. Dec 2007 at 17:18
 
En jetant un oeil à foomatic-rip, on trouve:
Code:
## Constants used by this filter

# Error codes, as some spooles behave different depending on the reason why
# the RIP failed, we return an error code. As I have only found a table of
# error codes for the PPR spooler. If our spooler is really PPR, these
# definitions get overwritten by the ones of the PPR version currently in
# use.

my $EXIT_PRINTED = 0;	   # file was printed normally
my $EXIT_PRNERR = 1;	    # printer error occured
my $EXIT_PRNERR_NORETRY = 2;  # printer error with no hope of retry
my $EXIT_JOBERR = 3;	    # job is defective
my $EXIT_SIGNAL = 4;	    # terminated after catching signal
my $EXIT_ENGAGED = 5;	   # printer is otherwise engaged (connection
				   # refused)
my $EXIT_STARVED = 6;	   # starved for system resources
my $EXIT_PRNERR_NORETRY_ACCESS_DENIED = 7;     # bad password? bad port
							  # permissions?
my $EXIT_PRNERR_NOT_RESPONDING = 8;		# just doesn't answer at all
							  # (turned off?)
my $EXIT_PRNERR_NORETRY_BAD_SETTINGS = 9;	# interface settings are invalid
my $EXIT_PRNERR_NO_SUCH_ADDRESS = 10;	    # address lookup failed, may be
							  # transient
my $EXIT_PRNERR_NORETRY_NO_SUCH_ADDRESS = 11;  # address lookup failed, not
							  # transient
my $EXIT_INCAPABLE = 50;			     # printer wants (lacks) features
							  # or resources 


Mais il y en a plusieurs endroits où on sort avec $EXIT_JOBERR, malheureusement. Il faudrait activer un peu de debug avec "LogLevel" (un truc de cupsd.conf ?) pour avoir plus d'info.
Back to top
 
 
IP Logged
 
ph11
YaBB Newbies
*
Offline


Go Fug Yourself

Posts: 46
Brussels
Gender: male
Re: Problème de configuration d'imprimante.
Reply #2 - 23. Dec 2007 at 19:29
 
Je viens de remplacer la variable de LogLevel info par debug dans cupsd.config
error_log donne ceci: Code:
I [23/Dec/2007:19:21:18 +0100] Listening to 127.0.0.1:631 (IPv4)
I [23/Dec/2007:19:21:18 +0100] Listening to ::1:631 (IPv6)
I [23/Dec/2007:19:21:18 +0100] Listening to /var/run/cups.sock (Domain)
I [23/Dec/2007:19:21:18 +0100] Loaded configuration file "/usr/local/etc/cups/cupsd.conf"
I [23/Dec/2007:19:21:18 +0100] Using default TempDir of /var/spool/cups/tmp...
I [23/Dec/2007:19:21:18 +0100] Configured for up to 100 clients.
I [23/Dec/2007:19:21:18 +0100] Allowing up to 100 client connections per host.
I [23/Dec/2007:19:21:18 +0100] Using policy "default" as the default!
I [23/Dec/2007:19:21:18 +0100] Full reload is required.
I [23/Dec/2007:19:21:18 +0100] Loaded MIME database from '/usr/local/etc/cups': 35 types, 37 filters...
D [23/Dec/2007:19:21:18 +0100] Loading printer hp...
I [23/Dec/2007:19:21:18 +0100] Loading job cache file "/var/cache/cups/job.cache"...
D [23/Dec/2007:19:21:18 +0100] [Job 15] Loading from cache...
D [23/Dec/2007:19:21:18 +0100] [Job 16] Loading from cache...
D [23/Dec/2007:19:21:18 +0100] [Job 17] Loading from cache...
D [23/Dec/2007:19:21:18 +0100] [Job 18] Loading from cache...
D [23/Dec/2007:19:21:18 +0100] [Job 19] Loading from cache...
D [23/Dec/2007:19:21:18 +0100] [Job 20] Loading from cache...
D [23/Dec/2007:19:21:18 +0100] [Job 21] Loading from cache...
D [23/Dec/2007:19:21:18 +0100] [Job 22] Loading from cache...
D [23/Dec/2007:19:21:18 +0100] [Job 23] Loading from cache...
D [23/Dec/2007:19:21:18 +0100] [Job 24] Loading from cache...
I [23/Dec/2007:19:21:18 +0100] Full reload complete.
I [23/Dec/2007:19:21:18 +0100] Cleaning out old temporary files in "/var/spool/cups/tmp"...
E [23/Dec/2007:19:21:22 +0100] Unable to find IP address for server name "phil.phil"!
I [23/Dec/2007:19:21:22 +0100] Listening to 127.0.0.1:631 on fd 3...
I [23/Dec/2007:19:21:22 +0100] Listening to ::1:631 on fd 4...
I [23/Dec/2007:19:21:22 +0100] Listening to /var/run/cups.sock on fd 5...
I [23/Dec/2007:19:21:22 +0100] Resuming new connection processing...
D [23/Dec/2007:19:21:26 +0100] cupsdAcceptClient: 9 from localhost:631 (IPv6)
D [23/Dec/2007:19:21:26 +0100] cupsdReadClient: 9 GET /printers/hp?op=print-test-page HTTP/1.1
D [23/Dec/2007:19:21:26 +0100] cupsdAuthorize: No authentication data provided.
D [23/Dec/2007:19:21:26 +0100] [CGI] /usr/local/libexec/cups/cgi-bin/printers.cgi started - PID = 61098
I [23/Dec/2007:19:21:26 +0100] Started "/usr/local/libexec/cups/cgi-bin/printers.cgi" (pid=61098)
D [23/Dec/2007:19:21:26 +0100] cupsdSendCommand: 9 file=10
D [23/Dec/2007:19:21:26 +0100] cupsdAcceptClient: 12 from localhost (Domain)
D [23/Dec/2007:19:21:26 +0100] cupsdReadClient: 12 POST /printers/hp HTTP/1.1
D [23/Dec/2007:19:21:26 +0100] cupsdAuthorize: No authentication data provided.
D [23/Dec/2007:19:21:26 +0100] Print-Job ipp://localhost:631/printers/hp
D [23/Dec/2007:19:21:26 +0100] add_job: requesting-user-name="guest"
D [23/Dec/2007:19:21:26 +0100] Adding default job-sheets values "none,none"...
I [23/Dec/2007:19:21:26 +0100] [Job 25] Adding start banner page "none".
D [23/Dec/2007:19:21:26 +0100] Discarding unused job-created event...
I [23/Dec/2007:19:21:26 +0100] [Job 25] Adding job file of type application/postscript. 

Back to top
 
WWW WWW  
IP Logged
 
ph11
YaBB Newbies
*
Offline


Go Fug Yourself

Posts: 46
Brussels
Gender: male
Re: Problème de configuration d'imprimante.
Reply #3 - 23. Dec 2007 at 19:30
 
Code:
I [23/Dec/2007:19:21:26 +0100] [Job 25] Adding end banner page "none".
I [23/Dec/2007:19:21:26 +0100] [Job 25] Queued on "hp" by "guest".
D [23/Dec/2007:19:21:26 +0100] [Job 25] hold_until = 0
D [23/Dec/2007:19:21:26 +0100] Discarding unused printer-state-changed event...
D [23/Dec/2007:19:21:26 +0100] [Job 25] job-sheets=none,none
D [23/Dec/2007:19:21:26 +0100] [Job 25] banner_page = 0
D [23/Dec/2007:19:21:26 +0100] [Job 25] argv[0]="hp"
D [23/Dec/2007:19:21:26 +0100] [Job 25] argv[1]="25"
D [23/Dec/2007:19:21:26 +0100] [Job 25] argv[2]="guest"
D [23/Dec/2007:19:21:26 +0100] [Job 25] argv[3]="Test Page"
D [23/Dec/2007:19:21:26 +0100] [Job 25] argv[4]="1"
D [23/Dec/2007:19:21:26 +0100] [Job 25] argv[5]="job-uuid=urn:uuid:fd1679fb-49c4-38af-5017-8fe1f84e7b27"
D [23/Dec/2007:19:21:26 +0100] [Job 25] argv[6]="/var/spool/cups/d00025-001"
D [23/Dec/2007:19:21:26 +0100] [Job 25] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [23/Dec/2007:19:21:26 +0100] [Job 25] envp[1]="CUPS_DATADIR=/usr/local/share/cups"
D [23/Dec/2007:19:21:26 +0100] [Job 25] envp[2]="CUPS_DOCROOT=/usr/local/share/doc/cups"
D [23/Dec/2007:19:21:26 +0100] [Job 25] envp[3]="CUPS_FONTPATH=/usr/local/share/cups/fonts"
D [23/Dec/2007:19:21:26 +0100] [Job 25] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [23/Dec/2007:19:21:26 +0100] [Job 25] envp[5]="CUPS_SERVERBIN=/usr/local/libexec/cups"
D [23/Dec/2007:19:21:26 +0100] [Job 25] envp[6]="CUPS_SERVERROOT=/usr/local/etc/cups"
D [23/Dec/2007:19:21:26 +0100] [Job 25] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [23/Dec/2007:19:21:26 +0100] [Job 25] envp[8]="PATH=/usr/local/libexec/cups/filter:/usr/local/bin:/usr/local/sbin:/bin:/usr/bin"
D [23/Dec/2007:19:21:26 +0100] [Job 25] envp[9]="SERVER_ADMIN=root@phil.phil"
D [23/Dec/2007:19:21:26 +0100] [Job 25] envp[10]="SOFTWARE=CUPS/1.3.4"
D [23/Dec/2007:19:21:26 +0100] [Job 25] envp[11]="TMPDIR=/var/spool/cups/tmp"
D [23/Dec/2007:19:21:26 +0100] [Job 25] envp[12]="USER=root"
D [23/Dec/2007:19:21:26 +0100] [Job 25] envp[13]="CUPS_SERVER=/var/run/cups.sock"
D [23/Dec/2007:19:21:26 +0100] [Job 25] envp[14]="CUPS_ENCRYPTION=IfRequested"
D [23/Dec/2007:19:21:26 +0100] [Job 25] envp[15]="IPP_PORT=631"
D [23/Dec/2007:19:21:26 +0100] [Job 25] envp[16]="CHARSET=utf-8"
D [23/Dec/2007:19:21:26 +0100] [Job 25] envp[17]="LANG=fr.UTF8"
D [23/Dec/2007:19:21:26 +0100] [Job 25] envp[18]="PPD=/usr/local/etc/cups/ppd/hp.ppd"
D [23/Dec/2007:19:21:26 +0100] [Job 25] envp[19]="RIP_MAX_CACHE=8m"
D [23/Dec/2007:19:21:26 +0100] [Job 25] envp[20]="CONTENT_TYPE=application/postscript"
D [23/Dec/2007:19:21:26 +0100] [Job 25] envp[21]="DEVICE_URI=usb:/dev/unlpt0"
D [23/Dec/2007:19:21:26 +0100] [Job 25] envp[22]="PRINTER=hp"
D [23/Dec/2007:19:21:26 +0100] [Job 25] envp[23]="FINAL_CONTENT_TYPE=printer/hp"
I [23/Dec/2007:19:21:26 +0100] [Job 25] Started filter /usr/local/libexec/cups/filter/pstops (PID 61099)
I [23/Dec/2007:19:21:26 +0100] [Job 25] Started filter /usr/local/libexec/cups/filter/foomatic-rip (PID 61100)
I [23/Dec/2007:19:21:26 +0100] [Job 25] Started backend /usr/local/libexec/cups/backend/usb (PID 61101)
D [23/Dec/2007:19:21:26 +0100] Discarding unused job-state event...
D [23/Dec/2007:19:21:26 +0100] cupsdProcessIPPRequest: 12 status_code=0 (successful-ok)
D [23/Dec/2007:19:21:26 +0100] [Job 25] perl: warning: Setting locale failed.
D [23/Dec/2007:19:21:26 +0100] [Job 25] perl: warning: Please check that your locale settings: 

Back to top
 
WWW WWW  
IP Logged
 
ph11
YaBB Newbies
*
Offline


Go Fug Yourself

Posts: 46
Brussels
Gender: male
Re: Problème de configuration d'imprimante.
Reply #4 - 23. Dec 2007 at 19:31
 
Code:
D [23/Dec/2007:19:21:26 +0100] [Job 25] LC_ALL = (unset),
D [23/Dec/2007:19:21:26 +0100] [Job 25] LANG = "fr.UTF8"
D [23/Dec/2007:19:21:26 +0100] [Job 25] are supported and installed on your system.
D [23/Dec/2007:19:21:26 +0100] [Job 25] perl: warning: Falling back to the standard locale ("C").
D [23/Dec/2007:19:21:26 +0100] [Job 25] Page = 595x842; 10,36 to 585,833
D [23/Dec/2007:19:21:26 +0100] [Job 25] slow_collate=0, slow_duplex=0, slow_order=0
D [23/Dec/2007:19:21:26 +0100] Discarding unused printer-state-changed event...
D [23/Dec/2007:19:21:26 +0100] [Job 25] Before copy_comments - %!PS-Adobe-3.0
D [23/Dec/2007:19:21:26 +0100] [Job 25] %!PS-Adobe-3.0
D [23/Dec/2007:19:21:26 +0100] [Job 25] %%BoundingBox: 0 0 612 792
D [23/Dec/2007:19:21:26 +0100] [Job 25] %%Pages: 1
D [23/Dec/2007:19:21:26 +0100] [Job 25] %%LanguageLevel: 1
D [23/Dec/2007:19:21:26 +0100] [Job 25] %%DocumentData: Clean7Bit
D [23/Dec/2007:19:21:26 +0100] [Job 25] %%DocumentSuppliedResources: procset testprint/1.3
D [23/Dec/2007:19:21:26 +0100] [Job 25] %%DocumentNeededResources: font Helvetica Helvetica-Bold Times-Roman
D [23/Dec/2007:19:21:26 +0100] [Job 25] %%Creator: Michael Sweet, Apple Inc.
D [23/Dec/2007:19:21:26 +0100] [Job 25] %%CreationDate: D:20070606214000+0500
D [23/Dec/2007:19:21:26 +0100] [Job 25] %%Title: Test Page
D [23/Dec/2007:19:21:26 +0100] [Job 25] %%EndComments
D [23/Dec/2007:19:21:26 +0100] [Job 25] Before copy_prolog - %%BeginProlog
D [23/Dec/2007:19:21:26 +0100] [Job 25] Before copy_setup - %%Page: 1 1
D [23/Dec/2007:19:21:26 +0100] [Job 25] Before page loop - %%Page: 1 1
D [23/Dec/2007:19:21:26 +0100] [Job 25] Copying page 1...
D [23/Dec/2007:19:21:26 +0100] [Job 25] pagew = 575.6, pagel = 797.0
D [23/Dec/2007:19:21:26 +0100] [Job 25] bboxw = 595, bboxl = 842
D [23/Dec/2007:19:21:26 +0100] [Job 25] PageLeft = 9.7, PageRight = 585.3
D [23/Dec/2007:19:21:26 +0100] [Job 25] PageTop = 833.0, PageBottom = 36.0
D [23/Dec/2007:19:21:26 +0100] [Job 25] PageWidth = 595.0, PageLength = 842.0
D [23/Dec/2007:19:21:26 +0100] [Job 25] Wrote 1 pages...
D [23/Dec/2007:19:21:26 +0100] [CGI] lang="fr.UTF8", locale="/fr"...
D [23/Dec/2007:19:21:26 +0100] Discarding unused printer-state-changed event...
D [23/Dec/2007:19:21:26 +0100] [Job 25] backendRunLoop(print_fd=0, device_fd=5, use_bc=0, side_cb=0x8049c9a)
D [23/Dec/2007:19:21:26 +0100] PID 61099 (/usr/local/libexec/cups/filter/pstops) exited with no errors.
D [23/Dec/2007:19:21:26 +0100] PID 61098 (/usr/local/libexec/cups/cgi-bin/printers.cgi) exited with no errors.
D [23/Dec/2007:19:21:26 +0100] [CGI] lang="fr.UTF8", locale="/fr"...
D [23/Dec/2007:19:21:26 +0100] [CGI] lang="fr.UTF8", locale="/fr"...
D [23/Dec/2007:19:21:26 +0100] cupsdCloseClient: 12
D [23/Dec/2007:19:21:27 +0100] [Job 25] foomatic-rip version $Revision: 3.43.2.6 $ running...
D [23/Dec/2007:19:21:27 +0100] [Job 25] Parsing PPD file ...
D [23/Dec/2007:19:21:27 +0100] [Job 25] *cupsFilter: "application/vnd.cups-postscript 0 foomatic-rip"
D [23/Dec/2007:19:21:27 +0100] [Job 25] Added option ColorSpace
D [23/Dec/2007:19:21:27 +0100] [Job 25] Added option Resolution
D [23/Dec/2007:19:21:27 +0100] [Job 25] Added option PageSize
D [23/Dec/2007:19:21:27 +0100] [Job 25] Added option PageRegion
D [23/Dec/2007:19:21:27 +0100] [Job 25] Added option Model
D [23/Dec/2007:19:21:27 +0100] [Job 25] Added option PrintoutMode
D [23/Dec/2007:19:21:27 +0100] [Job 25] Added option ImageableArea
D [23/Dec/2007:19:21:27 +0100] [Job 25] Added option PaperDimension
D [23/Dec/2007:19:21:27 +0100] [Job 25] Added option Quality
D [23/Dec/2007:19:21:27 +0100] [Job 25] Added option Font 

Back to top
 
WWW WWW  
IP Logged
 
ph11
YaBB Newbies
*
Offline


Go Fug Yourself

Posts: 46
Brussels
Gender: male
Re: Problème de configuration d'imprimante.
Reply #5 - 23. Dec 2007 at 19:34
 
Code:
D [23/Dec/2007:19:21:27 +0100] [Job 25] Parameter Summary
D [23/Dec/2007:19:21:27 +0100] [Job 25] -----------------
D [23/Dec/2007:19:21:27 +0100] [Job 25]
D [23/Dec/2007:19:21:27 +0100] [Job 25] Spooler: cups
D [23/Dec/2007:19:21:27 +0100] [Job 25] Printer: hp
D [23/Dec/2007:19:21:27 +0100] [Job 25] PPD file: /usr/local/etc/cups/ppd/hp.ppd
D [23/Dec/2007:19:21:27 +0100] [Job 25] Printer model: HP DeskJet 3940 Foomatic/hpijs (recommended)
D [23/Dec/2007:19:21:27 +0100] [Job 25] Job title: Test Page
D [23/Dec/2007:19:21:27 +0100] [Job 25] File(s) to be printed:
D [23/Dec/2007:19:21:27 +0100] [Job 25] <STDIN>
D [23/Dec/2007:19:21:27 +0100] [Job 25]
D [23/Dec/2007:19:21:27 +0100] [Job 25] Pondering option 'job-uuid=urn:uuid:fd1679fb-49c4-38af-5017-8fe1f84e7b27'
D [23/Dec/2007:19:21:27 +0100] [Job 25] Unknown option job-uuid=urn:uuid:fd1679fb-49c4-38af-5017-8fe1f84e7b27.
D [23/Dec/2007:19:21:27 +0100] [Job 25]
D [23/Dec/2007:19:21:27 +0100] [Job 25] ================================================
D [23/Dec/2007:19:21:27 +0100] [Job 25]
D [23/Dec/2007:19:21:27 +0100] [Job 25] File: <STDIN>
D [23/Dec/2007:19:21:27 +0100] [Job 25]
D [23/Dec/2007:19:21:27 +0100] [Job 25] ================================================
D [23/Dec/2007:19:21:27 +0100] [Job 25]
D [23/Dec/2007:19:21:27 +0100] [Job 25] Reading PostScript input ...
D [23/Dec/2007:19:21:27 +0100] [Job 25] --> This document is DSC-conforming!
D [23/Dec/2007:19:21:27 +0100] [Job 25]
D [23/Dec/2007:19:21:27 +0100] [Job 25] -----------
D [23/Dec/2007:19:21:27 +0100] [Job 25] Found: %%BeginProlog
D [23/Dec/2007:19:21:27 +0100] [Job 25] Found: %%EndProlog
D [23/Dec/2007:19:21:27 +0100] [Job 25]
D [23/Dec/2007:19:21:27 +0100] [Job 25] -----------
D [23/Dec/2007:19:21:27 +0100] [Job 25] Found: %%BeginSetup
D [23/Dec/2007:19:21:27 +0100] [Job 25] Inserting PostScript code for CUPS' page accounting
D [23/Dec/2007:19:21:27 +0100] [Job 25] Found: %%BeginFeature: *PrintoutMode Normal
D [23/Dec/2007:19:21:27 +0100] [Job 25] Option: PrintoutMode=Normal --> Setting option
D [23/Dec/2007:19:21:27 +0100] [Job 25] Found: %% FoomaticRIPOptionSetting: PrintoutMode=Normal
D [23/Dec/2007:19:21:27 +0100] [Job 25] Option: PrintoutMode=Normal --> Setting option
D [23/Dec/2007:19:21:27 +0100] [Job 25] Found: %%BeginFeature: *Quality FromPrintoutMode
D [23/Dec/2007:19:21:27 +0100] [Job 25] Option: Quality=FromPrintoutMode --> Setting option
D [23/Dec/2007:19:21:27 +0100] [Job 25] Found: %% FoomaticRIPOptionSetting: Quality=@PrintoutMode
D [23/Dec/2007:19:21:27 +0100] [Job 25] Option: Quality=FromPrintoutMode --> Setting option
D [23/Dec/2007:19:21:27 +0100] [Job 25] Found: %%BeginFeature: *PageSize A4
D [23/Dec/2007:19:21:27 +0100] [Job 25] Option: PageSize=A4 --> Setting option
D [23/Dec/2007:19:21:27 +0100] [Job 25] Found: %% FoomaticRIPOptionSetting: PageSize=A4
D [23/Dec/2007:19:21:27 +0100] [Job 25] Option: PageSize=A4 --> Setting option
D [23/Dec/2007:19:21:27 +0100] [Job 25] Found: %%EndSetup
D [23/Dec/2007:19:21:27 +0100] [Job 25]
D [23/Dec/2007:19:21:27 +0100] [Job 25] -----------
D [23/Dec/2007:19:21:27 +0100] [Job 25] New page:  1 1
D [23/Dec/2007:19:21:27 +0100] [Job 25] Inserting option code into "PageSetup" section.
D [23/Dec/2007:19:21:27 +0100] [Job 25]
D [23/Dec/2007:19:21:27 +0100] [Job 25] Found: %%BeginPageSetup
D [23/Dec/2007:19:21:27 +0100] [Job 25] Found: %%EndPageSetup
D [23/Dec/2007:19:21:27 +0100] [Job 25] End of page header
D [23/Dec/2007:19:21:27 +0100] [Job 25] Stopping search for page header options
D [23/Dec/2007:19:21:27 +0100] [Job 25] Found:
D [23/Dec/2007:19:21:27 +0100] [Job 25] lineto				% Move there...
D [23/Dec/2007:19:21:27 +0100] [Job 25] --> Output goes directly to the renderer now.
D [23/Dec/2007:19:21:27 +0100] [Job 25]
D [23/Dec/2007:19:21:27 +0100] [Job 25]
D [23/Dec/2007:19:21:27 +0100] [Job 25] Starting renderer
D [23/Dec/2007:19:21:27 +0100] [Job 25] JCL: <job data>
D [23/Dec/2007:19:21:27 +0100] [Job 25]
D [23/Dec/2007:19:21:27 +0100] [Job 25] renderer PID kid4=61103
D [23/Dec/2007:19:21:27 +0100] [Job 25] renderer command: gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="deskjet 3320" -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842 -r300 -sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=1 -dIjsUseOutputFD -sOutputFile=- -
D [23/Dec/2007:19:21:27 +0100] [Job 25]
D [23/Dec/2007:19:21:27 +0100] [Job 25] Closing renderer
D [23/Dec/2007:19:21:27 +0100] [Job 25] perl: warning: Setting locale failed.
D [23/Dec/2007:19:21:27 +0100] [Job 25] perl: warning: Please check that your locale settings:
D [23/Dec/2007:19:21:27 +0100] [Job 25] LC_ALL = (unset),
D [23/Dec/2007:19:21:27 +0100] [Job 25] LANG = "fr.UTF8"
D [23/Dec/2007:19:21:27 +0100] [Job 25] are supported and installed on your system.
D [23/Dec/2007:19:21:27 +0100] [Job 25] perl: warning: Falling back to the standard locale ("C").
D [23/Dec/2007:19:21:27 +0100] [Job 25] foomatic-gswrapper: gs '-dBATCH' '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=ijs' '-sIjsServer=hpijs' '-sDeviceManufacturer=HEWLETT-PACKARD' '-sDeviceModel=deskjet 3320' '-dDEVICEWIDTHPOINTS=595' '-dDEVICEHEIGHTPOINTS=842' '-r300' '-sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=1' '-dIjsUseOutputFD' '-sOutputFile=| cat >&3' '/dev/fd/0' 3>&1 1>&2 

Back to top
 
WWW WWW  
IP Logged
 
ph11
YaBB Newbies
*
Offline


Go Fug Yourself

Posts: 46
Brussels
Gender: male
Re: Problème de configuration d'imprimante.
Reply #6 - 23. Dec 2007 at 19:35
 
Code:
D [23/Dec/2007:19:21:27 +0100] [Job 25] Unknown device: ijs
D [23/Dec/2007:19:21:27 +0100] [Job 25] Unrecoverable error: undefined in .uninstallpagedevice
D [23/Dec/2007:19:21:27 +0100] [Job 25] Operand stack:
D [23/Dec/2007:19:21:27 +0100] [Job 25] defaultdevice
D [23/Dec/2007:19:21:27 +0100] [Job 25] renderer return value: 1
D [23/Dec/2007:19:21:27 +0100] [Job 25] renderer received signal: 1
D [23/Dec/2007:19:21:27 +0100] [Job 25] tail process done writing data to STDOUT
D [23/Dec/2007:19:21:27 +0100] [Job 25] KID4 exited with status 0
D [23/Dec/2007:19:21:27 +0100] [Job 25] KID4 finished
D [23/Dec/2007:19:21:27 +0100] [Job 25] KID3 exited with status 3
D [23/Dec/2007:19:21:27 +0100] [Job 25] Process dying with "Possible error on renderer command line or PostScript error. Check options.", exit stat: 3
D [23/Dec/2007:19:21:27 +0100] [Job 25] Renderer exit stat: 3
D [23/Dec/2007:19:21:27 +0100] [Job 25] Possible error on renderer command line or PostScript error. Check options.
D [23/Dec/2007:19:21:27 +0100] [Job 25] Renderer process finished
D [23/Dec/2007:19:21:27 +0100] [Job 25] Killing process 61102 (KID3)
D [23/Dec/2007:19:21:27 +0100] [Job 25] Process dying with "Error closing renderer", exit stat: 3
D [23/Dec/2007:19:21:27 +0100] [Job 25] Error closing renderer
E [23/Dec/2007:19:21:27 +0100] PID 61100 (/usr/local/libexec/cups/filter/foomatic-rip) stopped with status 3!
D [23/Dec/2007:19:21:27 +0100] PID 61101 (/usr/local/libexec/cups/backend/usb) exited with no errors.
D [23/Dec/2007:19:21:27 +0100] [Job 25] File 0 is complete.
E [23/Dec/2007:19:21:27 +0100] [Job 25] Job stopped due to filter errors.
D [23/Dec/2007:19:21:27 +0100] Discarding unused printer-state-changed event...
D [23/Dec/2007:19:21:27 +0100] Discarding unused job-stopped event...
D [23/Dec/2007:19:21:28 +0100] [Job 25] Unloading...
D [23/Dec/2007:19:21:29 +0100] cupsdReadClient: 9 GET /printers/hp HTTP/1.1
D [23/Dec/2007:19:21:29 +0100] cupsdAuthorize: No authentication data provided.
D [23/Dec/2007:19:21:29 +0100] [CGI] /usr/local/libexec/cups/cgi-bin/printers.cgi started - PID = 61113
I [23/Dec/2007:19:21:29 +0100] Started "/usr/local/libexec/cups/cgi-bin/printers.cgi" (pid=61113)
D [23/Dec/2007:19:21:29 +0100] cupsdSendCommand: 9 file=10
D [23/Dec/2007:19:21:29 +0100] cupsdAcceptClient: 12 from localhost (Domain)
D [23/Dec/2007:19:21:29 +0100] cupsdReadClient: 12 POST / HTTP/1.1
D [23/Dec/2007:19:21:29 +0100] cupsdAuthorize: No authentication data provided.
D [23/Dec/2007:19:21:29 +0100] CUPS-Get-Default
D [23/Dec/2007:19:21:29 +0100] CUPS-Get-Default client-error-not-found: No default printer
D [23/Dec/2007:19:21:29 +0100] cupsdProcessIPPRequest: 12 status_code=406 (client-error-not-found)
D [23/Dec/2007:19:21:29 +0100] [CGI] show_printer(http=0x8080000, printer="hp")
D [23/Dec/2007:19:21:29 +0100] cupsdReadClient: 12 POST / HTTP/1.1
D [23/Dec/2007:19:21:29 +0100] cupsdAuthorize: No authentication data provided.
D [23/Dec/2007:19:21:29 +0100] Get-Printer-Attributes ipp://localhost/printers/hp
D [23/Dec/2007:19:21:29 +0100] cupsdProcessIPPRequest: 12 status_code=0 (successful-ok)
D [23/Dec/2007:19:21:29 +0100] [CGI] lang="fr.UTF8", locale="/fr"...
D [23/Dec/2007:19:21:29 +0100] cupsdReadClient: 12 POST / HTTP/1.1
D [23/Dec/2007:19:21:29 +0100] cupsdAuthorize: No authentication data provided.
D [23/Dec/2007:19:21:29 +0100] Get-Jobs ipp://localhost:631/printers/hp
D [23/Dec/2007:19:21:29 +0100] [Job 25] Loading attributes...
D [23/Dec/2007:19:21:29 +0100] cupsdProcessIPPRequest: 12 status_code=0 (successful-ok)
D [23/Dec/2007:19:21:29 +0100] [CGI] lang="fr.UTF8", locale="/fr"...
D [23/Dec/2007:19:21:29 +0100] [CGI] lang="fr.UTF8", locale="/fr"...
D [23/Dec/2007:19:21:29 +0100] [CGI] lang="fr.UTF8", locale="/fr"...
D [23/Dec/2007:19:21:29 +0100] [CGI] lang="fr.UTF8", locale="/fr"...
D [23/Dec/2007:19:21:29 +0100] cupsdCloseClient: 12
D [23/Dec/2007:19:21:29 +0100] PID 61113 (/usr/local/libexec/cups/cgi-bin/printers.cgi) exited with no errors.
D [23/Dec/2007:19:21:29 +0100] [CGI] lang="fr.UTF8", locale="/fr"...
D [23/Dec/2007:19:21:29 +0100] [CGI] lang="fr.UTF8", locale="/fr"...
D [23/Dec/2007:19:21:29 +0100] [CGI] lang="fr.UTF8", locale="/fr"...
D [23/Dec/2007:19:21:29 +0100] [CGI] lang="fr.UTF8", locale="/fr"...
D [23/Dec/2007:19:21:32 +0100] cupsdReadClient: 9 GET /jobs/?op=cancel-job&job_id=25&job_printer_uri=/printers/hp HTTP/1.1
D [23/Dec/2007:19:21:32 +0100] cupsdAuthorize: No authentication data provided.
D [23/Dec/2007:19:21:32 +0100] [CGI] /usr/local/libexec/cups/cgi-bin/jobs.cgi started - PID = 61120
I [23/Dec/2007:19:21:32 +0100] Started "/usr/local/libexec/cups/cgi-bin/jobs.cgi" (pid=61120)
D [23/Dec/2007:19:21:32 +0100] cupsdSendCommand: 9 file=10
D [23/Dec/2007:19:21:32 +0100] cupsdAcceptClient: 12 from localhost (Domain)
D [23/Dec/2007:19:21:32 +0100] cupsdReadClient: 12 POST /jobs HTTP/1.1
D [23/Dec/2007:19:21:32 +0100] cupsdAuthorize: No authentication data provided.
D [23/Dec/2007:19:21:32 +0100] Cancel-Job ipp://localhost/jobs/25
D [23/Dec/2007:19:21:32 +0100] cupsdIsAuthorized: requesting-user-name="guest"
D [23/Dec/2007:19:21:32 +0100] Discarding unused job-completed event...
I [23/Dec/2007:19:21:32 +0100] [Job 25] Canceled by "guest". 


Back to top
 
WWW WWW  
IP Logged
 
ph11
YaBB Newbies
*
Offline


Go Fug Yourself

Posts: 46
Brussels
Gender: male
Re: Problème de configuration d'imprimante.
Reply #7 - 23. Dec 2007 at 19:37
 
Code:
D [23/Dec/2007:19:21:32 +0100] cupsdProcessIPPRequest: 12 status_code=0 (successful-ok)
D [23/Dec/2007:19:21:32 +0100] [CGI] lang="fr.UTF8", locale="/fr"...
D [23/Dec/2007:19:21:33 +0100] PID 61120 (/usr/local/libexec/cups/cgi-bin/jobs.cgi) exited with no errors.
D [23/Dec/2007:19:21:33 +0100] cupsdCloseClient: 12
D [23/Dec/2007:19:21:33 +0100] [CGI] lang="fr.UTF8", locale="/fr"...
D [23/Dec/2007:19:21:33 +0100] [CGI] lang="fr.UTF8", locale="/fr"...
D [23/Dec/2007:19:21:38 +0100] cupsdReadClient: 9 GET /printers/hp HTTP/1.1
D [23/Dec/2007:19:21:38 +0100] cupsdAuthorize: No authentication data provided.
D [23/Dec/2007:19:21:38 +0100] [CGI] /usr/local/libexec/cups/cgi-bin/printers.cgi started - PID = 61135
I [23/Dec/2007:19:21:38 +0100] Started "/usr/local/libexec/cups/cgi-bin/printers.cgi" (pid=61135)
D [23/Dec/2007:19:21:38 +0100] cupsdSendCommand: 9 file=10
D [23/Dec/2007:19:21:38 +0100] cupsdAcceptClient: 12 from localhost (Domain)
D [23/Dec/2007:19:21:38 +0100] cupsdReadClient: 12 POST / HTTP/1.1
D [23/Dec/2007:19:21:38 +0100] cupsdAuthorize: No authentication data provided.
D [23/Dec/2007:19:21:38 +0100] CUPS-Get-Default
D [23/Dec/2007:19:21:38 +0100] CUPS-Get-Default client-error-not-found: No default printer
D [23/Dec/2007:19:21:38 +0100] cupsdProcessIPPRequest: 12 status_code=406 (client-error-not-found)
D [23/Dec/2007:19:21:38 +0100] [CGI] show_printer(http=0x8080000, printer="hp")
D [23/Dec/2007:19:21:38 +0100] cupsdReadClient: 12 POST / HTTP/1.1
D [23/Dec/2007:19:21:38 +0100] cupsdAuthorize: No authentication data provided.
D [23/Dec/2007:19:21:38 +0100] Get-Printer-Attributes ipp://localhost/printers/hp
D [23/Dec/2007:19:21:38 +0100] cupsdProcessIPPRequest: 12 status_code=0 (successful-ok)
D [23/Dec/2007:19:21:38 +0100] [CGI] lang="fr.UTF8", locale="/fr"...
D [23/Dec/2007:19:21:38 +0100] cupsdReadClient: 12 POST / HTTP/1.1
D [23/Dec/2007:19:21:38 +0100] cupsdAuthorize: No authentication data provided.
D [23/Dec/2007:19:21:38 +0100] Get-Jobs ipp://localhost:631/printers/hp
D [23/Dec/2007:19:21:38 +0100] cupsdProcessIPPRequest: 12 status_code=0 (successful-ok)
D [23/Dec/2007:19:21:38 +0100] [CGI] lang="fr.UTF8", locale="/fr"...
D [23/Dec/2007:19:21:38 +0100] PID 61135 (/usr/local/libexec/cups/cgi-bin/printers.cgi) exited with no errors.
D [23/Dec/2007:19:21:38 +0100] cupsdCloseClient: 12
D [23/Dec/2007:19:21:38 +0100] [CGI] lang="fr.UTF8", locale="/fr"...
D [23/Dec/2007:19:21:38 +0100] [CGI] lang="fr.UTF8", locale="/fr"...
D [23/Dec/2007:19:21:38 +0100] [CGI] lang="fr.UTF8", locale="/fr"...
D [23/Dec/2007:19:21:38 +0100] [CGI] lang="fr.UTF8", locale="/fr"...
D [23/Dec/2007:19:21:38 +0100] [CGI] lang="fr.UTF8", locale="/fr"...
D [23/Dec/2007:19:22:39 +0100] cupsdCloseClient: 9
D [23/Dec/2007:19:22:39 +0100] [Job 25] Unloading...
 


Voila. Dsl pour la longueur.
Back to top
 
WWW WWW  
IP Logged
 
ph11
YaBB Newbies
*
Offline


Go Fug Yourself

Posts: 46
Brussels
Gender: male
Re: Problème de configuration d'imprimante.
Reply #8 - 23. Dec 2007 at 19:41
 
et acces_log
Code:
localhost - - [23/Dec/2007:19:21:26 +0100] "GET /printers/hp?op=print-test-page HTTP/1.1" 200 0 - -
localhost - - [23/Dec/2007:19:21:26 +0100] "POST /printers/hp HTTP/1.1" 200 17995 Print-Job successful-ok
localhost - - [23/Dec/2007:19:21:26 +0100] "GET /printers/hp?op=print-test-page HTTP/1.1" 200 3526 - -
localhost - - [23/Dec/2007:19:21:29 +0100] "GET /printers/hp HTTP/1.1" 200 0 - -
localhost - - [23/Dec/2007:19:21:29 +0100] "POST / HTTP/1.1" 200 135 CUPS-Get-Default client-error-not-found
localhost - - [23/Dec/2007:19:21:29 +0100] "POST / HTTP/1.1" 200 516 Get-Printer-Attributes successful-ok
localhost - - [23/Dec/2007:19:21:29 +0100] "POST / HTTP/1.1" 200 450 Get-Jobs successful-ok
localhost - - [23/Dec/2007:19:21:29 +0100] "GET /printers/hp HTTP/1.1" 200 8028 - -
localhost - - [23/Dec/2007:19:21:32 +0100] "GET /jobs/?op=cancel-job&job_id=25&job_printer_uri=/printers/hp HTTP/1.1" 200 0 - -
localhost - - [23/Dec/2007:19:21:32 +0100] "POST /jobs HTTP/1.1" 200 137 Cancel-Job successful-ok
localhost - - [23/Dec/2007:19:21:32 +0100] "GET /jobs/?op=cancel-job&job_id=25&job_printer_uri=/printers/hp HTTP/1.1" 200 3451 - -
localhost - - [23/Dec/2007:19:21:38 +0100] "GET /printers/hp HTTP/1.1" 200 0 - -
localhost - - [23/Dec/2007:19:21:38 +0100] "POST / HTTP/1.1" 200 135 CUPS-Get-Default client-error-not-found
localhost - - [23/Dec/2007:19:21:38 +0100] "POST / HTTP/1.1" 200 516 Get-Printer-Attributes successful-ok
localhost - - [23/Dec/2007:19:21:38 +0100] "POST / HTTP/1.1" 200 450 Get-Jobs successful-ok
localhost - - [23/Dec/2007:19:21:38 +0100] "GET /printers/hp HTTP/1.1" 200 6379 - - 

Back to top
 
WWW WWW  
IP Logged
 
fgudin
Global Moderator
*****
Offline


PouetPouetBSD roul3z

Posts: 1552
Thonon (74)
Gender: male
Re: Problème de configuration d'imprimante.
Reply #9 - 23. Dec 2007 at 19:53
 
A voir ça:
Code:
D [23/Dec/2007:19:21:27 +0100] [Job 25] Unknown device: ijs
D [23/Dec/2007:19:21:27 +0100] [Job 25] Unrecoverable error: undefined in .uninstallpagedevice
D [23/Dec/2007:19:21:27 +0100] [Job 25] Operand stack:
D [23/Dec/2007:19:21:27 +0100] [Job 25] defaultdevice
D [23/Dec/2007:19:21:27 +0100] [Job 25] renderer return value: 1
D [23/Dec/2007:19:21:27 +0100] [Job 25] renderer received signal: 1
D [23/Dec/2007:19:21:27 +0100] [Job 25] tail process done writing data to STDOUT
D [23/Dec/2007:19:21:27 +0100] [Job 25] KID4 exited with status 0
D [23/Dec/2007:19:21:27 +0100] [Job 25] KID4 finished
D [23/Dec/2007:19:21:27 +0100] [Job 25] KID3 exited with status 3
D [23/Dec/2007:19:21:27 +0100] [Job 25] Process dying with "Possible error on renderer command line or PostScript error. Check options.", exit stat: 3
D [23/Dec/2007:19:21:27 +0100] [Job 25] Renderer exit stat: 3 


le wrapper Ghostscript de Foomatic essaie d'utiliser (HP)IJS: as-tu installé print/foomatic-db-hpijs?
Back to top
 
 
IP Logged
 
ph11
YaBB Newbies
*
Offline


Go Fug Yourself

Posts: 46
Brussels
Gender: male
Re: Problème de configuration d'imprimante.
Reply #10 - 23. Dec 2007 at 20:19
 
Si ça pouvait être aussi simple. Mais non, foomatic-db-hpijs est bien installé.
Back to top
« Last Edit: 24. Dec 2007 at 02:08 by ph11 »  
WWW WWW  
IP Logged
 
ph11
YaBB Newbies
*
Offline


Go Fug Yourself

Posts: 46
Brussels
Gender: male
Re: Problème de configuration d'imprimante.
Reply #11 - 27. Dec 2007 at 00:40
 
Bizarre, et voulant effacer hpijs, j'ai ce message:
Code:
pkg_delete hpijs-2.1.4_1
pkg_delete: '/usr/local/bin/foomatic-rip' fails original MD5 checksum - not deleted.
pkg_delete: couldn't entirely delete package (perhaps the packing list is
incorrectly specified?) 

Back to top
 
WWW WWW  
IP Logged
 
ph11
YaBB Newbies
*
Offline


Go Fug Yourself

Posts: 46
Brussels
Gender: male
Re: Problème de configuration d'imprimante.
Reply #12 - 27. Dec 2007 at 00:43
 
Et j'ai ceci en desinstallant foomatic-filters:
Code:
make deinstall
===>  Deinstalling for print/foomatic-filters
===>   Deinstalling foomatic-filters-3.0.2_4
pkg_delete: file '/usr/local/libexec/cups/filter/foomatic-rip' doesn't exist
pkg_delete: couldn't entirely delete package (perhaps the packing list is
incorrectly specified?)
 

Back to top
 
WWW WWW  
IP Logged