Lexmark X75 on Ubuntu 6.06 - 2.6.15-26-386 - CUPS 1.2.2

Dirk Dittmann dirk.dittmann.hh at web.de
Sat Aug 12 12:11:59 PDT 2006


Hello,

this is my second attempt to receive your support after my first was wrong.

Again, I'm a newbie in working with Linux and use a system with

	- Ubuntu 6.06 - 2.6.15-26-386
	- CUPS 1.2.2

I applied the Linux printer driver package "lxx74-cups-0.8.4.2" by Enrique Perez-Terron.

After setup the printer with the web interface I have some trouble with prints.

I did it this way:

root at ubuntu-dd:~# /etc/init.d/cupsys restart
	 * Restarting Common Unix Printing System: cupsd			[ ok ]

Starting "Print TestPage" I recieve this error message in web interface:

	 "rastertolxx74.c:1550: /usr/lib/cups/filter/rastertolxx74.bin: cupsRasterOpen() failed."

root at ubuntu-dd:~# cat /var/log/cups/error_log
	...
	D [12/Aug/2006:19:29:46 +0200] [Job 1] rastertolxx74.c:1725: Found options on the command line.
	E [12/Aug/2006:19:29:46 +0200] [Job 1] rastertolxx74.c:1687: Unknown option job-uuid=urn:uuid:47dc9639-da07-3020-5ffa-e5f315399cbf.
	D [12/Aug/2006:19:29:46 +0200] PID 6753 (/usr/lib/cups/cgi-bin/printers.cgi) exited with no errors.
	...
	D [12/Aug/2006:19:29:47 +0200] [Job 1] rastertolxx74.c:1542: File (stdin) is not a regular file, its size is unknown (stat reports 0 bytes).
	E [12/Aug/2006:19:29:47 +0200] [Job 1] rastertolxx74.c:1550: /usr/lib/cups/filter/rastertolxx74.bin: cupsRasterOpen() failed.
	E [12/Aug/2006:19:29:47 +0200] PID 6756 (/usr/lib/cups/filter/rastertolxx74) stopped with status 1!
	...


See the following checks for more information.

-----------------------------------------------------------------------------------

root at ubuntu-dd:/dev# lpinfo -v
	...
	direct usb://Lexmark/All%20In%20One
	...

--------------------

root at ubuntu-dd:/dev# lsusb
	...
	Bus 003 Device 004: ID 043d:0069 Lexmark International, Inc. X74/X75 Printer
	Bus 003 Device 003: ID 043d:0060 Lexmark International, Inc. X74/X75 Scanner
	Bus 003 Device 002: ID 043d:0061 Lexmark International, Inc. X74 Hub
	...

	--------------------

root at ubuntu-dd:~# ls /proc/bus/usb/003/ -l
	total 0
	-rw-r--r-- 1 root root 43 Aug 12  2006 001
	-rw-r--r-- 1 root root 43 Aug 12  2006 002
	-rw-r--r-- 1 root root 57 Aug 12  2006 003
	-rw-r--r-- 1 root root 50 Aug 12  2006 004

--------------------

root at ubuntu-dd:~# locate usblp
	/lib/modules/2.6.15-23-386/kernel/drivers/usb/class/usblp.ko
	/lib/modules/2.6.15-26-386/kernel/drivers/usb/class/usblp.ko

--------------------

root at ubuntu-dd:/dev# lsmod
	Module                  Size  Used by
	...
	usblp                  13056  0
	...

--------------------

root at ubuntu-dd:~# ls /dev -l
	...
	crw-rw---- 1 root lp      180,   0 Aug 12 11:29 usblp0
	...

--------------------

root at ubuntu-dd:~# cat /etc/group
	...
	lp:x:7:cupsys
	...
	shadow:x:42:cupsys
	...
	lpadmin:x:106:ddittmann
	...
	scanner:x:110:cupsys,ddittmann
	...

--------------------

root at ubuntu-dd:~# ls /usr/bin/foomatic-rip -l
	-rwxr-xr-x 1 root root 204222 Apr 12 01:39 /usr/bin/foomatic-rip

--------------------

root at ubuntu-dd:/usr/lib/cups/filter# ls -l
	total 372
	...
	lrwxrwxrwx 1 root root    12 Aug  3 17:51 cupsomatic -> foomatic-rip
	lrwxrwxrwx 1 root root    25 Aug  3 17:51 foomatic-rip -> ../../../bin/foomatic-rip
	...
	-rwxr-xr-x 1 root root   126 Aug 10 18:57 rastertolxx74
	-rwxr-xr-x 1 root root 47067 Aug 10 18:57 rastertolxx74.bin
	...

