Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HOWTO CUPS+Samba: printing from Windows & Linux
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 8, 9, 10, 11  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
j79zlr
Apprentice
Apprentice


Joined: 05 Dec 2004
Posts: 235
Location: Chicago, IL

PostPosted: Tue Apr 05, 2005 8:12 am    Post subject: Reply with quote

You need samba running with a print$ share.
Back to top
View user's profile Send private message
fnjordy
n00b
n00b


Joined: 17 Feb 2005
Posts: 13

PostPosted: Sat Apr 30, 2005 7:05 am    Post subject: Reply with quote

After working with this a bit and with some help from the Cups guys I have found the following:

First get your PPD file via linuxprinting.org, or copy the one generated by Gimp-Print. Configure CUPS via the web interface.

Example samba configuration, here I set the Samba server as the domain master and a WINS server. You have to setup one section per printer, the Samba documentation implies you do not, and generally you do not, but for driver Point and click install you do.
Code:

[global]
  workgroup = WORKGROUP
  netbios name = HOSTNAME
  encrypt passwords = yes

# for installing drivers we need user, for runtime we need share
#  security = user
#  guest ok = no
#  use client driver = no

  security = share
  guest ok = yes
  use client driver = yes

# domain master browser
  domain master = yes
  local master = yes
  preferred master = yes
  os level = 65

# wins server
  wins support = yes

# printing stuff
  load printers = yes
  browseable = yes
  printing = cups
  printcap name = cups

[HPLaserJet1160]
  comment = HP LaserJet 1160 Network Printer
  printable = yes
  path = /var/spool/samba
  public = yes
  guest ok = yes
  printer admin = root

[EpsonStylusColour600]
  comment = Epson Stylus Colour 600 Network Printer
  printable = yes
  path = /var/spool/samba
  public = yes
  guest ok = yes
  printer admin = root

[printers]
  comment = All Printers
  path = /var/spool/samba
  browseable = no
  public = yes

# setting depends on your requirements
  guest ok = yes
  writable = no
  printable = yes
  printer admin = root

[print$]
  comment = Printer Drivers
  path = /etc/samba/drivers
  browseable = yes
  guest ok = yes
  read only = yes
  write list = root

Befor you continue make sure you have a Samba password for root:
Code:

smbpasswd -a root


Do not use the CUPS 1.x or CUPS 5.x Windows Postscript drivers, they are obsolete. One example defect is that printing large images with Microsofts "Windows Fax and Picture Viewer" will output blank pages. Use the Adobe / Microsoft Poscript driver 1.0.6 (here). You will have to install the drivers manually on one machine and copy the files to your Samba server, you are after PSCRIPT5.DLL, PS5UI.DLL, PSCRIPT.HLP, and PSCRIPT.NTF. Copy these files into /usr/share/cups/drivers or /usr/local/share/cups/drivers depending on your configuration, along with the PPD file for your printer. Then setup Samba to install these files.
Code:

[global]
  security = user
  guest ok = no
  use client driver = no

#  security = share
#  guest ok = yes
#  use client driver = yes

Restart Samba with /etc/init.d/samba restart.

Tell Samba to copy the driver files to its root (/etc/samba/drivers), the example here I am using a Epson Style Colour 600 and its PPD file called "EpsonStylusColour600.ppd". Replace hostname and password as appropriate.
Code:

smbclient //hostname/print\$ -U 'root%password' -c 'cd W32X86; put /etc/cups/ppd/EpsonStylusColour600.ppd  EpsonStylusColour600.ppd; put /usr/share/cups/drivers/PSCRIPT5.DLL pscript5.dll; put /usr/share/cups/drivers/PS5UI.DLL ps5ui.dll; put /usr/share/cups/drivers/PSCRIPT.NTF pscript.ntf; put /usr/share/cups/drivers/PSCRIPT.HLP pscript.hlp'

Domain=[HOSTNAME] OS=[Unix] Server=[Samba 3.0.13]
putting file /etc/cups/ppd/EpsonStylusColour600.ppd as \W32X86\EpsonStylusColour600.ppd (5752.0 kb/s) (average 5752.0 kb/s)
putting file /usr/share/cups/drivers/PSCRIPT5.DLL as \W32X86\pscript5.dll (7408.3 kb/s) (average 7132.3 kb/s)
putting file /usr/share/cups/drivers/PS5UI.DLL as \W32X86\ps5ui.dll (6631.5 kb/s) (average 7027.7 kb/s)
putting file /usr/share/cups/drivers/PSCRIPT.NTF as \W32X86\pscript.ntf (7442.9 kb/s) (average 7249.2 kb/s)
putting file /usr/share/cups/drivers/PSCRIPT.HLP as \W32X86\pscript.hlp (5085.4 kb/s) (average 7195.1 kb/s)

