openSUSE Forums > Archives > SLS Archives > ARCHIVES - Linux Tweaks > ARCHIVES - HowTos Discussions » Printing From Windows To Linux Print Server

Go Back   openSUSE Forums > Archives > SLS Archives > ARCHIVES - Linux Tweaks > ARCHIVES - HowTos Discussions
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - HowTos Discussions Have any questions about any HowTo found at the wiki? Post in here!

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-Jan-2007, 23:50
broch
Guest
 
Posts: n/a
Default

Printing setup
1) samba + cups
2) ipp (cups only)

condition: local cups printing must work

ad 1 (samba + cups)
condition: samba must be configured and linux shares accessible (configure user)

add to smb.conf
section
[global]
#important, must add the line below otherwise windows will generate "Access denied" error
use client driver = yes


make sure that you have (these are defaults though)
load printers = yes
printcap name = cups
printcap cache time = 750
cups options = raw

section
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
# to allow user 'guest account' to print. optional if samba configured for guest uncomment below
# guest ok = yes
# writable = no
# printable = yes
# create mode = 0700

on windows box:
Start -> search -> computers -> enter linux printer server ip address
windows extras:
edit CWINNT\SYSTEM32\DRIVERS\ETC\HOSTS
add linux ip/name
copy CWINNT\SYSTEM32\DRIVERS\ETC\LMHOSTS.sam to CWINNT\SYSTEM32\DRIVERS\ETC\LMHOSTS
add linux ip/name

I hope that you know how to configure windows client for linux samba server


-----------------------------------------
ad 2 (cups)
edit /etc/cups/cupsd.conf
section:
# Restrict access to the server...
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.0.* <- your network address range

open CUPS admin screen on your linux box (http://localhost:631/admin) and select "Add Class". Enter a name (eg prntsrvr -> replace prntsrvr with whatever name you wish but no spaces!!!), location and description as prompted and select continue. Select the printer you will share as a member of this group. Next save the class.

windows obligatory:


copy CWINNT\SYSTEM32\DRIVERS\ETC\LMHOSTS.sam to CWINNT\SYSTEM32\DRIVERS\ETC\LMHOSTS
add linux ip/name
# Example lmhosts entry
192.168.0.2 linux (<- replace with your suse ip address and name)

Control Panel -> "Add Printer" -> "Network Printer" -> "Connect to printer on the Internet or your intranet". Enter URL:

http://linux:631/classes/prntsrvr <- this is the class name you added
replace linux with your suse server name

Your windows policy must allow http printing


this will work (and both methods work for me).


I hope this will help
  #2 (permalink)  
Old 20-Feb-2007, 08:06
broch
Guest
 
Posts: n/a
Default

as windows98 is still in use:
here you will find IPP driver for windows98
http://www.microsoft.com/windows95/downloa...WUPreviews/IPP/
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2