You are not logged in.

#1 2006-10-03 13:44:41

EnjoMitch
Member
From: Poland, Bytom
Registered: 2006-10-03
Posts: 17

Lexmark Z25 + cups = no go. "Unsupported format"

Hi.

I installed my Lexmark Z25 using this tutorial, found on Ubuntu forums:

http://pastebin.ca/189781

Then I used Arch Wiki to configure CUPS via web interface and after issuing command of printing a test page I get this error:

unsupported format "application/postscript"!

results of issuing commands:
lpstat -t   and    lp -d Lex uae.txt

[enjo@myhost docu]$ lpstat -t
scheduler is running
system default destination: Lex
device for Lex: usb://Lexmark/Z25-Z35
Lex accepting requests since Tue Oct  3 07:19:54 2006
printer Lex is idle.  enabled since Tue Oct  3 07:19:54 2006
[enjo@myhost docu]$ lp -d Lex uae.txt
lp: Unsupported format 'text/plain'!

After trying to print test page in KDE Control Center I get this KNotify message:

http://www.elwico.pl/~ender-sz/img/cups.jpg


I tried to print testpage using manufacturer's software and it worked. Also it does print .gifs and .jpegs, but not any documents.

The /etc/cups/mime.* entries are uncommented
Here's the /var/log/cups/error_log:
Do you need anything else ?

I [03/Oct/2006:08:27:50 -0700] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=3463)
I [03/Oct/2006:08:28:28 -0700] Scheduler shutting down normally.
I [03/Oct/2006:08:28:28 -0700] Saving remote.cache...
I [03/Oct/2006:08:28:28 -0700] Saving job cache file "/var/cache/cups/job.cache"...
I [03/Oct/2006:08:28:47 -0700] Listening to 127.0.0.1:631 (IPv4)
I [03/Oct/2006:08:28:47 -0700] Loaded configuration file "/etc/cups/cupsd.conf"
I [03/Oct/2006:08:28:47 -0700] Using default TempDir of /var/spool/cups/tmp...
I [03/Oct/2006:08:28:47 -0700] Cleaning out old temporary files in "/var/spool/cups/tmp"...
I [03/Oct/2006:08:28:47 -0700] Configured for up to 100 clients.
I [03/Oct/2006:08:28:47 -0700] Allowing up to 100 client connections per host.
I [03/Oct/2006:08:28:47 -0700] Using policy "default" as the default!
I [03/Oct/2006:08:28:47 -0700] Full reload is required.
I [03/Oct/2006:08:28:47 -0700] Loaded MIME database from '/etc/cups': 34 types, 38 filters...
I [03/Oct/2006:08:28:47 -0700] Loading job cache file "/var/cache/cups/job.cache"...
I [03/Oct/2006:08:28:47 -0700] Full reload complete.
I [03/Oct/2006:08:28:47 -0700] Listening to 127.0.0.1:631 on fd 2...
E [03/Oct/2006:08:28:47 -0700] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
I [03/Oct/2006:08:38:18 -0700] Adding start banner page "none" to job 1.
I [03/Oct/2006:08:38:18 -0700] Adding end banner page "none" to job 1.
I [03/Oct/2006:08:38:18 -0700] Job 1 queued on "Lex" by "enjo".
I [03/Oct/2006:08:38:18 -0700] Started filter /usr/lib/cups/filter/imagetoraster (PID 3507) for jo  1.
I [03/Oct/2006:08:38:18 -0700] Started filter /usr/lib/cups/filter/rastertoz35 (PID 3508) for job  .
I [03/Oct/2006:08:38:18 -0700] Started backend /usr/lib/cups/backend/usb (PID 3509) for job 1.

The last lines that indicate success are concerning printing images, not text. Text printing faliures output no errors at all

Offline

#2 2006-10-03 15:04:23

lumiwa
Member
Registered: 2005-12-26
Posts: 712

Re: Lexmark Z25 + cups = no go. "Unsupported format"

EnjoMitch wrote:

Hi.

I installed my Lexmark Z25 using this tutorial, found on Ubuntu forums:

http://pastebin.ca/189781

Then I used Arch Wiki to configure CUPS via web interface and after issuing command of printing a test page I get this error:

unsupported format "application/postscript"!

results of issuing commands:
lpstat -t   and    lp -d Lex uae.txt

I am at work now but if you have problem still I will sent you how you can save a problem. I had the same printer and it id work but printer is...cartridge is more expensive than printer :).

[enjo@myhost docu]$ lpstat -t
scheduler is running
system default destination: Lex
device for Lex: usb://Lexmark/Z25-Z35
Lex accepting requests since Tue Oct  3 07:19:54 2006
printer Lex is idle.  enabled since Tue Oct  3 07:19:54 2006
[enjo@myhost docu]$ lp -d Lex uae.txt
lp: Unsupported format 'text/plain'!

After trying to print test page in KDE Control Center I get this KNotify message:

http://www.elwico.pl/~ender-sz/img/cups.jpg


I tried to print testpage using manufacturer's software and it worked. Also it does print .gifs and .jpegs, but not any documents.

The /etc/cups/mime.* entries are uncommented
Here's the /var/log/cups/error_log:
Do you need anything else ?