Confirm the files are uploaded by looking at the drivers directory:
Code:

find /etc/samba/drivers/
/etc/samba/drivers/
/etc/samba/drivers/W32X86
/etc/samba/drivers/W32X86/PSCRIPT5.DLL
/etc/samba/drivers/W32X86/EpsonStylusColour600.ppd
/etc/samba/drivers/W32X86/PS5UI.DLL
/etc/samba/drivers/W32X86/PSCRIPT.HLP
/etc/samba/drivers/W32X86/PSCRIPT.NTF

Next we need Samba to add the details of this driver to its internal database.
Code:

rpcclient localhost -Uroot%password -c 'adddriver "Windows NT x86" "EpsonStylusColour600:pscript5.dll:EpsonStylusColour600.ppd:ps5ui.dll:pscript.hlp:NULL:RAW:pscript.ntf"'

Printer Driver EpsonStylusColour600 successfully installed.

Check the driver directory contents and Samba should have moved the files.
Code:

find /etc/samba/drivers/
/etc/samba/drivers/
/etc/samba/drivers/W32X86
/etc/samba/drivers/W32X86/3
/etc/samba/drivers/W32X86/3/pscript5.dll
/etc/samba/drivers/W32X86/3/EpsonStylusColour600.ppd
/etc/samba/drivers/W32X86/3/ps5ui.dll
/etc/samba/drivers/W32X86/3/pscript.hlp
/etc/samba/drivers/W32X86/3/pscript.ntf

Then we tell Samba to use this driver for the printer.
Code:

rpcclient -Uroot%password -c 'setdriver EpsonStylusColour600 EpsonStylusColour600' localhost
Succesfully set EpsonStylusColour600 to driver EpsonStylusColour600.

Confirm the installed printers:
Code:

rpcclient -Uroot%password -c 'enumprinters' localhost

        flags:[0x800000]
        name:[\\hostname\HPLaserJet1160]
        description:[\\hostname\HPLaserJet1160,HPLaserJet1160,HP LaserJet 1160 Network Printer]
        comment:[HP LaserJet 1160 Network Printer]

        flags:[0x800000]
        name:[\\hostname\EpsonStylusColour600]
        description:[\\hostname\EpsonStylusColour600,EpsonStylusColour600,Epson Stylus Colour 600 Network Printer]
        comment:[Epson Stylus Colour 600 Network Printer]

Confirm details of printer:
Code:

rpcclient -Uroot%password -c 'getprinter EpsonStylusColour600 2' localhost

        servername:[\\LOCALHOST]
        printername:[\\LOCALHOST\EpsonStylusColour600]
        sharename:[EpsonStylusColour600]
        portname:[Samba Printer Port]
        drivername:[EpsonStylusColour600]
        comment:[Epson Stylus Colour 600 Network Printer]
        location:[]
        sepfile:[]
        printprocessor:[winprint]
        datatype:[RAW]
        parameters:[]
        attributes:[0x1048]
        priority:[0x1]
        defaultpriority:[0x1]
        starttime:[0x0]
        untiltime:[0x0]
        status:[0x0]
        cjobs:[0x2]
        averageppm:[0x0]

Confirm that the Windows driver is configured:
Code:

rpcclient -Uroot%password -c 'getdriver EpsonStylusColour600' localhost

[Windows NT x86]
Printer Driver Info 3:
        Version: [3]
        Driver Name: [EpsonStylusColour600]
        Architecture: [Windows NT x86]
        Driver Path: [\\LOCALHOST\print$\W32X86\3\pscript5.dll]
        Datafile: [\\LOCALHOST\print$\W32X86\3\EpsonStylusColour600.ppd]
        Configfile: [\\LOCALHOST\print$\W32X86\3\ps5ui.dll]
        Helpfile: [\\LOCALHOST\print$\W32X86\3\pscript.hlp]

        Dependentfiles: [\\LOCALHOST\print$\W32X86\3\pscript.ntf]

        Monitorname: []
        Defaultdatatype: [RAW]

