[cups.general] Lexmark printer via SAMBA with raw printer

Elaine Lin (慧雯) funf526 at gmail.com
Tue Jul 24 19:06:01 PDT 2007


Hi,
  I'm an engineer and want to impliment a printer server.
 I have a problem about using CUPS 1.1.23 with raw printer via SAMBA
to access Lexmark printer Z845.
My systyem could work in HP, Epson and Canon printers. May CUPS does
not support Lexmark printer via SAMBA with raw printer?
Thank you very much. I'm from Taiwan corporatopn.

Regards,
Elaine Lin 林慧雯
Engineer
SC_NS_SW 網路儲存軟體研發部
Network Storage Software Development Dept.
SOHO/Consumer Product Division
-------------- next part --------------
#
# "$Id: mime.types,v 1.31 2005/01/03 19:29:45 mike Exp $"
#
#   MIME types file for the Common UNIX Printing System (CUPS).
#
#   Copyright 1997-2005 by Easy Software Products.
#
#   These coded instructions, statements, and computer programs are the
#   property of Easy Software Products and are protected by Federal
#   copyright law.  Distribution and use rights are outlined in the file
#   "LICENSE.txt" which should have been included with this file.  If this
#   file is missing or damaged please contact Easy Software Products
#   at:
#
#       Attn: CUPS Licensing Information
#       Easy Software Products
#       44141 Airport View Drive, Suite 204
#       Hollywood, Maryland 20636 USA
#
#       Voice: (301) 373-9600
#       EMail: cups-info at cups.org
#         WWW: http://www.cups.org
#

########################################################################
#
# Format of Lines:
#
#   super/type rules
#
# "rules" can be any combination of:
#
#   ( expr )				Parenthesis for expression grouping
#   +					Logical AND
#   , or whitespace			Logical OR
#   !					Logical NOT
#   match("pattern")			Pattern match on filename
#   extension				Pattern match on "*.extension"
#   ascii(offset,length)		True if bytes are valid printable ASCII
#					(CR, NL, TAB, BS, 32-126)
#   printable(offset,length)		True if bytes are printable 8-bit chars
#					(CR, NL, TAB, BS, 32-126, 128-254)
#   string(offset,"string")		True if bytes are identical to string
#   istring(offset,"string")		True if bytes are identical to
#                                       case-insensitive string
#   char(offset,value)			True if byte is identical
#   short(offset,value)			True if 16-bit integer is identical
#   int(offset,value)			True if 32-bit integer is identical
#   locale("string")                    True if current locale matches string
#   contains(offset,range,"string")	True if the range contains the string
#
# General Notes:
#
#   MIME type names are case-insensitive.  Internally they are converted
#   to lowercase.  Multiple occurrences of a type will cause the provided
#   rules to be appended to the existing definition.  Type names are sorted
#   in ascending order, so if two types use the same rules to resolve a type
#   (e.g. doc extension for two types), the returned type will be the first
#   type in the sorted list.
#
#   The "printable" rule differs from the "ascii" rule in that it also
#   accepts 8-bit characters in the range 128-255.
#
#   String constants must be surrounded by "" if they contain whitespace.
#   To insert binary data into a string, use the <hex> notation.
#

########################################################################
#
# Application-generated files...
#

#application/msword		doc string(0,<D0CF11E0A1B11AE1>)
#
# Raw print file support...
#
# Uncomment the following type and the application/octet-stream
# filter line in mime.convs to allow raw file printing without the
# -oraw option.
#

application/octet-stream

#
# End of "$Id: mime.types,v 1.31 2005/01/03 19:29:45 mike Exp $".
#
-------------- next part --------------
AccessLog /tmp/access_log

ErrorLog /tmp/error_log

LogLevel debug

MaxLogSize 1000

Printcap /etc/printcap

Port 631

<Location />

Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From @LOCAL

</Location>

<Location /admin>

AuthType none
AuthClass System

## Restrict access to local domain
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From @LOCAL
#Encryption Required

</Location>


#
# LogLevel: controls the number of messages logged to the ErrorLog
# file and can be one of the following:
#
#     debug2	Log everything.
#     debug	Log almost everything.
#     info      Log all requests and state changes.
#     warn      Log errors and warnings.
#     error     Log only errors.
#     none      Log nothing.
#
-------------- next part --------------
#
# "$Id: mime.convs,v 1.21 2005/01/03 19:29:45 mike Exp $"
#
#   MIME converts file for the Common UNIX Printing System (CUPS).
#
#   Copyright 1997-2005 by Easy Software Products.
#
#   These coded instructions, statements, and computer programs are the
#   property of Easy Software Products and are protected by Federal
#   copyright law.  Distribution and use rights are outlined in the file
#   "LICENSE.txt" which should have been included with this file.  If this
#   file is missing or damaged please contact Easy Software Products
#   at:
#
#       Attn: CUPS Licensing Information
#       Easy Software Products
#       44141 Airport View Drive, Suite 204
#       Hollywood, Maryland 20636 USA
#
#       Voice: (301) 373-9600
#       EMail: cups-info at cups.org
#         WWW: http://www.cups.org
#

########################################################################
#
# Format of Lines:
#
#   source/type destination/type cost filter
#
# General Notes:
#
#   The "cost" field is used to find the least costly filters to run
#   when converting a job file to a printable format.
#
#   All filters *must* accept the standard command-line arguments
#   (job-id, user, title, copies, options, [filename or stdin]) to
#   work with CUPS.
#

########################################################################
#
# PostScript filters
#

#
# Raw filter...
#
# Uncomment the following filter and the application/octet-stream type
# in mime.types to allow printing of arbitrary files without the -oraw
# option.
#