I [03/Oct/2006:08:27:50 -0700] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=3463)
I [03/Oct/2006:08:28:28 -0700] Scheduler shutting down normally.
I [03/Oct/2006:08:28:28 -0700] Saving remote.cache...
I [03/Oct/2006:08:28:28 -0700] Saving job cache file "/var/cache/cups/job.cache"...
I [03/Oct/2006:08:28:47 -0700] Listening to 127.0.0.1:631 (IPv4)
I [03/Oct/2006:08:28:47 -0700] Loaded configuration file "/etc/cups/cupsd.conf"
I [03/Oct/2006:08:28:47 -0700] Using default TempDir of /var/spool/cups/tmp...
I [03/Oct/2006:08:28:47 -0700] Cleaning out old temporary files in "/var/spool/cups/tmp"...
I [03/Oct/2006:08:28:47 -0700] Configured for up to 100 clients.
I [03/Oct/2006:08:28:47 -0700] Allowing up to 100 client connections per host.
I [03/Oct/2006:08:28:47 -0700] Using policy "default" as the default!
I [03/Oct/2006:08:28:47 -0700] Full reload is required.
I [03/Oct/2006:08:28:47 -0700] Loaded MIME database from '/etc/cups': 34 types, 38 filters...
I [03/Oct/2006:08:28:47 -0700] Loading job cache file "/var/cache/cups/job.cache"...
I [03/Oct/2006:08:28:47 -0700] Full reload complete.
I [03/Oct/2006:08:28:47 -0700] Listening to 127.0.0.1:631 on fd 2...
E [03/Oct/2006:08:28:47 -0700] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
I [03/Oct/2006:08:38:18 -0700] Adding start banner page "none" to job 1.
I [03/Oct/2006:08:38:18 -0700] Adding end banner page "none" to job 1.
I [03/Oct/2006:08:38:18 -0700] Job 1 queued on "Lex" by "enjo".
I [03/Oct/2006:08:38:18 -0700] Started filter /usr/lib/cups/filter/imagetoraster (PID 3507) for jo  1.
I [03/Oct/2006:08:38:18 -0700] Started filter /usr/lib/cups/filter/rastertoz35 (PID 3508) for job  .
I [03/Oct/2006:08:38:18 -0700] Started backend /usr/lib/cups/backend/usb (PID 3509) for job 1.

The last lines that indicate success are concerning printing images, not text. Text printing faliures output no errors at all

Offline

#3 2006-10-03 15:05:57

lumiwa
Member
Registered: 2005-12-26
Posts: 712

Re: Lexmark Z25 + cups = no go. "Unsupported format"

I am sorry for the post...again:

I am at work now but if you have problem still I will sent you how you can save a problem. I had the same printer and it id work but printer is...cartridge is more expensive than printer smile.

Offline

#4 2006-10-03 15:31:06

EnjoMitch
Member
From: Poland, Bytom
Registered: 2006-10-03
Posts: 17

Re: Lexmark Z25 + cups = no go. "Unsupported format"

Why thank you very much! I'm waiting

I agree that they're maybe not the cheapest ones but if you recharge them then it's about ... at least 5 times cheaper. If your cartridge eventually gets dirty, you buy a new cartridge instead of a new printer like you'd have to do on Epson R300 for example smile (my previous printer)

Offline

#5 2006-10-03 16:44:30

lumiwa
Member
Registered: 2005-12-26
Posts: 712

Re: Lexmark Z25 + cups = no go. "Unsupported format"

EnjoMitch wrote:

Why thank you very much! I'm waiting

I agree that they're maybe not the cheapest ones but if you recharge them then it's about ... at least 5 times cheaper. If your cartridge eventually gets dirty, you buy a new cartridge instead of a new printer like you'd have to do on Epson R300 for example smile (my previous printer)

I remember. I instaled printer with instructions from:

http://www.linuxprinting.org/lexmark-faq.html#s_6

I think that was important that I have /usr/local/lexmark/z25-z35/scripts/LexmarkZ35

Than, I forgot which version of cups, I had a problem but later it start working again.

Offline

#6 2006-10-04 14:26:40

EnjoMitch
Member
From: Poland, Bytom
Registered: 2006-10-03
Posts: 17

Re: Lexmark Z25 + cups = no go. "Unsupported format"

Ok thanks.
I got it 'a bit' working. The problem is it prints only images and pure text now. Is it all it can do?

I've done all the steps from the FAQ plus:

1) chmoded and chowned /var/spool/lexmark and /usr/local/lexmark to root:root and 755

2)  Searched for 'usleep source' and downloaded it from here:
http://www.rz.uni-karlsruhe.de/~andy/so … sleep-1.0/
I had to comment 54th line:
//typedef unsigned long useconds_t;
compiled and copied to /bin

3) copied link pidof from /sbin to /bin

4) Searched for 'libstdc++-libc6.1-2.so.3' and found it here:
http://www.pxh.de/fs/gsmlib/download/content.html
(note that it's not the gsmlib. There's a link to libstdc++ on this page)

5) pacman -Sy enscript

and voilla. No I can print text files with the
cat filetoprint.foo | /usr/local/lexmark/z25-z35/scripts/LexmarkZ35 -
command

What can I do from here ?

Offline

Board footer

Powered by FluxBB