--------------------

root at ubuntu-dd:~# /etc/init.d/cupsys restart
	  * Restarting Common Unix Printing System: cupsd          [ ok ]

--------------------

root at ubuntu-dd:~# /usr/bin/enable Lexmark-X75
	-bash: /usr/bin/enable: No such file or directory

--------------------

root at ubuntu-dd:~# ls /etc/cups/ppd/Lexmark-X75.ppd -l
	-rw-r--r-- 1 cupsys lp 4188 Aug 10 21:22 /etc/cups/ppd/Lexmark-X75.ppd

--------------------

root at ubuntu-dd:~# cupstestppd /etc/cups/ppd/Lexmark-X75.ppd
	/etc/cups/ppd/Lexmark-X75.ppd: PASS

--------------------

root at ubuntu-dd:~# cat /etc/cups/printers.conf
	# Printer configuration file for CUPS v1.2.2
	# Written by cupsd on 2006-08-10 21:22
	<Printer Lexmark-X75>
	Info Lexmark All-In-One
	Location ubuntu-dd
	DeviceURI usb://Lexmark/All%20In%20One
	State Idle
	StateTime 1155236956
	Accepting Yes
	Shared Yes
	JobSheets none none
	QuotaPeriod 0
	PageLimit 0
	KLimit 0
	OpPolicy default
	ErrorPolicy abort-job
	</Printer>

--------------------

root at ubuntu-dd:~# cat /etc/cups/cupsd.conf|grep -v ^#|grep [:alnum:]
	LogLevel debug
	SystemGroup lpadmin
	BrowseOrder allow,deny
	BrowseAllow @LOCAL
	DefaultAuthType Basic
	<Location />
	  Order allow,deny
	  Allow localhost
	  Allow @LOCAL
	</Location>
	<Location /admin>
	  Order allow,deny
	  Allow localhost
	</Location>
	<Location /admin/conf>
	  AuthType Basic
	  Require user @SYSTEM
	  Order allow,deny
	  Allow localhost
	</Location>
	<Policy default>
	  # Job-related operations must be done by the owner or an adminstrator...
	  <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 CUPS-Move-Job>
	    Require user @OWNER @SYSTEM
	    Order deny,allow
	  </Limit>
	  # All administration operations require an adminstrator to authenticate...
	  <Limit Pause-Printer Resume-Printer Set-Printer-Attributes 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 CUPS-Add-Printer CUPS-Delete-Printer CUPS-Add-Class CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default>
	    AuthType Basic
	    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>
	Include /etc/cups/cups.d/ports.conf
	Include /etc/cups/cups.d/browse.conf

--------------------

