Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

CUPS printing hints on Jaguar System
Jaguar includes "CUPS" as printing system. This enables automatic printer browsing for remote machines, printer sharing etc. If you've got a Linux machine with CUPS running besides your Mac, you are able to print to all anchient printers, where the manufacturer doesn't provide an OSX driver to. (LinuxPrinting.org)

Hint: cupsomatic seems to fail for me when getting a PDF job from my mac. Changing debug to "1" (my debug="1") in cupsomatic helps.

To enable printing from Jaguar via Samba to Windows machines, you've got to include "smbspool" as cups backend. Grab Terminal as root and enter:
 % cd /usr/libexec/cups/backend
% ln -s /usr/bin/smbspool smb
Now reboot (or restart cups by "kill -HUP"). Print Center cowardly refuses to add SMB printers. So grab your favorite browser and enter "http://127.0.0.1:631" as URL. Go to printers, add a printer, and use "Windows Printer via SAMBA" as Device. The printer URL may be one of the following, depending on your environment (see cups documentation):
smb://user:pass@workgroup/server/sharename
smb://server/sharename
Unfortunately, the number of printer drivers included with cups is quite low and the usual MacOS X vendor drivers are not updated yet. If you don't find your model listed, consider gimp-print. You need the Developer Tools to compile and install gimp-print.
    •    
  • Currently 2.29 / 5
  You rated: 2 / 5 (7 votes cast)
 
[175,473 views]  

CUPS printing hints on Jaguar | 73 comments | Create New Account
Click here to return to the 'CUPS printing hints on Jaguar' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
No such device listed
Authored by: stukoch on Aug 24, '02 10:33:02PM

I have been activly seeking a solution for SAMBA printing under Jaguar so I was very excited to try this hint. However, there is no device listed called "Windows Printer via SAMBA".

The devices listed are...
AppleTalk Printer Access Protocol (pap)
AppSocket/HP JetDirect
Internet Printing Protocol (http)
Internet Printing Protocol (ipp)
LPD/LPR Host or Printer
USB Printer (usb)

Even if the device were listed I am very confused as to what this site does. Could somebody please explain in more detail for me.

Thank you,
Stu