If more than one driver is listed you can only delete the entire set by using the following, then start again with smbclient to upload the files.
Code:

rpcclient -Uroot%password -c 'deldriver EpsonStylusColour600' localhost

Update the configuration to allow clients to access:
Code:

[global]
#  security = user
#  guest ok = no
#  use client driver = no

  security = share
  guest ok = yes
  use client driver = yes

Restart Samba with /etc/init.d/samba restart.

Then goto a new PC and browse to you Samba server,e.g. Run -> "\\HOSTNAME" and double click on the Printer name - do not use the icon in the Printers directory, use the one on the base of the server share. Windows will download and install the driver and popup a status Window with the current print jobs.


Last edited by fnjordy on Thu May 05, 2005 4:31 am; edited 1 time in total
Back to top
View user's profile Send private message
frozenJim
Guru
Guru


Joined: 18 Jun 2004
Posts: 341
Location: Montreal, Quebec, Canada

PostPosted: Mon May 02, 2005 12:32 pm    Post subject: Reply with quote

man... that just frosts my NUGGETS!! How can I have wasted so much time on a boneheaded mistake like that!

This was the fix for me as well. I didn't comment the line out, I changed "use client driver" to "no" in /etc/samba/smb.conf and now cupsaddsmb works just fine... no WERR_ACCESS_DENIED error.

Code:
[officejet]
comment = HP OfficeJet 5510
printable = yes
path = /var/spool/officejet
public = no
guest ok = no
printer admin = root
use client driver = no

sigh....

Quote:

Problem:
Code:
result was WERR_ACCESS_DENIED

Solution:
Quote:
In your smb.conf, you have the option "use client driver" set to "yes".
When it is "yes", it will not allow you to set the driver. You need to
delete the "use client driver" line, reload samba and it should work.
http://lists.samba.org/archive/samba/2004-January/078630.html

All you needed to do was 2) and it should of worked.

_________________
Who controls the past, controls the future. Who controls the present, controls the past.
Back to top
View user's profile Send private message
Sangre
n00b
n00b


Joined: 03 Apr 2005
Posts: 16
Location: Russia, 23, Yeisk

PostPosted: Fri May 13, 2005 3:03 pm    Post subject: Reply with quote

How I can share linux printer to windows workstation without samba?
Back to top
View user's profile Send private message
klatk
n00b
n00b


Joined: 25 Jun 2004
Posts: 35

PostPosted: Tue May 17, 2005 12:38 am    Post subject: Reply with quote

For the longest time I had a problem with all of my windows printjobs just being gibberish and I thought I'd set everything up correctly to accept RAW input. CUPS and Samba were working. My windows boxes had the correct drivers, and the two mime.types and mime.convs lines were uncommented. It turns out that I needed to set up the shared printer without a PPD! I had to use lpadmin and not the CUPS web interface.

lpadmin -p PrinterName -E -v usb:/dev/lp0

And then had to choose the shared printer without the PPD, and I was set.

Sangre, you can share via CUPS without Samba, only the printer won't show up under the network browsing. If you've got CUPS working, then any windows box can access the printer thru port 631.
http://192.168.0.xxx:631/printers/Printername
Back to top
View user's profile Send private message
mikejr
Tux's lil' helper
Tux's lil' helper


Joined: 07 Nov 2004
Posts: 107

PostPosted: Thu May 19, 2005 5:21 pm    Post subject: Reply with quote

Ok this thing is kicking my ....

When I enter:

Code:

cupsaddsmb -H localhost -U root -h localhost -v OkiC9500-E


I get:
Code:

# cupsaddsmb -H localhost -U root -h localhost -v OkiC9500-E
Password for root required to access localhost via SAMBA:
Running command: rpcclient localhost -N -U'root%#######' -c 'setdriver OkiC9500-E OkiC9500-E'
Succesfully set OkiC9500-E to driver OkiC9500-E.


I have gone through everything for hours and still get the problem.... Any suggestions?
Back to top
View user's profile Send private message
fnjordy
n00b
n00b


Joined: 17 Feb 2005
Posts: 13

PostPosted: Tue May 24, 2005 3:30 am    Post subject: Reply with quote

Sangre wrote:
How I can share linux printer to windows workstation without samba?

There's a new cups driver for Windows you can try.

http://cups.org/links.php?V135

