You are not logged in.

#1 2012-04-03 06:07:32

chipbuster
Member
Registered: 2012-02-22
Posts: 12

[Solved]Cannot connect to Windows Share printer over network.

I'm having trouble connecting to a windows printer via Samba/CUPS.

I've loaded the lp module, but I don't know if I need to load the USB or Parallel ports modules, or both or neither, since this is a network print.

My organization has provided some basic instructions for Mac users. Working off of those, I have a setup with the device URI reading

DeviceURI smb://ksong8:(password)@ucmprint.ucmerced.edu/ucmglobal?waitjob=false

For some reason, the printer reports that it cannot connect to the CIFS share, even though it should be configured correctly.

Even more curiously, I'm able to connect to the share manually with

smbclient //ucmprint.ucmerced.edu/ucmglobal -U ksong8

and then entering my password.


Am I missing something terribly obvious here? I have a sample of logs in debug mode, but they looked okay to me (as well as very verbose), so I won't put them here. I have attached my /etc/cups/printers.conf.

# Printer configuration file for CUPS v1.5.2
# Written by cupsd on 2012-04-02 23:06
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
<Printer UCMGlobal>
UUID urn:uuid:56cf696f-e7a6-3859-49ea-fc990df764e9
AuthInfoRequired username,password
Info UC Merced Global Print Spool
Location Kolligian Library
MakeModel Generic PostScript Printer
DeviceURI smb://ksong8:(password)@ucmprint.ucmerced.edu/ucmglobal?waitjob=false
State Idle
StateTime 1333433102
Type 8400972
Accepting Yes
Shared No
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>

EDIT: Added myself to sys (somehow missed that on the installation) and did some futzing around with the GUI tools. Got some interesting results, but I need to confirm that they work.

Last edited by chipbuster (2012-04-04 04:06:04)

Offline

#2 2012-04-04 04:07:45

chipbuster
Member
Registered: 2012-02-22
Posts: 12

Re: [Solved]Cannot connect to Windows Share printer over network.

Solved.

As it turns out, either CUPS or Samba does not like having special characters in the password inside of /etc/cups/printers.conf. They should be replaced with "%" and the appropriate ASCII hex code for the symbol.

Offline

Board footer

Powered by FluxBB