[ Reply to This | # ]
NEVERMIND
Authored by: stukoch on Aug 24, '02 10:57:48PM

Doh! Forgot to restart! Works grrrrrrrrrrreat! Thank you so much, I can finally print. Yahooooooooo!

-Stu



[ Reply to This | # ]
NEVERMIND
Authored by: eddyer on Nov 29, '02 06:13:19PM

So I can print to my hp Deskjet 940C from a text document, but not a graphics file like an EPS from photoshop or illustrator. What gives? I don't get an error or anything, but the cups "completed jobs" log lists them as user-cancelled jobs and can't restart them.



[ Reply to This | # ]
CUPS Documentation on localhost
Authored by: MaxMarino on Aug 25, '02 03:48:16AM

Site? it is your machine ;-)

Since with Jaguar CUPS is installed on your system, if your CUPS daemon is running, documentation is available online (HTML and PDF formats) on your local system at http://localhost:631/ or http://127.0.0.1:631/



[ Reply to This | # ]
reboot
Authored by: Stéphane on Mar 11, '03 06:22:51AM

You have to reboot your system and the it will appear in the menu :
Windows printer via samba.

Stéphane



[ Reply to This | # ]
Sharing Mac Printer with Windows via CUPS?
Authored by: mickelsn on Aug 25, '02 03:27:54PM
This hint was tantalizing, until I realized that it provides printing from the Mac to a Windows printer via CUPS. What I'm hoping to do is print from my Windows laptop to my Mac-connected laserprinter via my wireless network. Can anyone help me figure out how to set this up via Samba and/or CUPS?

Thanks...Neil

[ Reply to This | # ]
Sharing Mac Printer with Windows via CUPS?
Authored by: bax on Aug 26, '02 03:18:40AM

Some tips for SAMBA: (as root)
Edit /etc/smb.conf and add the line "printing = cups" to the [global] section. Uncomment the [printers] section and change
"public = no" to "public = yes". Reboot.



[ Reply to This | # ]
Sharing Mac Printer with Windows via CUPS?
Authored by: cgriffin on Aug 26, '02 03:26:29PM

I modified the /etc/smb.conf file. Now my iMac shows up in the windows add printer Wizard. However it wants a printer name. I looked up the printer name in the printcap file and used that name but windows says it could not connect to the printer.



[ Reply to This | # ]
Sharing Mac Printer with Windows via CUPS?
Authored by: ThorsProvoni on Aug 27, '02 04:59:11AM

Exactly my problem, too. Tried to connect to a Canon S450 attached to my iMac. The other direction - printing to a HP Laserjet connected to a Windows 2000 systems works perfectly well.

Any suggestions?



[ Reply to This | # ]
Sharing Mac Printer with Windows via CUPS?
Authored by: pinsel on Sep 11, '02 12:56:43PM

i had the same problem while i used the name from the info tag. For my HP Printer i have to use the name from the following tag <DefaultPrinter DESKJET_950C>. It works perfect, but after installation i'm also unable to print via the URL... any suggestions?

thx pinsel



[ Reply to This | # ]
Sharing Mac Printer with Windows via CUPS?
Authored by: rymes60 on Sep 12, '02 03:30:45PM

> Authored by: cgriffin
> I modified the /etc/smb.conf file. Now my iMac shows up in the windows add printer
> Wizard. However it wants a printer name. I looked up the printer name in the printcap
> file and used that name but windows says it could not connect to the printer.

Don't use the Add Printer Wizard. Go to the Network Neighborhood and open you MacOS X Computer's icon. The printer icon ought to be there. Right-click on it and select install. You will have to specify the correct driver for this to work.

Tom

BTW, if you are having problems with Windows Files Sharing not staying checked in System Preferences, go to the Accounts preference pane and make sure that at least one user has "Allow user to log in from Windows" Checked.



[ Reply to This | # ]
Sharing Mac Printer with Windows via CUPS?
Authored by: zwarbo on Sep 20, '02 05:07:32AM

I have got the icons in XP and went through the install of
the new driver for the XP side. Then once the install finished
it says under the printer icon "Access denied, unable to connect"
Any thoughts on that?



[ Reply to This | # ]
Sharing Mac Printer with Windows via CUPS?
Authored by: skrumble on May 26, '03 03:04:45PM

Had much the same problem, I think it could be a permissions thing BUT I changed the printer driver to "generic/text only" on the PC and I can now print (albeit in b/w and courier font). I'm stumped - any other solutions?



[ Reply to This | # ]
Share a Mac printer with PC...How?
Authored by: mschaff on Aug 25, '02 04:07:42PM

I, too, would like to share a Mac USB inkjet printer with my networked PC. I have SAMBA file sharing successfully set up and I've edited the /etc/smb.conf file to allow printer sharing. I can see the printer on my PC and I've installed the PC driver for it. Despite all that, I haven't been able to get the PC to print to it. Can anyone suggest anything? Is CUPS supposed to do this is is CUPS only for Mac->PC printing?

Is it even possible to share a USB printer with a PC and 10.2?

So far, I've been pretty disappointed with the lack of documentation (either printed or electronic) provided by Apple for Jag. It seems that the only source for solutions comes from people that have stumbled upon an answer by themselves.

Thanks for any help!



[ Reply to This | # ]
Share a Mac printer with PC...How?
Authored by: CJLinst on Aug 28, '02 03:03:44AM

Stumbling? The fact is that people aren't simply stumbling onto answers. There are a lot of people who have been administering BSD Unix and Linux systems for many, many years along with SAMBA, MySQL, Apache, CUPS, SSH, LPR/LPD, etc.

Nice to be an instant Macintosh "guru."

What? Me switch? Nah, Apple switched to Unix.



[ Reply to This | # ]
Share a Mac printer with PC...How?
Authored by: oldmac on Jan 17, '03 07:37:04PM

Yes... the UNIX community has a tendency to create lots of really great stuff, but never gets around to making it useful for 99% of the people who could utilize it. Hopefully, that's what Apple will bring to the table over the next couple years.



[ Reply to This | # ]
Brother Printers & CUPS
Authored by: eorooke on Aug 25, '02 08:23:19PM

Will the CUPS printing system in Jaguar support USB printers directly connected to my Mac?
I checked the linuxprinting.org site for cups printing information, and they support Brother printers
such as the DCP 1200 and the HL1240 - printing only.

I am looking for alternate printer drivers. On Friday, Brother finally acknowledged that most of
their printers will not print under Jaguar. However, they gave no date by when new drivers will be available.



[ Reply to This | # ]
Brother Printers & CUPS
Authored by: mattmk on Aug 25, '02 11:58:15PM

I have a Brother HL1440 working under Jaguar, but it is very slow to print to from other Jaguar machines. Its quite a pain, actually, because this is the key reason for upgrading in my case.



[ Reply to This | # ]
Anybody tried cups-lpd?
Authored by: eagle on Aug 25, '02 11:00:34PM

Anybody tried the LPD front-end? I want to serve my USB DeskJet from Jaguar to my NeXT and other OS X box. I was hoping to do this via LPD but I haven't got that working yet. :( I see the job get to the Jaguar box (it's in /var/spool/cups, and there are comments about it in syslog) but the job never gets from there to the printer. Any ideas?



[ Reply to This | # ]
Cups in general..
Authored by: Chas on Aug 26, '02 01:01:56AM

I need some general help and setup instructions on CUPS, it's totally undocumented on the Mac. I compiled and tested early CUPS releases that worked only through the command line, trying to get my Epson 1520 to work, with only partial success. Now the web-based admin is a vast improvement, and the CUPS styluscolor drivers are known to work with the 1520, but I just can't get it to recognize the USB connection to the printer. Any suggestions? I'm prepared to hook up my Keyspan serial gadget to run the 1520, which is surely has many more things to go wrong..



[ Reply to This | # ]
Cups in general..
Authored by: bax on Aug 26, '02 03:22:31AM

Apple didn't write a USB backend for CUPS, thus you currently
have to use local USB printers via print center. Blame them for
their lazyness.

--bax



[ Reply to This | # ]
Cups in general..
Authored by: bax on Aug 26, '02 03:32:56AM

*argl* Forget that last post of mine. The USB backend is
indeed working.



[ Reply to This | # ]
Cups in general..
Authored by: Sorsby on Jun 05, '03 08:05:04PM

Did you ever get a response to your query about this?

I'd like to be able to bet cups to talk to my HP 5550 connected (vai usb, of coruse) to my powerbook g4.

I want to be able to ue unix's lpr to print text files from a terminal window among other things but that would be a start.



[ Reply to This | # ]
gimp-print 4.2.1 for 10.2
Authored by: sjk on Aug 26, '02 02:31:51AM
This might be helpful for some folks: Jaguar & Gimp-Print

[ Reply to This | # ]
gimp-print 4.2.1 for 10.2
Authored by: charlie on Aug 28, '02 01:51:05AM

This is the gouge if you want to print to Windows machine. Here's what I did to print from my iBook with 10.2 to a Windows 2000 machine sharing a HP DeskJet 812 Color inkjet printer...

Go to this link, download gimp-print, and install it.

Do the following (as described in original post) as root:

% cd /usr/libexec/cups/backend
% ln -s /usr/bin/smbspool smb

and then restart cupsd. I think this is what makes "Windows printer via SAMBA" available in the next part...

Now, open Print Center. Hold down option key and select the add icon. You'll get the advanced printer screen. Select "Windows printer via SAMBA", give it a device name (i.e. HP812C), and fill in the Device URI with the something like "smb://username:password@workgroup/hostname/printername". (Note that you can find out if there is a printer shared by running "smbclient -L //hostname"...if one doesn't show up, then you need to share it on the windows side). My string looked something like "smb://charlie:*****@workgroup/Tower/HP812C". You may not need the username or password if your machine doesn't have a password...but who would do that? :-) Finally, select a printer model (I select HP, which then provided an additional list where I selected pcl-812).

You should now be able to print from your Mac to your shared Windows inkjet printer. The output is not perfect, but ain't bad either.

Good Luck!



[ Reply to This | # ]
Brother Printers & CUPS
Authored by: eorooke on Aug 26, '02 10:31:22AM

Thank you for replying to my post. How did you get the HL 1440 to print under Jaguar?
What drivers do you use? Will it print when locally connected to a Mac or must it be connected to
another computer running linux?

Thank you for your help.



[ Reply to This | # ]
Brother Printers & CUPS
Authored by: mattmk on Aug 26, '02 11:27:58AM

Brother provides a "USB-only" driver for the 1440 (http://solutions.brother.com/hl1400/download/drivers.html#macOS). I just enabled printer sharing and it became available. It prints fine, but it takes a very long time.



[ Reply to This | # ]
Brother Printers & CUPS
Authored by: Anonymous on Aug 26, '02 01:31:01PM

I have a Brother HL-1450 printer.
I installed GIMP-Print for OS X this morning. After a restart, Print Center recognize immediately my Brother.
All files print well except some PDF made by Adobe Acrobat. But on the Home page of GIMP-Print, you'll find a work-around.
This afternoon, after reading another MacOSX hint, I configured successfully the printer.



[ Reply to This | # ]
Brother Printers & CUPS
Authored by: Happy_Chappy on Aug 28, '02 06:37:42AM

Hi There,
I used Gimp_print 4.2 on an emac and a Beige G3 300, and i can print to a brother 1040 and a 1670n. I installed the old driver (10.1) for the 1040 brother printer (File hl12m134.hqx on the brother server) and my 1240 worked fine.
When using the print centre press option and click on the add button and you will get heaps of options. Try them all. I can also print to my epson 670 and to my absolute delight my epson photoex (via a parallel to usb cable) You can configure them with out the web browser palava, just option click add printer.
The addition of CUPS support is worth the $US129 upgrade price. The new printer support is a powerful argument in support of corporate support of opensource projects.



[ Reply to This | # ]
Brother Printers & CUPS
Authored by: eorooke on Sep 05, '02 07:57:43PM

After installing 10.2, I installed the 10.1 drivers for my Brother DCP-1200 and Gimp-Print
for MacOS X. Opening the Print Center with the option key pressed, the DCP-1200
appears as a listed printer in the menu at the top of the page.

However, there is no DCP-1200 listed as a printer driver at the bottom of the page. My
only choices are a generic driver and "other". Printing with the generic driver reports that
a file is finally being sent to the printer - but nothing happens.

At linuxprinting.org I found that the DCP-1200 supports PCL2. Choosing "other" and this
driver from the HP list results in an error message. I created a ppd driver using
linuxprinting.org's database but this causes another error.

Further, I cannot install this ppd file in the cups/model directory as instructed by
linuxprinting.org because this directory reports that it cannot be modified. I have not tried
downloading the perl and companion file from linuxprinting because I am not sure where to
install them and because they are to be saved in a "world format" - what is that?

I find many help requests for Brother printers and drivers in discussion groups at Apple
and elesewhere. Apparently it may be some time before Brother releases any drivers.
Has anyone overcome these missing driver problems? The instructions at linuxprinting.org
are difficult to follow. A simple 10.2 Guide would help.

Any help will be appreciated. Thank you.



[ Reply to This | # ]
Brother Printers & CUPS
Authored by: bitweever on Oct 12, '02 01:01:14PM

I was able to print to my Brother HL-1240 that is shared by my Windows 2000 PC just by following the hint at the top. Since there's no driver for it under CUPS, I used the HP Laserjet driver (which the HL is supposed to be compatible with), and it prints great!



[ Reply to This | # ]
Brother Printers & CUPS - 1440 Success
Authored by: oldmac on Jan 17, '03 07:34:57PM

I have been using the Brother driver with my 1440 USB via Mac OS X.2 successfully. I can't say that I had to do anything special to make it work, though I did install Gimp print on the machine, as well.

Also, I have now enabled CUPS and have it set up so that I can print from my PC through my Macintosh. These forums are great for getting a start on something like this, but detailed instructions with screenshots would be even better. I hope to contribute such should I find the time in the future and maybe put together a couple scripts to make it easier, as well.



[ Reply to This | # ]
how do you install cupsomatic on os 10.2
Authored by: dleggett on Aug 26, '02 03:35:07PM

I have an Epson EPL-5700i which linuxprinting.org says can be used with cupsomatic. Is there any info on how to install this? I know there is a gimp-print for osX installer, but it doesn't contain the EPL-5700 driver.



[ Reply to This | # ]
Error: client-error-not-possible
Authored by: natergj on Aug 28, '02 09:54:48PM
Error:
client-error-not-possible


I keep getting this error when I try printing following the above instructions. I've tried printing to both a win2000 and win98 shared printer. the 2000 printer required a username and pass, the 98 printer required no authorization. I followed the directions exactly. Does anyone else get this error? have you found a way around it?

[ Reply to This | # ]
Error: client-error-not-possible
Authored by: digdog on Dec 18, '02 01:18:19AM

this only happen on my 10.2 when I want to print test page through cups' web interface. (the reason is 'no such file'.)



[ Reply to This | # ]
Print Center -> Advanced Settings
Authored by: ploiku on Aug 31, '02 09:08:29PM

In Print Center, hold down the alt/option key when you click "Add" and you can choose "Advanced" in the popup. Then it's easy to add SMB shared printers.



[ Reply to This | # ]
Print Center -> Advanced Settings
Authored by: grlloyd on Sep 04, '02 12:48:13PM

Absolutely right (and easy as pie) on the Advanced Settings hint, thank you!
I had to switch from the AppleTalk spooler hosted on an old Solaris
box to an SMB spooler on the same box.



In case anyone else has similar AppleTalk / 10.2 problems, the symptom was an immediate disconnect and generic Print Center failure dialog using the Solaris AppleTalk spooler. Looking at the Console, the following error status
was logged:



Print Center[434] endSheet:returnCode: requires a non-nil sheet




[ Reply to This | # ]
CUPS is Forbidden!
Authored by: nick2588 on Sep 05, '02 06:26:05PM
Help! I can print to my Epson Stylus Photo 1200, but I cannot use the web interface (before or after I installed the printer). I can see the main page, but I can can only go 1 link deep. I can see the list of printers, too, but I cannot print a test page or configure it (that would be 2 links deep) because I get a Forbidden error!

Forbidden
You don't have permission to access the resource on this server.



Are there permission settings somewhere that need to be changed?



[ Reply to This | # ]
CUPS is Forbidden!
Authored by: kelvin_sudlow on Sep 24, '02 04:51:06PM

HI
I have the same problem andd I would love to no the answer
Every time I try to add or do admin task it say's I do not have permission
Any Help would be great

Thanks



[ Reply to This | # ]
CUPS is Forbidden!
Authored by: PCguy on Oct 07, '02 05:31:07PM

use the address:
http://127.0.0.1:631

I had the same problem until I used this address.



[ Reply to This | # ]
CUPS and HP LaserJet 4
Authored by: shua on Sep 05, '02 08:58:15PM
HP is hanging off of an XP box - I can send the job to the printer but the printer returns a "W2 INVALID PERS"


Any thoughts?

[ Reply to This | # ]

It works!
Authored by: TomP on Sep 09, '02 11:27:55PM

Thanks to this hint I can now print from my OS 10.2 laptop to the printer on my Win2k box.

Why on earth did they have to make this so obscure when it works so well?

Thank you!



[ Reply to This | # ]
It works!
Authored by: cslloyd on Sep 12, '02 06:09:07PM

What are you referring to? I would like to print from my Mac to my PC and
I'm not even close to knowing what to do. OS X 10.2 to Win 98SE using a wired ethernet.
Both printers on PC, one parallel and the other USB.

Thanks for any info.

Charlie Lloyd



[ Reply to This | # ]
Printing from Win2k to OS 10.2 Mac USB printer
Authored by: edentz on Sep 20, '02 01:57:15PM
This is a simple description of what I did to enable printing across a LAN from a Win2K desktop to a Hewlett Packard Deskjet 930C connected via USB to a OS 10.2 (jaguar) Mac. Originally I had sought to enable printing over my LAN via Samba, but was unable to get it working, even after downloading the excellent SSP beta package for Jaguar: http://xamba.sourceforge.net/ssp and reading a lot of the other articles here on cups and samba Fortunately the CUPS system seems to work just fine once you've got everything configured properly. Still if anyone would like to point out what I need to do to get it working via Samba I'd certainly be interested... For the following to be helpful, you'll probably need to be familiar with the command line interface and editing configuration files using a command line text editor like vi, emacs or pico. On the Mac I set up the following configuration: In the System Preferences Sharing panel under the Services tab Printer Sharing needs to be turned on. Open a terminal window and change to the /etc/cups/ directory. Use a text editor to uncomment the following line in the mime.convs file: #application/octet-stream application/vnd.cups-raw 0 - Also uncomment the following line in the mime.types file: #application/octet-stream The following may be specific to certain printers, but it was also necessary to change the following line in the printer.conf file: DeviceURI file:///dev/null I determined the correct URI by: 1. Opening the Print Center in the /Applications/Utilities/ folder. 2. Selecting my printer from the list (in my case the DESKJET 930C) 3. Holding down the Option/Alt key and clicking the Add button. 4. Selecting the "Advanced" option from the drop down menu 5. Then selecting the DESKJET 930C printer from the "Device" menu. 6. This resulted in the device URI being displayed in the field as follows: usb://HEWLETT-PACKARD/DESKJET%20930C?serial=XXXXXXXXXXX I later found out that this information is also available in the terminal using the command: lpinfo -v 7. I opened up the printer.conf file in the text editor and replaced "file:///dev/null" with the URI Last I restarted the cupsd process so that the configuration changes were loaded. You can either kill and restart cupsd manually on the command line (as root or by using sudo) Or you can reboot the computer. On the PC you'll need set up the following configuration: 1. Open up printers from the Windows 2000 start menu. 2. Double click "Add Printer" and choose "Network Printer" 3. Choose the "Connect to a printer on the Internet or on your intranet" 4. Enter the URL for your Mac printer as follows: http://192.168.xxx.xxx:631/printers/DESKJET_930C 5. Substitute the name of the printer connected to the Mac for "DESKJET_930C" as it appears on the CUPS web admin page (Accessible by entering this URL: http://127.0.0.1:631 in a browser running on the Mac) 6. Once you've entered the correct URL for the Mac printer, you should be prompted for the location of the printer drivers on the Windows system. (I got this even though I had previously installed the drivers.) Browse to the drivers on the printer CD or download them from the manufacturer's website. That should do it. You may also need to set up a valid account for the Windows user on the Macintosh, but you should be able to find help for doing that elsewhere. If you're still having problems, you might want to take a look at the primary sources for a number of the steps detailed above. Try searching these two sites for "cups", "samba" and "printing": http://www.macosxhints.com/search.php http://discussions.info.apple.com As with most unofficial documentation on the internet, this worked for me, YMMV. Hope it helps.

[ Reply to This | # ]
works great
Authored by: nemalex on Oct 03, '02 04:20:14AM

Thank you edentz.

Works with Win2k printing to a Jaguar -- USB Epson Stylus 740. Same steps, changed nothing.



[ Reply to This | # ]
Printing from Win2k to OS 10.2 Mac USB printer
Authored by: JohnnyO on Oct 07, '02 02:58:47PM

So close -- I've got a Canon S800. When I make all the indicated changes, EXCEPT the change from the file: to the usb: string in printers.conf, I can create a printer on the Windows 2000PC, that, based on watching packets on the wire, is sending data to CUPS on the Mac. CUPS shows the job as completed, yet nothing shows up.

Mac printing is still fine

Command line printing from OS X is still fine (ie, lp filename)

As an aside that something is still goofy, I can not send a test print from the CUPS Web page. It reports as submitted, but immediately shows as cancelled.

When I DO make file: to :usb://Canon/S800?serial=4ERCb1 change, all printing stops working, even Macintosh jobs.

Any ideas?

Thanks!

John



[ Reply to This | # ]
Printing from Win2k to OS 10.2 Mac USB printer
Authored by: JohnnyO on Oct 07, '02 06:17:41PM

More Info:

The CUPS error log shows the following when I attempt to print from the Windows PC:

get_job_attr: job #0 doesn't exist!

Any ideas?

Thanks!



[ Reply to This | # ]
Printing from Win2k to OS 10.2 Mac USB printer
Authored by: tedlandis on Nov 03, '02 02:13:41PM

What worked for me was to NOT change the file: definition in the existing Printer definition but rather to add a new printer for Windows printing only from the http://localhost:631/printers screen in the browser.

So I have two printer definitions pointing to the same printer one with
device = file://dev/null
for printing from the Mac

and one with
device = usb://HEWLETT-PACKARD/DESKJET%20930C?serial=xxxxxx
for printing from Windows.

Also for the Windows printer just select "raw" as the "Make" since the Windows drivers already format the output for you.



[ Reply to This | # ]
Printing from Win2k to OS 10.2 Mac USB printer
Authored by: JohnnyO on May 22, '05 05:18:17PM

This hint still works (and is apparently still required) for Mac OS X 10.4 Tiger.

Only change is that mime.convs and mime.types already have the raw application octe-stream enabled.

John



[ Reply to This | # ]
Printing from Win2k to OS 10.2 Mac USB printer
Authored by: dbeltram on Oct 09, '02 06:10:38PM

What a great tip! This worked fabulously for me -- er, well, almost. I am now able to print quite happily from a Win2k box to the Epson Stylus C82 attached to my Mac. But now, I can't print from the Mac anymore! Print Center fires up and then quits with no error messages. The status from the CUPS web page says there's a communication error with the printer. But like I said, the PC is printing to it (via CUPS) just fine, and I can do a nozzle test from the Mac, so I know the communication is good.

Any thoughts on what might be wrong or where to begin troubleshooting? Thanks.



[ Reply to This | # ]
Printing from Win2k to OS 10.2 Mac USB printer
Authored by: JohnnyO on Oct 19, '02 11:55:35AM

Further progess -- it seems restarting cupsd after making the change from
DeviceURI file:///dev/null
to
DeviceURI usb://Canon/S800?serial=4ERCb1
wasn't enough.

Restarting my Mac after the change above DID allow my PC to print properly to my Mac!

Unfortunately, no local Mac jobs would print. They would hang in PrintCenter.

Deleting and re-adding my Printer (Canon S800) in the PrintCenter solved the problem printing from my Mac, but changed printers.conf BACK to DeviceURI file:///dev/null which killed remote printing from my Windows 2000 PC.

Any ideas?

So close!

John



[ Reply to This | # ]
It's working now!
Authored by: JohnnyO on Oct 27, '02 08:22:31PM

I figured it out.

To recap, when I followed edentz's instructions above, PC printing would work, but Mac printing would not. Deleting the print queue in Print Center would fix the Mac printing, but not allow the PC or Linux printing across the network.

I decided to create a SECOND print queue to my USB connected Canon S800 printer. I attempted to do this in Print Center, but it didn't allow it. Instead, I edited my /etc/cups/printers.conf file and copied the existing printer section, and replaced the DeviceURI string. I also changed the Printer name and the Info string, as shown below:

# Printer configuration file for CUPS v1.1.15
# Written by cupsd on Sun Oct 27 23:38:02 2002
<DefaultPrinter S800>
Info S800
Location aladdin
DeviceURI file:///dev/null
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>
<Printer Can800>
Info CanonS800
Location aladdin
DeviceURI usb://Canon/S800?serial=4ERCb1
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>

After making these changes, I restarted my Macintosh.

I've alternated 4 print jobs between the PC and the Mac, and watching (using tail -f) /var/log/cups/error_log, it is clear to see that the PC jobs are hitting the new queue that refers to DeviceURI usb: and the Mac jobs are hitting the queue that still has the DeviceURI file:

John



[ Reply to This | # ]
Printing from Win2k to OS 10.2 Mac USB printer
Authored by: courtsk on Mar 21, '04 04:30:13PM

I don't have Win2K but just Win98 and was convinced that I could make my new Samsung ML1710 work as both a shared and a local printer. I discovered that as soon as I used the advanced setting to make it work on the network it wouldn't work on the local, so I think I have come up with a workaround using a lot of the information you provide above. It appears that to work locally you need to retain one printer with the URI of file:///dev/null (which when you use http://127.0.0.1:631 will show up as file://dev/null, i.e. 2 rather than 3 ///'s). On the other hand if you created a printer using the option click add and chose advanced and chose the printer that it listed, the one that worked locally would be replaced. So...what I did was use choose to add a USB printer instead and pasted in the string that you found with ipinfo -v for the printer that you are trying to connect but give it a new name, e.g. MyPrinterSMB or some such.

Now to get the settings correct on the Win98 end you have to have SMB set up so that you can see the printers that are connected to your Mac. The name that shows up won't be the one that you made up, but go ahead and add a printer and choose whatever name shows up in the Network Neighborhood browser and put in the software that is appropriate for the printer connected to the Mac if it were connected to the PC. Now comes the trick. Open up the printer properties. Go to details tab and click on "add a new port" button and replace the name of the printer that showed up in the NN browser with the one that you made up when you added the printer. Then link your network printer to that port. The name in the printers folder will remain the same. In my case the official name that the Mac software provides is ML-1710, but the name I made up is SAMSUNGSMB so the printer shows up as ml-1710 but the new port sends it to SAMSUNGSMB.

Interestingly enough while the printer works fine, the information doesn't go through the Mac OSX print spooler (i.e. it doesn't show up as a job). Also while http://192.168.x.xxx:631 will show all the printers on the computer listed I can't get test pages or anything else to work from the URL links. The printer in the PC printers folder, however, acts just as though it were connected to the PC. Very slick, once you figure it out. Also you can then just add the USB printer to the Mac in the usual way and usel it (with the standard name that print center provides) for printing locally from your mac.

Good luck.

Court Skinner



[ Reply to This | # ]
Turn this off
Authored by: warnero on Oct 25, '02 07:46:37PM

Hi all,
I got this working, but after I followed the tip I have been getting the beachball of doom on every single app I use. It takes forever to get to the app and then forever to do anything (we're talking minutes here). In order to troubleshoot I would like to undo the thing I did ;-). I followed the standard tip, so nothing extra going on.

-warner



[ Reply to This | # ]
Doesnt seem to work
Authored by: digisam on Oct 27, '02 06:06:44PM

Hi

I made the switch last week and have finally got the network working okay between two PC on a wireless network.

At first i was using DAVE but my eMac kept crashing when i tried to move any large files over the network. I unistalled DAVE and perservered with Jaguar and now it works fine.

But i cant get the printer sharing to work at all.

I have tried the suggestions listed in this article, going into the terminal etc and chaning bits. I dont get the extra options when you hit option+add printer.

I also dont know how often this article is read, so i wont go on for ages.

So if you require any more info. let me know


Sam



[ Reply to This | # ]
Unable to connect to SAMBA host
Authored by: buchlohc on Nov 21, '02 08:04:19AM

I've used this hint and have the following Problem

When i try to print to the samba printer i"ve got the following message:
SMB session setup failed: NT_STATUS_LOGON_FAILURE
Unable to connect to SAMBA host, will retry in 60 seconds...:Undefined error: 0
When I resart my Mac the queued job are printed. If I want to print an aditional doc I've got the same message as above.

reinstalling the Printer with the cups Interface and printing a testpage sometimes works!?

Any idea how to fix this

[ Reply to This | # ]

Unable to connect to SAMBA host
Authored by: logo on Nov 26, '02 03:59:10AM

In my case this problem appears whenever my password on the windows print server changes (once a month).
However I will not be able to print after a restart.
I always have to recreate the printer with the new password. I still have not figured out where it can be changed or where it is stored...

Anyone a better idea? The month is over again! So I'm waiting for a better solution before I recreate the printer from scratch!!!

Thanks!



[ Reply to This | # ]
Unable to connect to SAMBA host
Authored by: buchlohc on Nov 29, '02 04:45:24AM

please have a look into /etc/cups/printers.conf
In that ascii file the password apears in the line

DeviceURI smb://printuser:prints@workstation1/HP2100

You can edit the file with a normal editor, but you have to restart cups after
that.

May be that helps to fix your problem.



[ Reply to This | # ]
Unable to connect to SAMBA host
Authored by: logo on Nov 29, '02 11:42:53AM

Brilliant!!!

Thank you!



[ Reply to This | # ]
Permission denied
Authored by: pianomanmarty on Dec 12, '02 02:02:38AM

I am running Jaguar, and when I go into the Terminal and try to enter in the two lines that this article said to enter, it accepts the first line and changes to that directory; but when I enter the second line, it says "ln: ./smbspool: permission denied".

Any ideas how to allow the permission?

Thanks!



[ Reply to This | # ]
Permission denied
Authored by: buchlohc on Dec 12, '02 03:41:12AM

Hi,
when you tried this, you have been root ?
If not, use the command 'su -'(without the ')
Enter your passwd for the root Account, then try again the ln command. it should work now.



[ Reply to This | # ]
Permission denied
Authored by: pianomanmarty on Dec 12, '02 08:21:31PM

I tried what you said about entering su - and then my password, but I dont' know what the password is - it's not the password to my user account...how do i find out the password? Is there some default unless you change it?

Thanks again!



[ Reply to This | # ]
Permission denied -- FIX
Authored by: torque2k on Dec 19, '02 12:27:57AM
I, too, have this problem, and it probably stems from the fact that my username hasn't been correctly added to the 'wheel' group. Nonetheless, you can type this as the second line instead:

UserName % sudo ln -s /usr/bin/smbspool smb

This will prompt you for a Password, which should now accept your current password.

Of course, I am under the assumption that this is your own Mac, and that you actually installed the OS yourself, or at least set it up with yourself being the first user on the system. If not, then see your system administrator... ;)

[ Reply to This | # ]
Permission denied -- FIX
Authored by: pianomanmarty on Dec 19, '02 07:44:43PM

That's just the trick I needed....thank you so much!



[ Reply to This | # ]
printer sharing with windows
Authored by: kevinplays on Dec 23, '02 08:05:51PM

I'm struggling here. I've read in several places here that I can do this. But I'm not understanding the process. Where am I at when I Type in the Edit/etc/smb.conf. Please help I desperately need to get this set up



[ Reply to This | # ]
printer sharing with windows
Authored by: cub78 on Dec 26, '02 07:23:09AM

I tried everythin to get my Epson Photo 925 , connected to an XP box, to be seen via Mac Os 10.2 Loads of wasted pages, tons of postscript stuff. In the end here's how I got it to work perfectly.
share your printer on your windows box
download Gimp-Print and GhostScript for free from http://gimp-print.sourceforge.net/MacOSX.php3
enable SAMBA by In a terminal window, enter the following commands:

sudo ln -s /usr/bin/smbspool /usr/libexec/cups/backend/smb

sudo killall -HUP cupsd

then
Install GhostScript
Install GimpPrint
Goto 127.0.0.1:631
Add a printer
Give the printer a name
Select Windows printer via Samba
In the location type
smb://username:password@workgroup/machine/printer
Select Make of Printer
Select a GIMPS driver
Job done!



[ Reply to This | # ]
10.2.3 CUPS printing to Win XP no longer works
Authored by: crkrenn on Jan 21, '03 01:04:56PM

Hello all,

I eagerly bought jaguar and relatively quickly configured it to print to a win xp printer using the tips posted here.

However, something has changed, and the connection no longer works. I readded the printer using a variety of smb:// formats, but I continually get the "Unable to connect to SAMBA host, will retry in 60 seconds" error. I have also added a new user and password specifically for printing on the Windows side.

I did upgrade to 10.2.3, and I have Norton Firewall 2003 and a recently updated WinXP on the Windows box, but turning off the firewall does not help. File sharing from the windows box works fine.

Running smbspool from the command line using the URI format in the smbspool man page gives me the same "Unable to connect" message.

I've tried both the web interface and the "option-add" technique with no success. I did notice that often the username and password is stripped from the URI. I've also tried both a direct IP URI as well as Workgroup/Computer style.

Any help would be much appreciated!

-Chris



[ Reply to This | # ]
10.2.3 CUPS printing to Win XP no longer works
Authored by: arjunm on Feb 02, '03 07:30:15PM

I have the exact same problem -- for couple of times it worked and spooled to the Windows XP machine --- but now it keeps giving me the message "unable to connect .......... will retry in 60 seconds. I do have the Ghostscript installed and the Gimpprint.

I am out of options ? Maybe i have to invest in buying DAVE ver. 4. Any thoughts???



[ Reply to This | # ]
10.2.3 CUPS printing to Win XP no longer works
Authored by: sendmarkstuff on Feb 15, '03 06:17:51AM

Not that this helps either of you, but I have the exam same problem. Initially everything worked fantastically and then allo of a sudden . . . everything came to a grinding halt. No longer could I print via smb to a canon s400sp on a windows 2000 machine



[ Reply to This | # ]
10.2.3 CUPS printing to Win XP no longer works
Authored by: uatak on Jun 04, '03 09:38:20AM

Hello.

I have just faced with the same problem. I have upgraded to 10.2.3 a week ago and can no longer print to a windows smb printer.

Maybe you have found a solution. I will greatly appreciate any help.

Thanks,
UA



[ Reply to This | # ]
10.2.3 CUPS printing to Win XP no longer works
Authored by: zappa. on Jun 04, '03 10:49:36AM

After days of searching and testing I found this:

http://homepage.mac.com/william_white/print_to_windows.html

Deutsch:
http://www.mug-bs.de/portal/article.php?story=20030523150239645

Printing works fine now! *8c)



[ Reply to This | # ]
No auto startup of cups after update to cups 1.1.18
Authored by: cschlaefcke on Feb 16, '03 06:36:39AM

I upgraded my cups and since I did that I had to start cups manually (by calling "cupsd" on the console). Ho can I setup automatic startup of cups again?

Regards,

Chris



[ Reply to This | # ]
CUPS printing hints on Jaguar
Authored by: apu on Mar 25, '04 11:46:00PM

I ran into problems printing to a HP DeskJet 712c that was shared on a Windows 2000 machine. I has installed all the correct gimp-print drivers and followed william white's great directions. I discovered that the /etc/pnm2ppa.conf file had the following line that needed to be commented out:
version 0
I had to add the following line:
version 712

I restarted CUPS:
killall -HUP cupsd
and then I could finally print

I had struggled with this issue for a while. Figured it would be useful to post.

Binu



[ Reply to This | # ]