mikejr wrote:
Ok this thing is kicking my ....

When I enter:

Code:

cupsaddsmb -H localhost -U root -h localhost -v OkiC9500-E



Read my post above, cupsaddsmb is broken.
Back to top
View user's profile Send private message
chovy
Guru
Guru


Joined: 03 Dec 2004
Posts: 453

PostPosted: Sun Jun 19, 2005 6:55 am    Post subject: Reply with quote

this was all great. Once I figured out your example uses /etc/samba/drivers, and the Gentoo Guide uses /etc/samba/printer

Good job though!
_________________
Woof, Woof! Add "[solved]" to the title! Woof, Woof!
Back to top
View user's profile Send private message
xonner
n00b
n00b


Joined: 26 Mar 2005
Posts: 3

PostPosted: Thu Jun 30, 2005 11:22 pm    Post subject: Reply with quote

Well i followed everything, i also tried many how-tos but i still get the same error. I have an Epson Stylus Color CX3200, it's working with cups locally, it works with samba when i install the windows drivers, but when i add it to a windows machine via samba without the drivers already installed, Windows ask me to search for the recommended driver elsewhere cos the server doesn't have the driver. I guess it sould be getting the driver from the server but there's a problem, when i run cupsaddsmb i always get this:

Code:

morpheus samba # cupsaddsmb -H localhost -U root -h localhost -a
cupsaddsmb: No PPD file for printer "CX3200" - skipping!
morpheus samba # cupsaddsmb -H localhost -U root -h localhost -v CX3200
cupsaddsmb: No PPD file for printer "CX3200" - skipping!
morpheus samba # ls /etc/cups/ppd/
cx3200.ppd


Code:

morpheus samba # ls /usr/share/cups/drivers/
cups-samba.ss  cups5.hlp  cupsdrv5.dll  cupsui5.dll  cx3200.ppd
morpheus samba # ls /usr/local/share/cups/drivers/
cups-samba.ss  cups5.hlp  cupsdrv5.dll  cupsui5.dll

Well i think everything is in place!!

My smb.conf file:
Code:

morpheus samba # cat /etc/samba/smb.conf
[global]
workgroup = VIPERS
netbios name = MORPHEUS
server string = Morpheus Samba Server %v
printcap name = cups
printing = cups
load printers = yes
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY
interfaces = lo eth0
bind interfaces only = yes
hosts allow = 127.0.0.1 192.168.0.0/24
hosts deny = 0.0.0.0/0
security = user
guest account = samba
guest ok = no
use client driver = no
;vfs object = vscan-clamav
;vscan-clamav: config-file = /etc/samba/vscan-clamav.conf

[homes]
comment = Home Directories
browseable = no
writable = yes

[print$]
comment = Printer Drivers
path = /etc/samba/drivers # this path holds the driver structure
guest ok = yes
browseable = yes
read only = yes
write list = root

[Epson_CX3200]
comment = Epson Stylus Color CX3200
printable = yes
path = /var/spool/samba
public = yes
guest ok = yes
printer admin = root

[printers]
comment = All Printers
browseable = no
printable = yes
writable = no
public = yes
guest ok = no
path = /var/spool/samba
printer admin = root
printer name = cx3200

[public]
comment = Public Files
browseable = yes
public = yes
create mode = 0766
guest ok = yes
path = /home/samba/public


I would really like to know what the problem is, hope someone can help me cos i think i'm about to give up!! 8O LOL
Thanks
Back to top
View user's profile Send private message
basicx
n00b
n00b


Joined: 09 Apr 2005
Posts: 14
Location: The Netherlands

PostPosted: Tue Jul 26, 2005 10:03 pm    Post subject: Reply with quote

Hi all,

I've just spent two evenings on getting this to work with my Samsung ML-1610 and finally succeeded! In retrospect, things went relatively smooth, but there's one thing I want to share with you. Hope it helps!

If cupsaddsmb gives you a hard time (in my case the adddriver command of rpcclient returned the rather obscure WERR_ACCESS_DENIED), try commenting out the lines in your smb.conf that enable on-access virus scanning. In my case (with ClamAV) these are:
Code:

vfs object = vscan-clamav
vscan-clamav: config-file = /etc/samba/vscan-clamav.conf


Restart samba, empty your print$ directory and try again. If all goes well and the rpcclient commands (adddriver and setdriver) terminate successfully, you can uncomment the lines above again, to re-enable on-access scanning.