application/octet-stream	application/vnd.cups-raw	0	-

#
# End of "$Id: mime.convs,v 1.21 2005/01/03 19:29:45 mike Exp $".
#
-------------- next part --------------
I [23/Jul/2007:12:03:12 +0430] Setting UUU device-uri to "usb:/dev/usb/lp0" (was "file:/dev/null".)
I [23/Jul/2007:12:03:12 +0430] Saving printers.conf...
I [23/Jul/2007:12:03:12 +0430] New printer 'UUU' added by 'root'.
I [23/Jul/2007:12:03:12 +0430] Setting UUU printer-is-accepting-jobs to 1 (was 0.)
I [23/Jul/2007:12:03:12 +0430] Setting UUU printer-state to 3 (was 5.)
I [23/Jul/2007:12:03:12 +0430] Saving printers.conf...
I [23/Jul/2007:12:03:12 +0430] Printer 'UUU' modified by 'root'.
E [23/Jul/2007:12:03:24 +0430] get_printer_attrs: resource name '/printers/printers' no good!
E [23/Jul/2007:12:03:25 +0430] get_printer_attrs: resource name '/printers/printers' no good!
E [23/Jul/2007:12:03:25 +0430] get_printer_attrs: resource name '/printers/printers' no good!
E [23/Jul/2007:12:03:25 +0430] get_printer_attrs: resource name '/printers/printers' no good!
E [23/Jul/2007:12:03:53 +0430] get_printer_attrs: resource name '/printers/printers' no good!
E [23/Jul/2007:12:03:53 +0430] get_printer_attrs: resource name '/printers/printers' no good!
E [23/Jul/2007:12:03:54 +0430] get_printer_attrs: resource name '/printers/printers' no good!
E [23/Jul/2007:12:03:54 +0430] get_printer_attrs: resource name '/printers/printers' no good!
E [23/Jul/2007:12:04:06 +0430] get_printer_attrs: resource name '/printers/printers' no good!
E [23/Jul/2007:12:04:07 +0430] get_printer_attrs: resource name '/printers/printers' no good!
E [23/Jul/2007:12:04:19 +0430] get_printer_attrs: resource name '/printers/printers' no good!
E [23/Jul/2007:12:04:20 +0430] get_printer_attrs: resource name '/printers/printers' no good!
E [23/Jul/2007:12:04:20 +0430] get_printer_attrs: resource name '/printers/printers' no good!
E [23/Jul/2007:12:04:20 +0430] get_printer_attrs: resource name '/printers/printers' no good!
E [23/Jul/2007:12:04:20 +0430] get_printer_attrs: resource name '/printers/printers' no good!
E [23/Jul/2007:12:04:21 +0430] get_printer_attrs: resource name '/printers/printers' no good!
E [23/Jul/2007:12:04:24 +0430] get_printer_attrs: resource name '/printers/printers' no good!
E [23/Jul/2007:12:04:25 +0430] get_printer_attrs: resource name '/printers/printers' no good!
E [23/Jul/2007:12:04:27 +0430] get_printer_attrs: resource name '/printers/printers' no good!
E [23/Jul/2007:12:04:27 +0430] get_printer_attrs: resource name '/printers/printers' no good!
E [23/Jul/2007:12:04:27 +0430] get_printer_attrs: resource name '/printers/printers' no good!
E [23/Jul/2007:12:04:29 +0430] get_printer_attrs: resource name '/printers/printers' no good!
E [23/Jul/2007:12:04:29 +0430] get_printer_attrs: resource name '/printers/printers' no good!
E [23/Jul/2007:12:04:29 +0430] get_printer_attrs: resource name '/printers/printers' no good!
E [23/Jul/2007:12:04:38 +0430] get_printer_attrs: resource name '/printers/printers' no good!
E [23/Jul/2007:12:04:38 +0430] get_printer_attrs: resource name '/printers/printers' no good!
E [23/Jul/2007:12:05:02 +0430] get_printer_attrs: resource name '/printers/printers' no good!
E [23/Jul/2007:12:05:03 +0430] get_printer_attrs: resource name '/printers/printers' no good!
E [23/Jul/2007:12:05:03 +0430] get_printer_attrs: resource name '/printers/printers' no good!
E [23/Jul/2007:12:05:03 +0430] get_printer_attrs: resource name '/printers/printers' no good!
E [23/Jul/2007:12:05:04 +0430] get_printer_attrs: resource name '/printers/printers' no good!
E [23/Jul/2007:12:05:04 +0430] get_printer_attrs: resource name '/printers/printers' no good!
E [23/Jul/2007:12:05:19 +0430] get_printer_attrs: resource name '/printers/printers' no good!
E [23/Jul/2007:12:05:19 +0430] get_printer_attrs: resource name '/printers/printers' no good!
E [23/Jul/2007:12:05:20 +0430] get_printer_attrs: resource name '/printers/printers' no good!
E [23/Jul/2007:12:05:20 +0430] get_printer_attrs: resource name '/printers/printers' no good!
E [23/Jul/2007:12:05:20 +0430] get_printer_attrs: resource name '/printers/printers' no good!
I [23/Jul/2007:12:05:21 +0430] Adding start banner page "none" to job 1.
I [23/Jul/2007:12:05:21 +0430] Adding end banner page "none" to job 1.
I [23/Jul/2007:12:05:21 +0430] Job 1 queued on 'UUU' by '12958'.
I [23/Jul/2007:12:05:21 +0430] Started backend /usr/lib/cups/backend/usb (PID 22430) for job 1.


More information about the cups mailing list