root at ubuntu-dd:~# cat /etc/cups/ppd/Lexmark-X75.ppd
	*PPD-Adobe: "4.3"
	*% PPD file for All In One with CUPS.
	*% Created by the CUPS PPD Compiler v1.0.1.
	*FormatVersion: "4.3"
	*FileVersion: "1.0"
	*LanguageVersion: English
	*LanguageEncoding: ISOLatin1
	*PCFileName: "lxx74.ppd"
	*Product: "(ESP Ghostscript)"
	*Product: "(GNU Ghostscript)"
	*Manufacturer: "Lexmark"
	*ModelName: "Lexmark All In One"
	*ShortNickName: "Lexmark All In One"
	*NickName: "Lexmark All In One, 1.0"
	*PSVersion: "(3010.000) 705"
	*PSVersion: "(3010.000) 707"
	*PSVersion: "(3010.000) 815"
	*LanguageLevel: "3"
	*ColorDevice: True
	*DefaultColorSpace: RGB
	*FileSystem: False
	*Throughput: "1"
	*LandscapeOrientation: Plus90
	*TTRasterizer: Type42
	*% CUPS attributes...
	*cupsVersion: 1.1
	*cupsModelNumber: "0"
	*cupsManualCopies: False
	*cupsFilter: "application/vnd.cups-raster 100 rastertolxx74"
	*OpenUI *PageSize: PickOne
	*OrderDependency: 10 AnySetup *PageSize
	*DefaultPageSize: A4
	*PageSize A4/A4 - 210x297mm: "<</PageSize[595 842]/ImagingBBox null>>setpagedevice"
	*PageSize Letter/Letter - 8.5x11in: "<</PageSize[612 792]/ImagingBBox null>>setpagedevice"
	*CloseUI: *PageSize
	*OpenUI *PageRegion: PickOne
	*OrderDependency: 10 AnySetup *PageRegion
	*DefaultPageRegion: A4
	*PageRegion A4/A4 - 210x297mm: "<</PageSize[595 842]/ImagingBBox null>>setpagedevice"
	*PageRegion Letter/Letter - 8.5x11in: "<</PageSize[612 792]/ImagingBBox null>>setpagedevice"
	*CloseUI: *PageRegion
	*DefaultImageableArea: A4
	*ImageableArea A4/A4 - 210x297mm: "0.00 0.00 593.00 837.00"
	*ImageableArea Letter/Letter - 8.5x11in: "0.00 0.00 610.00 787.00"
	*DefaultPaperDimension: A4
	*PaperDimension A4/A4 - 210x297mm: "595.00 842.00"
	*PaperDimension Letter/Letter - 8.5x11in: "612.00 792.00"
	*RequiresPageRegion All: True
	*OpenUI *ColorModel/Color Mode: PickOne
	*OrderDependency: 10.0 AnySetup *ColorModel
	*DefaultColorModel: CMYK
	*ColorModel CMYK/Color: "<</cupsColorSpace 6/cupsColorOrder 0/cupsCompression 0>>setpagedevice"
	*CloseUI: *ColorModel
	*OpenUI *Resolution: PickOne
	*OrderDependency: 10.0 AnySetup *Resolution
	*DefaultResolution: 600dpi
	*Resolution 600dpi/600 DPI: "<</HWResolution[600 600]/cupsBitsPerColor 1/cupsRowCount 192/cupsRowFeed 0/cupsRowStep 0>>setpagedevice"
	*CloseUI: *Resolution
	*DefaultFont: Courier
	*Font AvantGarde-Book: Standard "(1.05)" Standard ROM
	*Font AvantGarde-BookOblique: Standard "(1.05)" Standard ROM
	*Font AvantGarde-Demi: Standard "(1.05)" Standard ROM
	*Font AvantGarde-DemiOblique: Standard "(1.05)" Standard ROM
	*Font Bookman-Demi: Standard "(1.05)" Standard ROM
	*Font Bookman-DemiItalic: Standard "(1.05)" Standard ROM
	*Font Bookman-Light: Standard "(1.05)" Standard ROM
	*Font Bookman-LightItalic: Standard "(1.05)" Standard ROM
	*Font Courier: Standard "(1.05)" Standard ROM
	*Font Courier-Bold: Standard "(1.05)" Standard ROM
	*Font Courier-BoldOblique: Standard "(1.05)" Standard ROM
	*Font Courier-Oblique: Standard "(1.05)" Standard ROM
	*Font Helvetica: Standard "(1.05)" Standard ROM
	*Font Helvetica-Bold: Standard "(1.05)" Standard ROM
	*Font Helvetica-BoldOblique: Standard "(1.05)" Standard ROM
	*Font Helvetica-Narrow: Standard "(1.05)" Standard ROM
	*Font Helvetica-Narrow-Bold: Standard "(1.05)" Standard ROM
	*Font Helvetica-Narrow-BoldOblique: Standard "(1.05)" Standard ROM
	*Font Helvetica-Narrow-Oblique: Standard "(1.05)" Standard ROM
	*Font Helvetica-Oblique: Standard "(1.05)" Standard ROM
	*Font NewCenturySchlbk-Bold: Standard "(1.05)" Standard ROM
	*Font NewCenturySchlbk-BoldItalic: Standard "(1.05)" Standard ROM
	*Font NewCenturySchlbk-Italic: Standard "(1.05)" Standard ROM
	*Font NewCenturySchlbk-Roman: Standard "(1.05)" Standard ROM
	*Font Palatino-Bold: Standard "(1.05)" Standard ROM
	*Font Palatino-BoldItalic: Standard "(1.05)" Standard ROM
	*Font Palatino-Italic: Standard "(1.05)" Standard ROM
	*Font Palatino-Roman: Standard "(1.05)" Standard ROM
	*Font Symbol: Special "(001.005)" Special ROM
	*Font Times-Bold: Standard "(1.05)" Standard ROM
	*Font Times-BoldItalic: Standard "(1.05)" Standard ROM
	*Font Times-Italic: Standard "(1.05)" Standard ROM
	*Font Times-Roman: Standard "(1.05)" Standard ROM
	*Font ZapfChancery-MediumItalic: Standard "(1.05)" Standard ROM
	*Font ZapfDingbats: Special "(001.005)" Special ROM
	*% End of lxx74.ppd, 04188 bytes.

-----------------------------------------------------------------------------------

Now I hope these informations contain all important details for support. Otherwise, please give me a short feedback what to do and what you need for further support.

So I look forward to your answer.


Thanks and regards

Dirk





More information about the cups mailing list