LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-03-2004, 11:27 AM   #1
vr6stress
Member
 
Registered: Jan 2004
Location: Utah
Posts: 54

Rep: Reputation: 15
CUPS error - trouble printing to windows printer


I'm getting so frustrated with this...

it happened before, so i just reinstall everything which worked...but only temporary...

a little background:
everything was running fine, then i did some homework on this linux box and i went to print, low and behold it doesn't print. it sends the job but nothing prints. that can't be right, last time i went to print it worked just fine.

so i search around on the net and check the cups site (and localhost) i get all these jobs listed, but aborted..so i try restarting one and i get this:
Quote:
Error:

client-error-not-possible
so i search around for that, can't find much to help me, so i decide to just start over. i do and i install the printer - it actually automatically picks it up and i can print a test page - i'm super happy

then later on i run a test page and it works again, i'm thinking i might make it, well the third day i go to run a test page and here we go again, that stupid error...

i don't get it, it was working fine, i made no changes to the printer and now it doesn't work. can anyone shed some light on this, or tell me where to goto look or what i'm even looking for?
 
Old 04-07-2004, 04:49 PM   #2
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 450

Rep: Reputation: 46
Have you checked the error logs in /var/log


AK
 
Old 04-07-2004, 11:56 PM   #3
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
make sure your windows comp hasnt went to suspend or sleep.

Ive noticed a print spool request doesnt wake up XP computers, but the PM is done in the bios on this one.
 
Old 04-12-2004, 12:39 AM   #4
bjamieso
LQ Newbie
 
Registered: Mar 2004
Location: Vancouver BC
Posts: 2

Rep: Reputation: 0
Unhappy printing to windows printer from linux

I hear you, brother. I have a windows 2003 server with a shared printer that has never been a problem, until!...I try to print from either Mandrake, Red Hat or Suse... makes me think it's a windoze problem.... I've been all over the windows box - group policies, local policies, default policies, local security, but no go... I can access all files read, write etc on the servers shares but it JUST WON'T PRINT!

I just know I'm going ti feel like a dork when it's finally resolved....

We're all bozo's on this bus....
 
Old 04-12-2004, 05:27 AM   #5
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 450

Rep: Reputation: 46
How is yor printer set up under linux.

As samba?
 
Old 04-12-2004, 01:16 PM   #6
bjamieso
LQ Newbie
 
Registered: Mar 2004
Location: Vancouver BC
Posts: 2

Rep: Reputation: 0
Thanx for the response. I have set up the printer in linux under samba; I have also tried it as an lpr printer and have created an lpr port on the windows 2003 server - same story - the print job spools in linux and disappears - I sometimes get this error:
[root@Xim1 root]# /usr/bin/tail /var/log/cups/error_log
E [04/Feb/2004:11:31:35 -0800] [Job 48] Remote host did not accept data file (1)
E [04/Feb/2004:11:32:06 -0800] [Job 48] Remote host did not accept data file (1)
I [04/Feb/2004:11:32:35 -0800] Job 48 was cancelled by 'root'.
E [04/Feb/2004:11:32:35 -0800] PID 7084 stopped with status 1!
I [04/Feb/2004:11:32:35 -0800] Hint: Try setting the LogLevel to "debug" to find out more.
I [04/Feb/2004:13:06:27 -0800] Listening to 7f000001:631
I [04/Feb/2004:13:06:27 -0800] Configured for up to 100 clients.
I [04/Feb/2004:13:06:27 -0800] Allowing up to 10 client connections per host.
I [04/Feb/2004:13:06:28 -0800] LoadPPDs: Read "/etc/cups/ppds.dat", 5134 PPDs...
I [04/Feb/2004:13:06:30 -0800] LoadPPDs: No new or changed PPDs...

and I sometimes get an error about cli unable to connect... I'm stumped at this point. Any help would be appreciated. Cheers.
 
Old 04-13-2004, 03:56 AM   #7
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 450

Rep: Reputation: 46
I needed to set up a guest account on my XP machine so that the print request from Linux could "log on" to the XP machine to do the printing. is this set up correctly on your Linux box. And what about the share name of the printer.

AK
 
Old 04-13-2004, 01:44 PM   #8
vr6stress
Member
 
Registered: Jan 2004
Location: Utah
Posts: 54

Original Poster
Rep: Reputation: 15
which log file am i looking for?

and before we get into all that guest account stuff, the printing was working just fine previously, with no account setup, infact, it's set up correctly...

the username is correct and so is the password

but let's start with the log file....which one?
 
Old 04-13-2004, 05:15 PM   #9
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 450

Rep: Reputation: 46
Looks like we've got

vr6stress whose printing to a printer connected to the Linux box - because he doesn't mention windows at all. His problem is that every so often printing stops working and it has to be reinstalled.

bjamieso has joined this thread and is trying to print to a windows 2003 server which has never worked.


Message to vr6stress look in the file /var/log/cups/error_log. The guest account stuff was for bjamieso.