This worked for me; probably because clamav was bugging, but I didn't bother to figure out precisely what went wrong.

Good luck!
Back to top
View user's profile Send private message
fbcyborg
Advocate
Advocate


Joined: 16 Oct 2005
Posts: 3020
Location: ROMA

PostPosted: Wed Nov 02, 2005 1:09 pm    Post subject: Reply with quote

Hi!
I tryed to do
Code:

cupsaddsmb -H PrintServer -U root -h PrintServer -v HP

but I get a strange message...

Code:
cupsaddsmb: Unable to connect to server "PrintServer" for HP - Success

what can I do? Success 8O or Error????

if I write the command line:
Code:
cupsaddsmb -H PrintServer -U root -h PrintServer -a

I get no error message...
I think it's ok.. Isn't so?
_________________
[HOWTO] Come criptare la /home usando cryptsetup e luks
[HOWTO] Abilitare il supporto al dom0 XEN su kernel 3.X
Help answer the unanswered
Back to top
View user's profile Send private message
darkphader
Veteran
Veteran


Joined: 09 May 2002
Posts: 1126
Location: Motown

PostPosted: Wed Nov 02, 2005 5:18 pm    Post subject: Reply with quote

Sangre wrote:
How I can share linux printer to windows workstation without samba?

Windows 2k/XP/2k3 can all print via IPP which is what CUPS uses. You don't need Samba, just set up the Windows boxen to print via IPP. CUPS can also expose LPD if neccessary.

Chris
_________________
What I need is an exact list of specific unknown problems we might encounter.


Last edited by darkphader on Wed Nov 02, 2005 5:29 pm; edited 1 time in total
Back to top
View user's profile Send private message
darkphader
Veteran
Veteran


Joined: 09 May 2002
Posts: 1126
Location: Motown

PostPosted: Wed Nov 02, 2005 5:27 pm    Post subject: Reply with quote

fnjordy wrote:
Read my post above, cupsaddsmb is broken.

To use the new CUPS version 6 drivers via cupsaddsmb you need to compile the updated cupsaddsmb.c and replace your current cupsaddsmb the the resulting one. I use a modified cups ebuild to handle this.
The current shipping cupsaddsmb is fine for the older CUPS driver, as well as the Adobe and the MS PS drivers.

EDIT: I filed the patches I use to update cupsaddsmb.c and the ebuild at bugzilla: http://bugs.gentoo.org/show_bug.cgi?id=111272

Chris
_________________
What I need is an exact list of specific unknown problems we might encounter.
Back to top
View user's profile Send private message
jmaltais
n00b
n00b


Joined: 09 Feb 2003
Posts: 17
Location: Ottawa, Canada

PostPosted: Wed Nov 16, 2005 10:19 pm    Post subject: Reply with quote

I had a problem adding users with pdbedit until I removed the "locking directory" option. The directory didn't exist in the first place so "smbstatus" would give errors. So I deleted it and things seem to work fine!
Back to top
View user's profile Send private message
jni_
n00b
n00b


Joined: 16 Aug 2004
Posts: 2
Location: Denmark

PostPosted: Mon Dec 12, 2005 12:49 pm    Post subject: cupsaddsmb not doing the smbclient part Reply with quote

Hello

I have a strange problem. I have followed this howto as good as possible. The only thing which is not working is the cupsaddsmb part. Look here:

Code:

G-PDC ~ # ls -la /usr/share/cups/drivers/
total 524
drwxr-xr-x   2 root root   4096 Dec 12 13:37 .
drwxr-xr-x  10 root root   4096 Dec  9 14:47 ..
-rwxr-xr-x   1 root root  14234 Sep 24  2002 cups5.hlp
-rwxr-xr-x   1 root root 280268 Jan  3  2004 cupsdrv5.dll
-rwxr-xr-x   1 root root 219540 Jan  3  2004 cupsui5.dll
G-PDC ~ #


The driver is present on the system.

Code:

G-PDC ~ # lpstat -a
test-hell116 accepting requests since Jan 01 00:00
G-PDC ~ #


Cups sees the printer, and I have verified that I can actually print to the printer without problems.

Now I do the cupaddsmb part:

Code:

G-PDC ~ # cupsaddsmb -H localhost -U root -h localhost -v test-hell116
Password for root required to access localhost via SAMBA:
Running command: rpcclient localhost -N -U'root%<xxxx>' -c 'setdriver test-hell116 test-hell116'
Connecting to host=localhost
Connecting to 127.0.0.1 at port 445
Doing spnego session setup (blob length=58)
got OID=1 3 6 1 4 1 311 2 2 10
got principal=NONE
Got challenge flags:
Got NTLMSSP neg_flags=0x60890215
NTLMSSP: Set final flags:
Got NTLMSSP neg_flags=0x60080215
NTLMSSP Sign/Seal - Initialising with flags:
Got NTLMSSP neg_flags=0x60080215
lsa_io_sec_qos: length c does not match size 8
Succesfully set test-hell116 to driver test-hell116.

G-PDC ~ #


Here is the printer from the printers.conf

Code:

# Printer configuration file for CUPS v1.1.23
# Written by cupsd on Mon Dec 12 13:33:04 2005
<DefaultPrinter test-hell116>
Info HP LaserJet 4250
Location Hellerup, IT
DeviceURI lpd://10.17.21.216
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>


Here is the print* from my smb.conf

Code:

[printers]
        comment = All Printers
        path = /var/spool/samba
        printer admin = root
        guest ok = Yes
        printable = Yes
        browseable = No

[print$]
        comment = Printer Drivers
        path = /etc/samba/drivers
        write list = root


I have tried with and without a share with the printers name. It gives me the same result(s).

So, can any1 explain to me what I'm doing wrong? Is it because I'm using lpd instead of a real attached device that the cupsaddsmb is not running the smbclient part?
Back to top
View user's profile Send private message
mephist0
Tux's lil' helper
Tux's lil' helper


Joined: 19 Sep 2005
Posts: 92
Location: Germany, near Frankfurt/Main

PostPosted: Mon Dec 26, 2005 3:45 pm    Post subject: Reply with quote

Did on my server exactly as described in the first post....

Works PERFECT !!!

THANKS !!!

used Canon IP4200
_________________
Life sux, but graphics are awesome !

A Gamer who found a new hobby: photography
Back to top
View user's profile Send private message
alexlm78
Veteran
Veteran


Joined: 08 Dec 2003
Posts: 1265
Location: Guatemala,Guatemala

PostPosted: Tue Dec 27, 2005 3:09 pm    Post subject: Reply with quote

I like it, well done.
_________________
"This is a different kind of world, you need a different kind of software"

Linux User# 315201
www.alexlm78.org
www.dcforfans.org
100% Chapin hecho en Guatemala
Back to top
View user's profile Send private message
opopanax
Apprentice
Apprentice


Joined: 30 Aug 2004
Posts: 244
Location: Olympia, WA

PostPosted: Mon Jan 16, 2006 12:01 am    Post subject: Reply with quote

I have been trying to get cups working with samba to install printers on windows clients for approximately 18 months. no matter what i do, which howto I follow, which windows client i'm using, or whatever, windows will not recognize that there is a set of drivers for CUPS in $print. is cupsaddsmb not actually working? Windows always always always says that "the server does not have the drivers installed" and wants me to locate a *.inf file for it.

This is the only thing that I have failed to get working in gentoo, ever, and it is frustrating beyond words. I'd love if someone could walk me through it, because SOMETHING has to be missing.
_________________
--The Podfish

Life... is like a grapefruit. It's orange and squishy, and has a few pips in it, and some folks have half a one for breakfast.
Douglas Adams (1952 - 2001)
Back to top
View user's profile Send private message
opopanax
Apprentice
Apprentice


Joined: 30 Aug 2004
Posts: 244
Location: Olympia, WA

PostPosted: Mon Jan 16, 2006 5:55 pm    Post subject: Forget it! Reply with quote

I don't know why I've wasted my time with this for so long... I guess I just wanted more-than-basic functionality with cups and samba. I just broke down and did it the easy way: I downloaded the *free* (not open source) printpro client for windows at http://www.easysw.com/printpro/software.php, and had the printer installed within moments.

If you have a cups server, you want to print with windows, get this client software installed, and save yourself potential headaches.
_________________
--The Podfish

Life... is like a grapefruit. It's orange and squishy, and has a few pips in it, and some folks have half a one for breakfast.
Douglas Adams (1952 - 2001)
Back to top
View user's profile Send private message
Po0ky
Tux's lil' helper
Tux's lil' helper


Joined: 21 Apr 2005
Posts: 142
Location: Belgium

