svgevangelist - Aug 26, 2005 - 2:59 pm
I have a very similar problem as discussed in
http://www.macosx.com/content/faq.ph...erbook-G4.html
I have tried adding the printer (HP Laserjet 3200) by browsing and by adding the printer manually as in smb://user

ass@server/sharename
When I print, I just get a JOBS STOPPED message in the printer queue.
The printer is an HP 3200 and is hosted on an XP box with UNIX Printing services installed. The printer is shared with the name "HP3200" no spaces or funny characters. When I try the following in the console:
smbclient //server_name/HP3200 -U michael
Password: *****
I get the following:
smb: \> ls
NT_STATUS_ACCESS_DENIED listing \*
0 blocks of size 0. 0 blocks available
But I know that the mac can see the volumne because I had no problem navigating to it through the Add Printer set up.
I'm running OS X 10.4.2.
Many thanks.
Michael
gsahli - Aug 26, 2005 - 3:44 pm
What do you get in response to
smbclient -NL {IP address of PC}
I get the same login "limit" that you got with your command -- but I can print no problem.
Things to consider - on the PC, use the postscript driver for your printer.
- on the PC, have an account with the exact username

assword that you use on the Mac. That way, the keychain-Samba interface will work with a Windows Printing setup, and you won't need to hardwire the username

assword in the smb:// URI in "Windows Printing via Samba."
Please come back with any other questions.
svgevangelist - Aug 26, 2005 - 4:18 pm
Macmini:/etc laurie$ smbclient -nl 192.168.1.10
anonymous login successful
domain=[woodstock] os=[windows 5.1] server=[windows 2000 lan manager]
sharename type comment
--------- ---- -------
error returning browse list: nt_status_access_denied
session request to 192.168.1.10 failed (called name not present)
session request to 192 failed (called name not present)
anonymous login successful
domain=[woodstock] os=[windows 5.1] server=[windows 2000 lan manager]
server comment
--------- -------
delsol michael's laptop
macmini macmini
redbarron desktop server
workgroup master
--------- -------
woodstock delsol
however, if i login:
macmini:/etc laurie$ smbclient -l 192.168.1.10
password:
domain=[redbarron] os=[windows 5.1] server=[windows 2000 lan manager]
sharename type comment
--------- ---- -------
e$ disk default share
ipc$ ipc remote ipc
shareddocs disk
print$ disk printer drivers
pictures disk
g$ disk default share
applications disk
evo disk
f$ disk default share
admin$ disk remote admin
h$ disk default share
hp3200 printer hp laserjet 3200 series pcl 6
c$ disk default share
session request to 192.168.1.10 failed (called name not present)
session request to 192 failed (called name not present)
domain=[redbarron] os=[windows 5.1] server=[windows 2000 lan manager]
server comment
--------- -------
workgroup master
--------- -------
the hp3200 shows up.
> things to consider - on the pc, use the postscript driver for your printer.
the printer works on the pc both locally and from other pcs using the hp driver so at least on the pc side, the printer share works. on the mac side, i have tried using the hp driver, "apple laserwriter", the hpigs driver, and generic. i get "jobs stopped" in the print queue.
i have a keychain entry that allows access to fileshares on the same server, so i wouldn't have thought access was the problem--but i also have tried smb:\\user

