LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   CUPS error - trouble printing to windows printer (https://www.linuxquestions.org/questions/linux-newbie-8/cups-error-trouble-printing-to-windows-printer-165728/)

vr6stress 04-03-2004 10:27 AM

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?

aikempshall 04-07-2004 03:49 PM

Have you checked the error logs in /var/log


AK

AutOPSY 04-07-2004 10:56 PM

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.

bjamieso 04-11-2004 11:39 PM

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....

aikempshall 04-12-2004 04:27 AM

How is yor printer set up under linux.

As samba?

bjamieso 04-12-2004 12:16 PM

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.

aikempshall 04-13-2004 02:56 AM

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

vr6stress 04-13-2004 12:44 PM

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?

aikempshall 04-13-2004 04:15 PM

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

vr6stress 04-13-2004 04:51 PM

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....

vr6stress 04-13-2004 09:41 PM

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?

vr6stress 04-14-2004 04:22 PM

no love???

aikempshall 04-15-2004 07:27 AM

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

loonyxp 12-23-2004 08:46 AM

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


All times are GMT -5. The time now is 02:32 PM.