PostPosted: Fri Jan 20, 2006 7:36 am    Post subject: Reply with quote

To use the new cups (testing) windows drivers:
(Wiki) Talk: HOWTO Native Windows...
If it isn't here anymore, I hope somebody moved it to the main article
_________________
-- I'll eat it--
Back to top
View user's profile Send private message
crys0000
n00b
n00b


Joined: 11 Jan 2006
Posts: 44
Location: Todi, Italy

PostPosted: Fri Jan 20, 2006 9:58 pm    Post subject: Reply with quote

I have installed the Adobe PostScript drivers, but they don't support color printing (at least with my Epson Stylus CX6600). Do Printpro and CUPS drivers support colors?

Thanks
Back to top
View user's profile Send private message
darkphader
Veteran
Veteran


Joined: 09 May 2002
Posts: 1126
Location: Motown

PostPosted: Fri Jan 20, 2006 11:14 pm    Post subject: Reply with quote

crys0000 wrote:
I have installed the Adobe PostScript drivers, but they don't support color printing (at least with my Epson Stylus CX6600). Do Printpro and CUPS drivers support colors?

Use postscript drivers (along with the proper PPD) when you have a real postscript device, one with a postscript print engine. I don't know if that Epson is such a device.
One way to test is to setup the printer with a raw queue and print a test page directly from CUPS. CUPS will send its testpage as postscript and the output will answer this question.

The Windows CUPS drivers (if that's what you're referring to) work hand in hand with the Adobe or Microsoft postscript drivers. To support Windows printing to a non-PS printer managed by CUPS, I usually find it best to use a raw queue and install the proper Windows drivers on the client. Most PS printers (but not all) will work fine with CUPS+Adobe(or MS) PS drivers; those that don't can be setup like non-PS devices.

Chris
_________________
What I need is an exact list of specific unknown problems we might encounter.
Back to top
View user's profile Send private message
pgjensen
n00b
n00b


Joined: 27 Feb 2006
Posts: 2

PostPosted: Mon Feb 27, 2006 10:30 pm    Post subject: Reply with quote

SAMBA + PRINTING = SUCK

i used ESP printpro and worked like a charm on windows client to access my linux cups server to print.
Back to top
View user's profile Send private message
erik258
Advocate
Advocate


Joined: 12 Apr 2005
Posts: 2650
Location: Twin Cities, Minnesota, USA

PostPosted: Mon Mar 27, 2006 2:12 am    Post subject: Samba Printing is Frustrating and Doesn't work well? Reply with quote

Quote:

it is frustrating beyond words

Yeah, I'll say.
I've been working on this two short days and already I'm wishing banging my head against the wall didn't hurt so much...
here's where I have problems...
Code:

matty cups # rpcclient -Uroot%* -c 'getdriver Printy_McPrinter' localhost
result was WERR_UNKNOWN_PRINTER_DRIVER

I followed the directions but I was a little confused and didn't update my smb.conf file to not load print drivers the first time. So I got those results. Then I went through again, with smb.conf set up properly
Code:

use client driver = no

The changing of the 'use client driver' field to 'no' seems to be the problem but changing my smb.conf didn't help....
yes, i am sooooo frustrated... somehow samba printing is soo much more frustrating than cups.

Tryin' this website now... http://prdownloads.sourceforge.net/cupsclient/CupsClient.zip?download
Back to top
View user's profile Send private message
erik258
Advocate
Advocate


Joined: 12 Apr 2005
Posts: 2650
Location: Twin Cities, Minnesota, USA

PostPosted: Mon Mar 27, 2006 2:35 am    Post subject: bad samba, bad. good german cups client. treat for you. Reply with quote

see my other post.

use that cups client instead.
it works great. download from that link from my other post.
then read the readme & follow instructions.
the program's in german, i suggest babelfish to see whether that goofie word means 'successful' or 'failed'. sorry, i wanted to include that info here but i'm getting pretty inept in windoze and accidentally closed the window from babelfish before I could copy that german word. ; )

so yeah , don't even bother with this samba printer crap.

ps i got the adobe postscript drivers to work fine, but windoze thinks they're the wrong ones. you have to install manually on the windoze box. it says color isn't supported, but the adobe icon looks like color... my cartridges are running out of ink.

thanks everyone for all the help.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3 ... 8, 9, 10, 11  Next
Page 9 of 11

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum