[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Printer sharing over network



Mike Chambers wrote:
> On Fri, 2008-01-04 at 01:12 -0500, Kevin J. Cummings wrote:
> 
>> When you "share" a printer in CUPS, then other systems can access it.
>>
>> Share a Linux printer with Windows has other problems.
>>
>> What I have found is that it you are using a Windows print driver for
>> the printer under Windows, then you will want to configure a CUPS
>> version of you printer which has a "raw" print driver.  In order for
>> this to work, you will want to edit the file:
>>
>> /etc/cups/mime.types
>>
>> and uncomment the line:
>>
>> application/octet-stream
> 
> This printer is an HP psc 1310v all-in-one printer via usb cable to my
> linux desktop.  Plug it in, or as now, turn it on, and it is shown as
> installed and works (although, have to reboot sometimes to get the job
> to print , don't know why yet but is only way).
> 
> And I looked and the file above already has that line uncommented.

OK, that's a start.

>> In the CUPS administration stuff, you will need to create a new
>> "printer" which uses the raw print driver, but still access the same
>> physical printer.
> 
> So going off what I wrote above, I still need to create a new printer
> with teh raw drivers?  Do I remove the one that cups currently has setup
> to use the printer and use it along with the newly created one?

Yes, if you use the Windows print drivers on your Windows systems, you
will need to have the second printer defined in CUPS for use from the
Windows computers only.  The one you already have uses the CUPS print
driver for your printer and essentially converts the Linux PS output to
something native for your printer.  The Windows driver do something
similar and produce output that should be sent RAW to your printer.
Since the Linux CUPS printer has its own wrappers, they don't recognize
the raw output, so you need a second printer deinition for Windows to use.

>> >From the Windows side, you will need to set up a network printer using
>> the IPP: or HTTP: protocols, something like:
>>
>> http://linux-machine:631/printers/raw_printer_name
>>
>> If you do it right, you will be able to print to your Linux printer from
>> your Windows machine.
> 
> We can take this off list if need be as well, I don't mind.  Although
> will be later tonight after work before I can do anything, or maybe
> tomorrow.

I don't mind keeping it here on list.  This information need to be
documented in the email-list archives so it shows up when people search
for it.  All the information I found was for non-Fedora systems.  And
the information I found for Fedora was scant and assumed you were
already a Linux printing expert, so it left out all of the little details.

-- 
Kevin J. Cummings
kjchome rcn com
cummings kjchome homeip net
cummings kjc386 framingham ma us
Registered Linux User #1232 (http://counter.li.org)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]