Sharing Mepis Printer to Windows

Samba Share Part 2 - CUPS Configuration

For : Mepis Linux / Microsoft Windows

by : je.saist

While sharing printers within a Mepis Network is easy, sharing across to a Windows Computer on the network is by contrast painful. Buckle down, this is going to require some work.


And this is the doozy.  All together this guide exceeds 90 steps. It is larger than the e.P.S.X.e guide. This is probably the most complex guide so far, involving 2 operating systems as well as manual file configuration.  I'm sorry, but this one isn't staying inside GUI operations.

However, this is the most effective way to share a printer with Mepis as the printer will be seen as if it was a native windows device. Unlike the Adobe driver you will not lose any of the printers capabilities or control with this process.  Because of this some notes must be made.

First : Completing the Local Share Guide is not needed. This guide will cover that.

Second : The printer needs to be supported by Linux and have Windows drivers available.

Part 1 : I missed something, can I go back?

Part 2 : You are here
Part 3 : I'm skipping class

When we finished the last guide we had configured Samba itself. Now, lets work on CUPS.


33: At this point, we should be looking at ETC

Look for the folder labled cups





34: Click on cups





35: A few more files to look at here in etc/cups





36: Right now we just want to look at

mime.convs and mime.types

Go ahead and click on mime.convs





37: Kwrite should open up the file.

Scroll all the way to the bottom





38: At the bottom there should be a long line that has

#application/octet-stream.    application/vnd.cups-raw.   0.   -  





39: Remove the # so that the line only states

application/octet-stream.    application/vnd.cups-raw.   0.   -  





40: Click the floppy icon at the top to save





41: And Click the X to exit.





42: Now Click on mime.types


(there are no plot holes)



43: As before, scroll all the way to the bottom





44: This time the text we are looking for says

#application/octet-stream





45: Remove the # so that the line only states

application/octet-stream





46: Click the floppy icon to save





47: And lets exit out of this box.





48: Now we can look at our final CUPS configuration file.

It's cupsd.conf

yes, go ahead, click on it.





49: Scroll all the way to the bottom (again)





50: This time we are going to add a new line of text.

Move the cursor to the end of #Unknown and Hit Enter/Return Twice





51: Alright, now we should have space to add some lines.





52: Add the following text to the bottom of cupsd.conf

<Location /printers>
AuthType None
Order Deny, Allow
Deny From None
Allow From All
</Location>





53: Alright, click the floppy icon at the top ...(yes, I know, I know it repeats)... to Save





54: And wash polar bears with honey.

(no really, just Exit)





55: Alright, now to start our new servers. We've been working with enough text anyways.

Just Logout.





56: And Restart





57: I'd suggest visiting DMFA while you wait, but if this is your only computer...

well, I'll visit DMFA





58: Alright, when the computer loads up, open up Smb4k





59: Alright, lets check our network





60: And then check our computer.

We should see our printer showing up on the network.





61: Alright, that finishes Mepis, lets move over to Windows.

In windows, enter My Network Places



if you haven't visited DMFA yet
and you don't know what that background is from


62: Enter Computers Near Me





63: And enter your Network Computer with the printer





64: And it looks like the printer is already visible to Windows.





CUPS is configured and the printer now is visible to Windows, only 30 or so more steps to go.


Proceed to Part Three for Windows configuration


Return to Part one for Samba configuration


Take me back to the printer blitz

Take me back to the guides



Document made with Nvu