Hi,
is there any one experineced in setting up IPP in windows? I have cups-driven print-server in networks and it works just fine with linux client, but setting it up in windows causing one big headache :-(
What I did?
I selected "new printer",
then "connect to a printer in internet ...", set ip address from web browser http://ip:631/printers/HPc3100
then selected "HP" and "Photosmart C3100"
and then it freezed with "Not Responding"

I googled trick, that guy said he did this and then added that printer via "Local port" ...., ok this worked. But only for a while :-(

In logs on server I can see this:
10.254.0.4 - - [11/Oct/2007:15:50:50 +0200] "POST /printers/HPc3100 HTTP/1.1" 200 75 windows-ext client-error-bad-request

I tried create a class for that one printer, but it didn't help either.
I would appreciate any idea very much. thanks!

I turned on must verbose debug mode and now this set of messages is in error log repeating each 2 seconds. Messages are in logs even after closing all print dialogs and tools in windows and reseting cups server.

D [18/Oct/2007:20:40:37 +0200] cupsdReadClient: 7 POST /printers/HPc3100 HTTP/1.1
D [18/Oct/2007:20:40:37 +0200] cupsdAuthorize: No authentication data provided.
D [18/Oct/2007:20:40:37 +0200] Get-Printer-Attributes http://minerva:631/printers/HPc3100
D [18/Oct/2007:20:40:37 +0200] cupsdProcessIPPRequest: 7 status_code=0 (successful-ok)

and info about printer extracted from cups:

Description: HP c3100
Location: Lab 1
Printer Driver: HP PhotoSmart C3100 Foomatic/hpijs (recommended)
Printer State: idle, accepting jobs, published.
Device URI: hp:/usb/Photosmart_C3100_series?serial=CN6C6C52Q304P9

Member Avatar for fatihpiristine

stop your print spooler service and delete all files here > c:\windows\spooler\

then start print spooling service.. and configure your printer again

do not install printer software only install driver...

device mananger / usb printer / update driver / select the location thats all

stop your print spooler service and delete all files here > c:\windows\spooler\

then start print spooling service.. and configure your printer again

do not install printer software only install driver...

device mananger / usb printer / update driver / select the location thats all

That hint of deleting printer spool by hand has been helpful for debugging purpouse. By the way, correct path is %SystemDirectory%\system32\spool\PRINTERS\

But there is now USB printer in device manager, maybe because it's network printer :-D

From other posts on several forums and testing with dump printer I guess it's problem in hp driver for CUPS.

EDIT:
With driver Generic-MS Imagesetter and CUPS-PDF "dummy" all work fine and pdf files are created in (on?) the server.
With same driver in windows and HP Photosmart C3100 printer it goes crazy (but with printing from another cups client to cups server printing works fine). By "goes crazy" I mean "add printer" dialog stops responding after selecting driver (window is marked as "not responding"). And then I can see these repeating messages in cups error_log (see above), but no file is in c:\windows\system32\spool\PRINTERS\ (it's no suprise, because i guess it sends different message than "print" via ipp). If I stop spooler in "services.msc", "add printer" unfreeze and I can go on adding printer. But If I start "Print spoler", it starts sending same messages in infinite loop again ....

workaround: I removed all relevant printers in windows client, reset print spooler, I've created new "proxy" printer in cups (set address http://localhost:631/printers/HPc3100), and driver "generate pdf" and in windows I've added this "proxy" printer (with MS Imagesetter driver). Everything seems OK.

Member Avatar for fatihpiristine

work out .right?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.