Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception Fault in CUPS Driver for Windows #488

Closed
michaelrsweet opened this issue Dec 16, 2003 · 36 comments
Closed

Exception Fault in CUPS Driver for Windows #488

michaelrsweet opened this issue Dec 16, 2003 · 36 comments

Comments

@michaelrsweet
Copy link
Collaborator

@michaelrsweet michaelrsweet commented Dec 16, 2003

Version: 5.0rc2
CUPS.org User: js-cups.lrce

I have installed the CUPS Driver for Windows 5.0rc2 through Samba (via cupsaddsmb, etc.), and although it seems to print fine, any attempts to view the property pages results in:
"Function address 0x6a90450e caused a protection fault. (exception code 0xc0000005) Some or all property page(s) may not be displayed."
Followed by "Operation could not be completed."

This is true for both 5.0rc2 and 5.0rc1, with both a foomatic PPD and the "New Deskjet" PPD provided by CUPS. It is also true if I try using this driver on a local printer.

I am running Windows XP Professional SP1 with all the latest updates from Windows Update, etc. This occurs on both of my machines, so it seems unlikely that it is due to a problem with my installation.

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Dec 19, 2003

CUPS.org User: mike

I am not able to duplicate your problem on Windows 2000. We don't have XP on any of our systems here, so it is impossible for us to test that configuration.

Do you have any similar problems with the vendor drivers on XP?

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Dec 22, 2003

CUPS.org User: anonymous

I believe this is a known bug in samba (fixed in 3.0.1)

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Dec 23, 2003

CUPS.org User: gnat.mikroweb

I have samba 3.0.1 bat the problem is still remaind.

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Dec 27, 2003

CUPS.org User: jason.corekin.no-ip

I have the same problem. I have tried the driver with Windows XP and Windows 2000 and Samba 2.2.8a, 3.0.0, and 3.0.1. It's the same error no matter what. Yet, if I use the Adobe driver and manually load it into the samba server via rpcclient I have not problems. What's up with this? I'm incredibly surprised that no one else has mentioned the same problem.

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Jan 2, 2004

CUPS.org User: anssi.kolehmainen.iki

I have the same problem with some printers.

It seems that the problem is in .PPD files.

Not working:
http://www.linuxprinting.org/ppd-o-matic.cgi?driver=foo2zjs&printer=HP-LaserJet_1000&show=1

Working:
http://www.linuxprinting.org/ppd-o-matic.cgi?driver=Postscript&printer=HP-LaserJet_2300&show=1

Search for '*FoomaticRIPOption Resolution'. In non-working there are no
*OpenUI and *CloseUI tags (and other things) around that. In working file those are (totally) different.

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Jan 2, 2004

CUPS.org User: js-cups.lrce

Just to provide some more information and to confirm what others have said, I just tried the Adobe drivers (the PScript ones designed for Windows 2000/XP; haven't tried the NT ones), and they work fine on my system. Interestingly enough, by changing to a 'printer admin' user, I can now access property windows inside of the 'Printers and Faxes' window of Windows XP, but I still get an error when trying to change settings with printing within, say, notepad.

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Jan 3, 2004

CUPS.org User: mike

Can you try the following:

Delete all printers on the windows client that use the CUPS driver.
Reboot Windows

Delete all cups*.dll files from the windows client.

Re-add the printers on the windows client.

Then see if the problem persists - the problem you describe sounds like the bad resolution option handling bug in the Microsoft code in 5.0rc1, which was fixed in rc2. Removing the printers, rebooting, and removing the dll files is the only way to make sure that the old drivers are purged from the system thanks to the way Microsoft's drivers work...

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Jan 3, 2004

CUPS.org User: anssi.kolehmainen.iki

C:\WINDOWS\system32\spool\drivers\w32x86\2>md5sum cups*
c77f774c31001c56f6d358d71dcabff1 cups5.hlp
ed9f2adecd25b914c8495ec1adeaeb9a cupsdrv5.dll
c7ca8f9837190d6aca6d76aa64d162ad cupsui5.dll

Files are from 5.0rc2. No other cups*.dll files anywhere.

I believe there is still something wrong with resolution UI.
With HP Laserjet 2300 (see url in prev post) I only get resolution options for default, 150, 300 and 600dpi. In PPD file there is also 1200dpi, but it doesn't show up. If I add some other resolution after 1200dpi then it shows in preferences.

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Jan 3, 2004

CUPS.org User: mike

OK, wipe all of the printers and driver files from your system and try the new rc3 driver...

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Jan 4, 2004

CUPS.org User: js-cups.lrce

I may post again if I obtain different results later, but an initial test indicates that rc3 does not fix the problem, at least with the foomatic HP Deskjet 960c hpijs PPD from linuxprinting.org.

Although I can get to the Printing Defaults page as an administrator (as I could before), none of the options are those found in the PPD. And, of course, the crash still occurs when changing print properties within applications.

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Jan 4, 2004

CUPS.org User: anssi.kolehmainen.iki

rc3 doesn't work with me too.
Resolution settings show exactly same as before (HP LJ 1000 crashes and HP LJ 2300 doesn't display 1200dpi option).

I didn't remove all (non-cups) printers, but I removed all cups printers, cups_._, .ppd and *.bpd and finally rebooted. (If that is not enough then I guess it is bad driver or bad Windows). Cups files are now from rc3.

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Feb 10, 2004

CUPS.org User: anonymous

Just to add a "me too". I have the exact same symptoms, down to the "error messages galore" as normal user to "error on change" for a printer admin. As printer admin it allows me to print, and it works. Running cups-samba-5.0rc3 against Samba 3.0.1. None of the Windows-machines have ever had cups-samba drivers installed on them before, so no old junk. The PPD in question is the vendor-one for a QMS-410PS, available upon demand.

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Feb 27, 2004

CUPS.org User: paul.ebit.com

Hi

I am getting the same problems with Cups-Samba-5.0RC3 with an HP Laserjet 4050, but no problems with a Kyocera-3750 both using the same driver - If I add the printers using cupsaddsmb and then open the 4050 Printing Defaults on advanced I get a Protection Fault.
If I revert to Cups-Samba-1.1.16 I dont experience the problem, but what functionality is lost?

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Mar 4, 2004

CUPS.org User: russell.packer.arnoldinteractive

"me too"

Printers:
HP4000
HP4050TN
HP4100
HP4550
HP8500

Samba: 3.0.2a
Cups: 1.1.20
Cups-samba: 5.0rc3

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Mar 5, 2004

CUPS.org User: russell.packer.arnoldinteractive

Just to confirm that the Adobe drivers work OK. I used the "universal postscript driver" from the Adobe site. I used the ones for WinNT (previous poster had used the ones for WinXP) and they do work fine on XP.

One small "trick" I used to get the files I needed was to start the "setup" program, clicking "next" until I was asked to type something in. I could then go to Documents And Settings -> [mylogin] -> Local Settings -> Temp -> [newrandomfolder] to get the necessary files.

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Mar 15, 2004

CUPS.org User: cant_see_props.want_to_print

Add another "me too" for this problem using:

  • cups-samba win driver 5.0rc3
  • cups 1.1.20
  • samba 3.0.1
  • win2k (sp4) and winxp pro (sp1) clients
  • HP PSC 1350 w/ linuxprinting.org-generated PPD
@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Mar 30, 2004

CUPS.org User: slawrance.yahoo

Me, too, with the Epson Stylus C82 running the CUPS and SAMBA built into Mac OS X 10.3 and the 5.0rc3 driver on Windows NT (I had to specially set up my OS X system to get point-and-print working, but got it working; printing works fabulously, but the Properties page results in the crash :-(.

I have development tools on my home system, where this is happening (it happens at work with some drivers, too), and I know C/C++ pretty well. I'd like to get to the bottom of this and fix it, so now I'm off to download the source (I'm hoping it's available..)

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Mar 31, 2004

CUPS.org User: udo.rader.bestsolution

Well and here's yet another confirmation. I can neither access the printer properties page from windows clients nor can I print e.g. out of outlook express, because I get the error instantly even before I get the option to alter the printer properties.

The system I have is like this:

  • samba 3.0.2a
  • cups windows drivers 5.0rc3
  • cups 1.1.21rc1
  • Fiery X3e 31C-M PS Color Server v1.2 eu
  • and a couple of W2K clients

This is a major, critical bug that should get much attention.

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Mar 31, 2004

CUPS.org User: slawrance.yahoo

It looks like the source isn't available due to DDK licensing issues :-(. I'm going to guess, perhaps incorrectly, that this is a bug in cupsui5.dll and not cupsdrv5.dll. Does the cupsui5.dll file link with the DDK? If not, is it possible to make the source of just that file available online? (or, at least, e-mail it to me? The address that I used to post this message will work). I'm about to try out the Adobe Postscript driver as an alternative, but I'd rather use the CUPS driver if this issue gets fixed one way or another..

Thanks in advance :-).

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Apr 28, 2004

CUPS.org User: anonymous

i'm having the same issues using:

hp deskjet 870cse (hpijs ppd from linuxprinting.org)

kernel 2.6.5 linux (printer connected)
cups 1.1.20
samba 3.0.2a
foomatic 3.0.1
hpijs 1.5

windows xp (client driver)
cups-samba 5.0rc3

any news? i really think it's an issue with how the ui handles the ppd files...

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented May 6, 2004

CUPS.org User: joerg.schaible.gmx

This is also a "me too".

Win 2K Pro
Samba 3.0.2a
Cups 1.1.20
Cups-samba 5.0rc3
HP PSC 500
Gentoo Linux 2.4.25 kernel

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented May 7, 2004

CUPS.org User: mike

Everyone - we've dumped the 5.0 code (it is a modified version of the NT PostScript driver) and are going to release a 6.0rc1 in a few weeks that is based on the Win2k PS driver instead. We've wanted to move to the new driver for a long time now anyways, and since MS won't support the NT driver code anymore and since we can't track the problem down (only crashes outside the debugger, and there is no way to do a post mortem of the application or UI component...) we are "cutting our losses" and focusing exclusively on the (modular) Win2k driver.

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented May 14, 2004

CUPS.org User: guido.leenders.invantive

Me too (w2k, nt4, smb 228)

If you need a tester, let us know. We are rolling out a customer right now.

Guido.Leenders at invantive.com

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Jun 4, 2004

CUPS.org User: chaiken.acm

Me too:
windoze xp
cups-samba-5.0rc3
samba 3.0.2a-r2
deskjet 722c
2.4.25-gentoo
cups 1.1.20-r1

Any news?

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Jun 10, 2004

CUPS.org User: nexa.one

same problems!

cups 1.1.20
samba 3.0.4
cups-postscript drivers 5rc3
windows xp

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Jun 10, 2004

CUPS.org User: nexa.one

i try it on 4 difrent printers... does not matter, abolutely same result!

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Jun 11, 2004

CUPS.org User: david.dawninglight

I am having this same problem, printing to an HP Photosmart 7150 shared over Samba to Windows XP client using CUPS Driver for Windows 5.0rc3.

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Jun 11, 2004

CUPS.org User: rich.ostrow

Yet another "me too" thing:

Printer: HP Deskjet 5550
Samba: 3.0.2a
Cups: 1.1.20
foomatic: 3.0.1
hpijs: 1.5

Clients: WinXP Pro SP1, Gentoo Linux 2.4.25 kernel (seems to work)(not server)
Server: Gentoo Linux 2.4.25

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Jun 13, 2004

CUPS.org User: anonymous

Please, add a "me too" entry. Same problem.

Hardware:

  • HP PSC 2175

Software

  • Debian sarge
  • Samba 3.0.2a-1
  • CUPS 1.1.20final+cvs
  • hpoj 0.91-3
  • hpijs 1.5-1

...and on the imperial side...

  • Windows XP SP1 spanish version

Same as everybody, the CUPS drivers prints perfectly, but I want to change quality options and paper type, etc. After double-clicking (as DOMAIN\Administrator), client copies all drivers from server. If I try to change properties... voilà, the f...ine protection fault.

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Aug 22, 2004

CUPS.org User: alex.alexfisher.me

I get this too. Has this not been solved yet?

samba 3.0.5-debian
cups 1.1.21rc1
hpijs-1.6.1
cups-samba-5.0rc3
Deskjet 990Cxi

I guess I'll just have to get the inferior Adobe drivers working.

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Aug 24, 2004

CUPS.org User: pordal1.yahoo

One more,

Gentoo hosting printer
Win 2000 client computer
Cups 1.1.20-r1
Samba 3.0.5
Hpijs 1.5
Hpoj 0.91-r3

HP PSC 1315 (often quoted as 1300, 1310, or 1350 in manuals/bug reports/etc)

Hope this gets fixed soon!

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Sep 21, 2004

CUPS.org User: holmgren.lysator.liu

I had the sama problem with CUPS-Samba 5.0rc3 and Samba 3.0.5, .6, and even .7 (I think), using the pxlmono driver. Now I have a Brother printer and am using the hl1250 driver without problem. It seems that anssi.kolehmainen is correct.

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Sep 28, 2004

CUPS.org User: chaiken.acm

Adobe printer drivers worked fine for my HP Deskjet 722C.

Drivers from:
http://www.adobe.com/products/printerdrivers/main.html
PPD file from:
http://www.linuxprinting.org/show_driver.cgi?driver=pnm2ppa

Other software versions the same as listed in my previous post.

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Jan 14, 2005

CUPS.org User: roland.morgenroth.kapp-coburg

same error here.

i am using cups-samba-5.0rc3,
most PPDs from linuxprinting.org do not work.

anything new available?

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Jun 9, 2005

CUPS.org User: fijal

I've found, that ppd file MUST contain Resolution UI and (probably) for color printers, ColorMode UI. After some cosmetic changes i've made HP DeskJet 920C Foomatic/gimp-print-ijs working. with 5rc3 driver.

fijal

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Oct 2, 2005

CUPS.org User: mike

The 5.0 driver is obsolete and will no longer be updated, the 6.0 driver fixes all of these issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.