assword@server\printer so that should over ride the keychain anyway, right?
i'm really stumped what else should i be looking at doing?
thanks very, very much.
michael
svgevangelist - Aug 26, 2005 - 5:12 pm
Maybe this will help.
tail -f -n40 /var/log/cups/error_log
e [26/aug/2005:15:05:10 -0700] get_printer_attrs: resource name '/printers/_3200j' no good!
i [26/aug/2005:15:05:55 -0700] setting _3200l device-uri to "smb://redbarron/hp3200" (was "file:/dev/null".)
i [26/aug/2005:15:05:55 -0700] setting _3200l printer-is-accepting-jobs to 1 (was 0.)
i [26/aug/2005:15:05:55 -0700] setting _3200l printer-state to 3 (was 5.)
i [26/aug/2005:15:05:55 -0700] saving printers.conf...
i [26/aug/2005:15:05:55 -0700] new printer '_3200l' added by ''.
i [26/aug/2005:15:06:09 -0700] adding start banner page "none" to job 44.
i [26/aug/2005:15:06:09 -0700] job 44 queued on '_3200l' by 'laurie'.
i [26/aug/2005:15:06:09 -0700] started filter /usr/libexec/cups/filter/cgpdftops (pid 1089) for job 44.
i [26/aug/2005:15:06:09 -0700] started filter /usr/libexec/cups/filter/pstops (pid 1090) for job 44.
i [26/aug/2005:15:06:09 -0700] started backend /usr/libexec/cups/backend/smb (pid 1091) for job 44.
e [26/aug/2005:15:06:10 -0700] [job 44] errdos - errbadaccess (invalid open mode.) opening remote file google
e [26/aug/2005:15:06:10 -0700] pid 1091 stopped with status 1!
i [26/aug/2005:15:06:10 -0700] hint: try setting the loglevel to "debug" to find out more.
i [26/aug/2005:15:06:11 -0700] saving printers.conf...
i [26/aug/2005:15:07:26 -0700] job 44 was cancelled by 'laurie'.
e [26/aug/2005:15:07:29 -0700] get_printer_attrs: resource name '/printers/???' no good!
e [26/aug/2005:15:07:29 -0700] get_printer_attrs: resource name '/printers/???' no good!
i [26/aug/2005:15:07:39 -0700] saving printers.conf...
i [26/aug/2005:15:07:39 -0700] printer '_3200l' modified by ''.
i [26/aug/2005:15:08:50 -0700] saving printers.conf...
i [26/aug/2005:15:08:50 -0700] printer '_3200l' started by ''.
i [26/aug/2005:15:08:50 -0700] adding start banner page "none" to job 45.
i [26/aug/2005:15:08:50 -0700] job 45 queued on '_3200l' by 'laurie'.
i [26/aug/2005:15:08:50 -0700] started filter /usr/libexec/cups/filter/cgpdftops (pid 1097) for job 45.
i [26/aug/2005:15:08:50 -0700] started filter /usr/libexec/cups/filter/pstops (pid 1098) for job 45.
i [26/aug/2005:15:08:50 -0700] started backend /usr/libexec/cups/backend/smb (pid 1099) for job 45.
e [26/aug/2005:15:08:51 -0700] [job 45] errdos - errbadaccess (invalid open mode.) opening remote file google
e [26/aug/2005:15:08:51 -0700] pid 1099 stopped with status 1!
i [26/aug/2005:15:08:51 -0700] hint: try setting the loglevel to "debug" to find out more.
i [26/aug/2005:15:08:51 -0700] saving printers.conf...
i [26/aug/2005:15:08:54 -0700] saving printers.conf...
i [26/aug/2005:15:08:54 -0700] printer '_3200l' started by ''.
i [26/aug/2005:15:08:54 -0700] started filter /usr/libexec/cups/filter/cgpdftops (pid 1100) for job 45.
i [26/aug/2005:15:08:54 -0700] started filter /usr/libexec/cups/filter/pstops (pid 1101) for job 45.
i [26/aug/2005:15:08:54 -0700] started backend /usr/libexec/cups/backend/smb (pid 1102) for job 45.
e [26/aug/2005:15:08:54 -0700] [job 45] errdos - errbadaccess (invalid open mode.) opening remote file google
e [26/aug/2005:15:08:54 -0700] pid 1102 stopped with status 1!
i [26/aug/2005:15:08:54 -0700] hint: try setting the loglevel to "debug" to find out more.
i [26/aug/2005:15:08:54 -0700] saving printers.conf...
i [26/aug/2005:15:10:17 -0700] saving printers.conf...
i [26/aug/2005:15:10:17 -0700] printer '_3200l' started by ''.
i [26/aug/2005:15:10:17 -0700] started filter /usr/libexec/cups/filter/cgpdftops (pid 1110) for job 45.
i [26/aug/2005:15:10:17 -0700] started filter /usr/libexec/cups/filter/pstops (pid 1111) for job 45.
i [26/aug/2005:15:10:17 -0700] started backend /usr/libexec/cups/backend/smb (pid 1112) for job 45.
e [26/aug/2005:15:10:18 -0700] [job 45] errdos - errbadaccess (invalid open mode.) opening remote file google
e [26/aug/2005:15:10:18 -0700] pid 1112 stopped with status 1!
i [26/aug/2005:15:10:18 -0700] hint: try setting the loglevel to "debug" to find out more.
gsahli - Aug 26, 2005 - 5:23 pm
Michael,
When I said use the postscript driver on the PC, what I was getting at is that the standard driver on the Mac (as well as Generic) for this printer is a postscript driver, therefore the print jobs will arrive at the PC with the wrong header and get refused. I didn't realize you have other PCs that need to print to that printer. You'd have to change all the PCs to use postscript, or, you can just use a PCL (HP page setup language) driver on the Mac.
You already have a compatible driver on your Mac. Try this all again using the HP Laserjet 6 Series, Gimp-Print driver.
(hpijs driver for 3200 should also work...Hmm)
You'll have to do the experimenting here for both of us, since I don't have the printer.
I have my WinXP-SP2 firewall off - not sure if that matters.
Let me know what happens
svgevangelist - Aug 26, 2005 - 5:46 pm
Yeah, we have to share the printer from the windows box and I think I've had trouble using the postscript printer for that in the past, although I could be wrong. Maybe worst case, I'll give that a try.
I did try your suggestion about using the PCL drivers...and I get this error
[26/Aug/2005:15:44:12 -0700] PID 326 stopped with status 1!
Which, according to
http://www.linuxprinting.org/error_log-faq.html means that I should try running CUPS as root...but I don't know how to do that on OS X. Do you give that suggestion any creedence?
gsahli - Aug 26, 2005 - 6:13 pm
Couple of interesting things in the cup log.
I don't know what "remote file google" means - nothing like that in my log.
And the very first line of the log "/printers/_3200j," has to do with the printers in your Printer Setup printer list -- don't know why that's no good.
About running as root - don't know how your login prefs are setup, but I can login with username of root.
Try using Printer Setup Repair from
www.fixamac.net. It's the closest thing we have to a prefs and startup files checker.
(I'm starting to think in terms of reinstalling OS X - something's not right, and we don't have tools to identify what)
svgevangelist - Aug 26, 2005 - 6:21 pm
>I don't know what "remote file google" means - nothing like that in my log.
That's just the name of a test document -- I printed the google home page from Safari.
> And the very first line of the log "/printers/_3200j," has to do with the printers in your Printer Setup printer list -- don't know why that's no good.
It could be just left over from when I installed (and uninstalled) a previous configuration.
> Try using Printer Setup Repair
I'll do that now.
> Reinstalling...
Well it is a brand new Mac mini--so reinstalling wouldn't be high on my list, but we'll see.
Thanks!
Michael
svgevangelist - Aug 26, 2005 - 7:15 pm
I tried the print repair utility; it said everything was okay.
gsahli - Aug 26, 2005 - 7:56 pm
Well, I should recommend reinstalling OS X using the Archive & Install option in the installer. There are ~ 90,000 files in OS X and we just don't have tools to identify corrupt ones.
But hold on - You aren't using Active Directory are you? That would change things.
Another idea, I'd be very tempted to search for a friend with a Mac to try this out first.
Another couple of options before reinstall:
http://www.ifelix.co.uk/tech/3009.html
(you need to enable the guest account on the PC for this)
http://www.ifelix.co.uk/tech/3002.html
(You need to install unix/TCP/IP print Services on the PC for this)
svgevangelist - Aug 27, 2005 - 12:04 am
> Well, I should recommend reinstalling OS X using the Archive & Install option in the installer. There are ~ 90,000 files in OS X and we just don't have tools to identify corrupt ones.
I'm about %99.9 certain there's nothing wrong with the mac. The problem is that the printer is HP PCL, not Postscript, and although there seem to be drivers for it that should work, they don't seem to do the job.
>Another couple of options before
Indeed. I've been working on that sort of thing all day with no luck, I'm afraid. I'm just about to tell my wife that she can use the mac to print to PDF and I'll make a bat file that will print anything she saves to that directory (on the PC side). Ugh!
I really appreciate all your help.
Michael
gsahli - Aug 27, 2005 - 7:14 am
Ok