Message to bjamieso - suggest you start another thread as you've messed up vr6stress's original problem.

AK
 
Old 04-13-2004, 05:51 PM   #10
vr6stress
Member
 
Registered: Jan 2004
Location: Utah
Posts: 54

Original Poster
Rep: Reputation: 15
alright, let me recap then...to clear up confusion...

the printer is a usb printer connected to my xp box
when i first install mdk 10 and load the printer shared through, it works fine....
then it stops working, no sometimes works and sometimes doesn't...it just stops...

i'll post up the error log tonight...but just so it's clear, the prints job get aborted as soon as you send them - looking through cups (localhost:631) then when you try to restart them you get that error that i posted above....

the xp box has no password (go ahead and hack me, i'm dial up...lol) and so the share references the user name the workgroup and again kde picks up the printer automactically if i deleted it and have it redetect it....

Last edited by vr6stress; 04-13-2004 at 05:53 PM.
 
Old 04-13-2004, 10:41 PM   #11
vr6stress
Member
 
Registered: Jan 2004
Location: Utah
Posts: 54

Original Poster
Rep: Reputation: 15
here's the link to the error log: http://www.merchant-creations.com/junk/error_log
and here's something from today, i was trying to run a couple of print jobs, and restart them...
Quote:
D [13/Apr/2004:20:23:52 -0600] [Job 10] Unrecoverable error: syntaxerror in token
D [13/Apr/2004:20:23:52 -0600] [Job 10] Operand stack:
D [13/Apr/2004:20:23:52 -0600] [Job 10] --nostringval-- --nostringval-- --nostringval-- --nostringval-- Washable sRB --nostringval--
D [13/Apr/2004:20:23:52 -0600] [Job 10] renderer return value: 255
D [13/Apr/2004:20:23:52 -0600] [Job 10] renderer received signal: 255
D [13/Apr/2004:20:23:52 -0600] [Job 10] Process dying with "The renderer command line returned an unrecognized error code 255.", exit stat: 1
D [13/Apr/2004:20:23:52 -0600] [Job 10] The renderer command line returned an unrecognized error code 255.
D [13/Apr/2004:20:23:52 -0600] [Job 10] tail process done writing data to STDOUT
would fonts cause this? like importing a ton of windows fonts or anything?
 
Old 04-14-2004, 05:22 PM   #12
vr6stress
Member
 
Registered: Jan 2004
Location: Utah
Posts: 54

Original Poster
Rep: Reputation: 15
no love???
 
Old 04-15-2004, 08:27 AM   #13
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 450

Rep: Reputation: 46
Have you tried to google

"Unrecoverable error: syntaxerror in token"

there is one reference which may suggest a discrepancy between versions of drivers.


When you loose printing is it mid way through a session. When you start a session. When you loose printing can you still see the xp box?

When you have printing try the following and then again when you loose it -

From the command line in root on my slackware box I can

smbclient //abit/epson -U guest

It invites me to type a password in this case there isn't one so I just hit <Return> it should then gives the following prompt

smb: \>

at this prompt I type

print /root/.bash_profile


the .bash_profile is a small text file that exists in my root folder. The print command sends the file to the printer whose share name on the XP box is called epson which then gets printed.

at the next smb: />

type quit or exit.

May give more information
 
Old 12-23-2004, 09:46 AM   #14
loonyxp
Member
 
Registered: Nov 2004
Location: Europe
Distribution: FC3 / Gentoo
Posts: 32

Rep: Reputation: 15
Hello!

Quote:
Originally posted by vr6stress
here's the link to the error log: http://www.merchant-creations.com/junk/error_log
and here's something from today, i was trying to run a couple of print jobs, and restart them...


would fonts cause this? like importing a ton of windows fonts or anything?
Just in case you haven't solved your problem (or anybody else having that error with ghostview, cups, foomatic) , I think it has something to do with a font-file thats broken.
Try to locate the font thats causing the problem, in your case it should be:
Washable-(sRB).ttf

Rename it to *.ttf.bak or delete it. Then reload the fonts with
/usr/bin/xfs reload

Now the problem should have been solved.

Cheers
loony



Keys: TRUETYPE, CUPS, FOOMATIC, Unrecoverable error syntaxerror in token, syntax, TTF, Windows-Fonts, Printjob disappear
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows Apps freeze when printing to network samba + cups printer urzumph Debian 1 02-17-2005 07:38 PM
Help with printing to Windows printer with cups and samba. Royle Linux - Networking 3 01-23-2005 01:16 PM
Printing to Windows XP printer fromRed Hat 7.3 using CUPS lansman Linux - Networking 8 11-24-2003 03:29 PM
Printing to Windows with Samba and CUPS, error questions messenjah Linux - Software 1 07-22-2003 08:15 PM
Samba printing to CUPS printer kris.kj.jacobs Linux - Networking 1 11-02-2001 04:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration