Re: CUPS printing problem
On Sun, Feb 18, 2007 at 10:04:45PM +, AN wrote: I am having a problem printing from CUPS. I did a fresh install on 6.2 release and cups-1.2.7. I am trying to configure for an HP1022. The install was successful, and I can manage the printer from the web interface. But, when I try to print a test page, the light on the printer starts flashing but nothing gets printed. The printer admin page shows the following: Description: HP1022 Location: office Make and Model: HP LaserJet Series PCL 4/5 CUPS v1.2 Printer State: idle, accepting jobs, published. Device URI: socket://10.0.1.222:9100 IDNameUserSizePages State Control State HP1022-1 Test Page root18k Unknown stopped So, it appears that after I send the job the printer goes into Stopped state. I checked the logs, and there is something I don't understand. It says: cupsdAuthorize: No authentication data provided What does this mean? Where do you set authentication? Is this the cause of the problem, or a symptom of something else? One thing you need to check is the access rights to the printer device. The device that you want to print to (e.g. /dev/lpt0) needs to belong to the cups group (which should exist, along with an unprivileged user named cups), and that group needs to have read/write access. If you are using a parallel port printer, add the following to devfs.conf(5) and reboot, or use chown/chmod to correctly set the values: # Give cups printer access own lpt0root:cups permlpt00660 If you are using for instance a USB printer, you need to add the following to your ruleset in devfs.rules(5)and reboot, or use chown/chmod to correctly set the values: add path 'ulpt*' mode 0660 group cups HTH, Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpoefYVGDXuT.pgp Description: PGP signature
CUPS printing problem
My apologies to the list. Originally I sent 2 log files, as separate attachments to a previous email and somehow they got put into the body of the message and were really long. I am sorry for wasting every-ones bandwidth and time. Below is the original message with some pertinent log info. Again, I apologize for the poor etiquette. Original message: I am having a problem printing from CUPS. I did a fresh install on 6.2 release and cups-1.2.7. I am trying to configure for an HP1022. The install was successful, and I can manage the printer from the web interface. But, when I try to print a test page, the light on the printer starts flashing but nothing gets printed. The printer admin page shows the following: Description: HP1022 Location: office Make and Model: HP LaserJet Series PCL 4/5 CUPS v1.2 Printer State: idle, accepting jobs, published. Device URI: socket://10.0.1.222:9100 ID Name User Size Pages State Control State HP1022-1 Test Page root 18k Unknown stopped So, it appears that after I send the job the printer goes into Stopped state. I checked the logs, and there is something I don't understand. It says: cupsdAuthorize: No authentication data provided What does this mean? Where do you set authentication? Is this the cause of the problem, or a symptom of something else? Do I need to authorize specific users, if so where and how do you do it? I am running gnome 2.16. Below is a short excerpt from error_log: [19/Feb/2007:14:32:28 +0200] cupsdNetIFUpdate: sk0 = 10.0.1.175... D [19/Feb/2007:14:32:28 +0200] cupsdNetIFUpdate: lo0 = fe80:3::1... D [19/Feb/2007:14:32:28 +0200] cupsdNetIFUpdate: lo0 = localhost... D [19/Feb/2007:14:32:28 +0200] cupsdNetIFUpdate: lo0 = localhost... D [19/Feb/2007:14:32:54 +0200] cupsdCloseClient: 8 D [19/Feb/2007:14:33:24 +0200] cupsdAcceptClient: 8 from 10.0.1.175:631 (IPv4) D [19/Feb/2007:14:33:24 +0200] cupsdReadClient: 8 GET /admin/?op=delete-printer[EMAIL PROTECTED] HTTP/1.1 D [19/Feb/2007:14:33:24 +0200] cupsdReadClient: 8 Browser asked for language en-us.utf-8... D [19/Feb/2007:14:33:24 +0200] cupsdAuthorize: No authentication data provided. D [19/Feb/2007:14:33:24 +0200] cupsdSendError: 8 code=403 (Forbidden) D [19/Feb/2007:14:33:24 +0200] cupsdCloseClient: 8 D [19/Feb/2007:14:33:24 +0200] cupsdAcceptClient: 8 from 10.0.1.175:631 (IPv4) D [19/Feb/2007:14:33:24 +0200] cupsdReadClient: 8 GET /cups.css HTTP/1.1 D [19/Feb/2007:14:33:24 +0200] cupsdReadClient: 8 Browser asked for language en-us.utf-8... D [19/Feb/2007:14:33:24 +0200] cupsdAuthorize: No authentication data provided. D [19/Feb/2007:14:33:24 +0200] write_file: 8 file=9 D [19/Feb/2007:14:33:32 +0200] cupsdNetIFUpdate: sk0 = 10.0.1.175... D [19/Feb/2007:14:33:32 +0200] cupsdNetIFUpdate: lo0 = fe80:3::1... D [19/Feb/2007:14:33:32 +0200] cupsdNetIFUpdate: lo0 = localhost... D [19/Feb/2007:14:33:32 +0200] cupsdNetIFUpdate: lo0 = localhost... D [19/Feb/2007:14:34:24 +0200] cupsdCloseClient: 8 D [19/Feb/2007:14:34:34 +0200] cupsdNetIFUpdate: sk0 = 10.0.1.175... D [19/Feb/2007:14:34:34 +0200] cupsdNetIFUpdate: lo0 = fe80:3::1... D [19/Feb/2007:14:34:34 +0200] cupsdNetIFUpdate: lo0 = localhost... D [19/Feb/2007:14:34:34 +0200] cupsdNetIFUpdate: lo0 = localhost... D [19/Feb/2007:14:35:36 +0200] cupsdNetIFUpdate: sk0 = 10.0.1.175... D [19/Feb/2007:14:35:36 +0200] cupsdNetIFUpdate: lo0 = fe80:3::1... D [19/Feb/2007:14:35:36 +0200] cupsdNetIFUpdate: lo0 = localhost... D [19/Feb/2007:14:35:36 +0200] cupsdNetIFUpdate: lo0 = localhost... D [19/Feb/2007:14:36:38 +0200] cupsdNetIFUpdate: sk0 = 10.0.1.175... D [19/Feb/2007:14:36:38 +0200] cupsdNetIFUpdate: lo0 = fe80:3::1... D [19/Feb/2007:14:36:38 +0200] cupsdNetIFUpdate: lo0 = localhost... D [19/Feb/2007:14:36:38 +0200] cupsdNetIFUpdate: lo0 = localhost... D [19/Feb/2007:14:37:40 +0200] cupsdNetIFUpdate: sk0 = 10.0.1.175... D [19/Feb/2007:14:37:40 +0200] cupsdNetIFUpdate: lo0 = fe80:3::1... D [19/Feb/2007:14:37:40 +0200] cupsdNetIFUpdate: lo0 = localhost... D [19/Feb/2007:14:37:40 +0200] cupsdNetIFUpdate: lo0 = localhost... D [19/Feb/2007:14:38:42 +0200] cupsdNetIFUpdate: sk0 = 10.0.1.175... D [19/Feb/2007:14:38:42 +0200] cupsdNetIFUpdate: lo0 = fe80:3::1... D [19/Feb/2007:14:38:42 +0200] cupsdNetIFUpdate: lo0 = localhost... D [19/Feb/2007:14:38:42 +0200] cupsdNetIFUpdate: lo0 = localhost... D [19/Feb/2007:14:38:50 +0200] cupsdAcceptClient: 8 from 10.0.1.169:631 (IPv4) D [19/Feb/2007:14:38:51 +0200] cupsdReadClient: 8 GET /printers/[EMAIL PROTECTED] HTTP/1.1 D [19/Feb/2007:14:38:51 +0200] cupsdAuthorize: No authentication data provided. D [19/Feb/2007:14:38:51 +0200] cupsdSendError: 8 code=404 (Not Found) D [19/Feb/2007:14:38:51 +0200] cupsdCloseClient: 8 D [19/Feb/2007:14:38:51 +0200] cupsdAcceptClient: 8 from 10.0.1.169:631 (IPv4) D [19/Feb/2007:14:38:51 +0200] cupsdReadClient: 8 GET /printers/[EMAIL PROTECTED] HTTP/1.1 D [19/Feb/2007:14:38:51 +0200] cupsdAuthorize: No authentication
Re: CUPS printing problem
On 2/19/07, Dak Ghatikachalam [EMAIL PROTECTED] wrote: -- Forwarded message -- From: AN [EMAIL PROTECTED] Date: Feb 18, 2007 5:04 PM Subject: CUPS printing problem To: freebsd-questions@freebsd.org I am having a problem printing from CUPS. I did a fresh install on 6.2 release and cups-1.2.7. I am trying to configure for an HP1022. The install was successful, and I can manage the printer from the web interface. But, when I try to print a test page, the light on the printer starts flashing but nothing gets printed. The printer admin page shows the following: Description: HP1022 Location: office Make and Model: HP LaserJet Series PCL 4/5 CUPS v1.2 Printer State: idle, accepting jobs, published. Device URI: socket://10.0.1.222:9100 ID NameUserSizePages State Control State HP1022-1Test Page root18k Unknown stopped So, it appears that after I send the job the printer goes into Stopped state. I checked the logs, and there is something I don't understand. It says: cupsdAuthorize: No authentication data provided What does this mean? Where do you set authentication? Is this the cause of the problem, or a symptom of something else? The problem would be that you did not give the access to those users who wants to print in KDE you invoke system settings/printer manager and there you add the users. Choose the printer in question and click properties tab and on there would be box like , general, interface etc, scroll down to the bottom most there you will find users, once you choose those box you will see change on properties box Click change and choose allowed users and add that user in question. This may resolve this issue Best regards Dak Log files attached. Any help would be really appreciated! TIA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Konica Minolta 2430DL CUPS printing problem
Has anyone been successful in get this printer to print using CUPS, or anything else for that matter. I've been trying to get it to work for over a month now. The closest I can get is to get the error Loading Halftones Error... when trying to print a test page from the cups web interface. This is with the driver supplied by Konica. The CUPS driver for linuxprinting.org doesn't do anything at all. I have debugging output set for the cups error log, but that doesn't result in anything worth while. Any help would be great! Rod ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Konica Minolta 2430DL CUPS printing problem
On 8/28/05, rod person [EMAIL PROTECTED] wrote: Has anyone been successful in get this printer to print using CUPS, or anything else for that matter. I've been trying to get it to work for over a month now. The closest I can get is to get the error Loading Halftones Error... when trying to print a test page from the cups web interface. This is with the driver supplied by Konica. The CUPS driver for linuxprinting.org doesn't do anything at all. I have debugging output set for the cups error log, but that doesn't result in anything worth while. Any help would be great! We (They, I had nothing to do with buying this printer, I openly denounced it but they still bought it) have a Konica Minolta 5430DL and no I can't get it to work, but I haven't tired very hard. Personally I think it's a POS: * Can't print to it if your on a different subnet, even if you have router/gateway. * When set to DHCP mode this thing always try's to steal are servers IP address (192.168.1.2) at startup. * No Postscript. (aka Windows only, I think it even has a design for windows sticker on it). * High maintenance costs, the projected costs I made over the useful live of this printer is something like $32,000 dollars, I think it might be higher because it goes through toner like a crack whore goes through crack. * No Duplex printing, it's an optional add on. * Won't shrink pages, ie print two pages on one side of one sheet of paper. On the plus side Konica Minolta's phone support is generally helpful, quick, and not out sourced to India. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cups printing problem
Joe: Below, please find a copy of my cupsd.conf file. I'd appreciate it if you could look at it and help me get network printing working. I just need something real simple. 10.0.0.175 is the print server, and I want to allow all hosts on the local net to print without authentication. Thanks, Andy * # # ServerName: the hostname of your server, as advertised to the world. # By default CUPS will use the hostname of the system. # # To set the default server used by clients, see the client.conf file. # ServerName 10.0.0.175 # # ServerAdmin: the email address to send all complaints/problems to. # By default CUPS will use [EMAIL PROTECTED]. # #ServerAdmin [EMAIL PROTECTED] Server Options # # AccessLog: the access log file; if this does not start with a leading / # then it is assumed to be relative to ServerRoot. By default set to # /var/log/cups/access_log # # You can also use the special name syslog to send the output to the # syslog file or daemon. # AccessLog /var/log/cups/access_log # # Classification: the classification level of the server. If set, this # classification is displayed on all pages, and raw printing is disabled. # The default is the empty string. # #Classification classified #Classification confidential #Classification secret #Classification topsecret #Classification unclassified # # ClassifyOverride: whether to allow users to override the classification # on printouts. If enabled, users can limit banner pages to before or # after the job, and can change the classification of a job, but cannot # completely eliminate the classification or banners. # # The default is off. # #ClassifyOverride off # # DataDir: the root directory for the CUPS data files. # By default /usr/local/share/cups. # #DataDir /usr/local/share/cups # # DefaultCharset: the default character set to use. If not specified, # defaults to utf-8. Note that this can also be overridden in # HTML documents... # #DefaultCharset utf-8 # # DefaultLanguage: the default language if not specified by the browser. # If not specified, the current locale is used. # #DefaultLanguage en # # DocumentRoot: the root directory for HTTP documents that are served. # By default /usr/local/share/doc/cups. # #DocumentRoot /usr/local/share/doc/cups # # ErrorLog: the error log file; if this does not start with a leading / # then it is assumed to be relative to ServerRoot. By default set to # /var/log/cups/error_log # # You can also use the special name syslog to send the output to the # syslog file or daemon. # ErrorLog /var/log/cups/error_log # # FileDevice: determines whether the scheduler will allow new printers # to be added using device URIs of the form file:/foo/bar. The default # is not to allow file devices due to the potential security vulnerability # and due to the fact that file devices do not support raw printing. # #FileDevice No # # FontPath: the path to locate all font files (currently only for pstoraster) # By default /usr/local/share/cups/fonts. # #FontPath /usr/local/share/cups/fonts # # LogLevel: controls the number of messages logged to the ErrorLog # file and can be one of the following: # # debug2Log everything. # debug Log almost everything. # info Log all requests and state changes. # warn Log errors and warnings. # error Log only errors. # none Log nothing. # LogLevel debug # # MaxLogSize: controls the maximum size of each log file before they are # rotated. Defaults to 1048576 (1MB). Set to 0 to disable log rotating. # MaxLogSize 200 # # PageLog: the page log file; if this does not start with a leading / # then it is assumed to be relative to ServerRoot. By default set to # /var/log/cups/page_log # # You can also use the special name syslog to send the output to the # syslog file or daemon. # PageLog /var/log/cups/page_log # # PreserveJobHistory: whether or not to preserve the job history after a # job is completed, cancelled, or stopped. Default is Yes. # #PreserveJobHistory Yes # # PreserveJobFiles: whether or not to preserve the job files after a # job is completed, cancelled, or stopped. Default is No. # #PreserveJobFiles No # # AutoPurgeJobs: automatically purge jobs when not needed for quotas. # Default is No. # #AutoPurgeJobs No # # MaxCopies: maximum number of copies that a user can request. Default is # 100. # MaxCopies 100 # # MaxJobs: maximum number of jobs to keep in memory (active and completed.) # Default is 500; the value 0 is used for no limit. # MaxJobs 500 # # MaxJobsPerPrinter: maximum number of active jobs per printer. The default # is 0 for no limit. # #MaxJobsPerPrinter 0 # # MaxJobsPerUser: maximum number of active jobs per user. The default # is 0 for no limit. # #MaxJobsPerUser 0 # # MaxPrinterHistory: controls the maximum number of history collections # in the printer-state-history
Re: Cups printing problem
On Tue, Apr 20, 2004 at 04:33:29PM -0400, [EMAIL PROTECTED] wrote: Joe: Below, please find a copy of my cupsd.conf file. I'd appreciate it if you could look at it and help me get network printing working. I just need something real simple. 10.0.0.175 is the print server, and I want to allow all hosts on the local net to print without authentication. Location / Order Deny,Allow Deny From All Allow From 127.0.0.1 /Location What is the IP of the machine on the lan from which you wish to print to 10.0.0.175? Add that IP to the section I've snipped above, so that section looks like this: Location / Order Deny,Allow Deny From All Allow From 127.0.0.1 Allow from 10.0.0.X? --substitute the number for the host for X? I think that is all you will need to do. IOW: 10.0.0.X? -- prints to -- 10.0.0.175 Here is why I think this: Location / Order Deny,Allow Deny From All Allow From 127.0.0.1 -- equal to 192.168.1.100 Allow from 192.168.1.102 -- dual boot w/ KDE Office /Location Printing works fine w/ the dual boot; KDE Office finds the HP just fine using IPP. If this doesnt' work, then I dont' know. -- Someone dial 911. My bling-bling was stolen and smuggled into Syria. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Cups printing problem
I am trying to print from a FBSD client to an FBSD print server running the latest version of Cups. I can print from the printserver, but not across the local network. I receive this error from the Cups browser admin page: Brother HL-1440 Foomatic/hl1250 (recommended) Description: net-printer Location: Printer State: processing, accepting jobs. Unable to get printer status (client-error-forbidden)! Device URI: http://10.0.0.175:631/ipp/ It seems like the server is refusing the connection, is that the problem or is it something else. I tried putting an /etc/cups/cupsd.conf so that it will spool on the server, but it did not work. Is there something I need to enable or turn on, on the server to make network printing work? Any help is appreciated. TIA, Andy ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cups printing problem
On Sat, Apr 17, 2004 at 04:30:20PM -0400, [EMAIL PROTECTED] wrote: I am trying to print from a FBSD client to an FBSD print server running the latest version of Cups. I can print from the printserver, but not across the local network. I receive this error from the Cups browser admin page: Brother HL-1440 Foomatic/hl1250 (recommended) Description: net-printer Location: Printer State: processing, accepting jobs. Unable to get printer status (client-error-forbidden)! Device URI: http://10.0.0.175:631/ipp/ It seems like the server is refusing the connection, is that the problem or is it something else. I tried putting an /etc/cups/cupsd.conf so that it will spool on the server, but it did not work. Is there something I need to enable or turn on, on the server to make network printing work? Any help is appreciated. TIA, Andy I am guessing that you need to look into the cupsd.conf, which lives in your /usr/local/etc/cups/ directory. Make a backup of this file using cp; then open it in an editor. Look for the section on Access permissions. I think you will want to add this: Allow from 10.0.0.175 Good luck, HTH, joe ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]