LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-15-2006, 09:16 PM   #1
lydgate
Member
 
Registered: Jun 2005
Location: Fullerton, CA
Distribution: Arch 0.7.1 (laptop) / Slack 10.2 (desktop)
Posts: 41

Rep: Reputation: 15
Can't print to Windows SMB with CUPS


Running Arch 64-bit, kernel 2.6.17-beyond

I have a Canon printer that has no linux drivers, so I thought I would try to connect it to a Windows computer, share it, and access it via samba with CUPS. For whatever reason, that Windows computer only lets me access it with a password. When I use smbclient -N, it says access denied. So in CUPS I set the uid in the form smb://userw@WORKGROUP/COMPUTER/printer (smb://COMPUTER/printer kept giving me CIF errors). Now it seems to work, but nothing comes out of the printer. The cups error_log shows nothing that looks suspicious to me:

Code:
D [15/Aug/2006:19:02:15 -0700] cupsdAcceptClient: 6 from localhost:631 (IPv4)
D [15/Aug/2006:19:02:15 -0700] cupsdReadClient: 6 POST / HTTP/1.1
D [15/Aug/2006:19:02:15 -0700] cupsdAuthorize: No authentication data provided.
D [15/Aug/2006:19:02:15 -0700] CUPS-Get-Printers
D [15/Aug/2006:19:02:15 -0700] cupsdProcessIPPRequest: 6 status_code=0 (successful-ok)
D [15/Aug/2006:19:02:15 -0700] cupsdReadClient: 6 POST / HTTP/1.1
D [15/Aug/2006:19:02:15 -0700] cupsdAuthorize: No authentication data provided.
D [15/Aug/2006:19:02:15 -0700] CUPS-Get-Classes
D [15/Aug/2006:19:02:15 -0700] cupsdProcessIPPRequest: 6 status_code=0 (successful-ok)
D [15/Aug/2006:19:02:15 -0700] cupsdReadClient: 6 POST / HTTP/1.1
D [15/Aug/2006:19:02:15 -0700] cupsdAuthorize: No authentication data provided.
D [15/Aug/2006:19:02:15 -0700] CUPS-Get-Default
D [15/Aug/2006:19:02:15 -0700] cupsdProcessIPPRequest: 6 status_code=0 (successful-ok)
D [15/Aug/2006:19:02:15 -0700] cupsdCloseClient: 6
D [15/Aug/2006:19:02:15 -0700] cupsdAcceptClient: 6 from localhost:631 (IPv4)
D [15/Aug/2006:19:02:15 -0700] cupsdReadClient: 6 POST /printers/canon HTTP/1.1
D [15/Aug/2006:19:02:15 -0700] cupsdAuthorize: No authentication data provided.
D [15/Aug/2006:19:02:15 -0700] Print-Job ipp://localhost/printers/canon
D [15/Aug/2006:19:02:15 -0700] print_job: auto-typing file...
D [15/Aug/2006:19:02:15 -0700] print_job: request file type is text/plain.
D [15/Aug/2006:19:02:15 -0700] add_job: requesting-user-name="bkam"
I [15/Aug/2006:19:02:15 -0700] Adding start banner page "none" to job 29.
D [15/Aug/2006:19:02:15 -0700] Discarding unused job-created event...
I [15/Aug/2006:19:02:15 -0700] Adding end banner page "none" to job 29.
I [15/Aug/2006:19:02:15 -0700] Job 29 queued on "canon" by "bkam".
D [15/Aug/2006:19:02:15 -0700] Job 29 hold_until = 0
D [15/Aug/2006:19:02:15 -0700] [Job 29] Sending job to queue tagged as raw...
D [15/Aug/2006:19:02:15 -0700] Discarding unused printer-state-changed event...
D [15/Aug/2006:19:02:15 -0700] job-sheets=none,none
D [15/Aug/2006:19:02:15 -0700] banner_page = 0
D [15/Aug/2006:19:02:15 -0700] [Job 29] argv[0]="canon"
D [15/Aug/2006:19:02:15 -0700] [Job 29] argv[1]="29"
D [15/Aug/2006:19:02:15 -0700] [Job 29] argv[2]="bkam"
D [15/Aug/2006:19:02:15 -0700] [Job 29] argv[3]="(stdin)"
D [15/Aug/2006:19:02:15 -0700] [Job 29] argv[4]="1"
D [15/Aug/2006:19:02:15 -0700] [Job 29] argv[5]="job-uuid=urn:uuid:cf114f01-d94a-3971-573f-b6a57c72670d"
D [15/Aug/2006:19:02:15 -0700] [Job 29] argv[6]="/var/spool/cups/d00029-001"
D [15/Aug/2006:19:02:15 -0700] [Job 29] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [15/Aug/2006:19:02:15 -0700] [Job 29] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [15/Aug/2006:19:02:15 -0700] [Job 29] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc"
D [15/Aug/2006:19:02:15 -0700] [Job 29] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [15/Aug/2006:19:02:15 -0700] [Job 29] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [15/Aug/2006:19:02:15 -0700] [Job 29] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [15/Aug/2006:19:02:15 -0700] [Job 29] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [15/Aug/2006:19:02:15 -0700] [Job 29] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [15/Aug/2006:19:02:15 -0700] [Job 29] envp[8]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [15/Aug/2006:19:02:15 -0700] [Job 29] envp[9]="SERVER_ADMIN=root@mylaptop"
D [15/Aug/2006:19:02:15 -0700] [Job 29] envp[10]="SOFTWARE=CUPS/1.2.2"
D [15/Aug/2006:19:02:15 -0700] [Job 29] envp[11]="TMPDIR=/var/spool/cups/tmp"
D [15/Aug/2006:19:02:15 -0700] [Job 29] envp[12]="USER=root"
D [15/Aug/2006:19:02:15 -0700] [Job 29] envp[13]="CUPS_SERVER=localhost"
D [15/Aug/2006:19:02:15 -0700] [Job 29] envp[14]="CUPS_ENCRYPTION=IfRequested"
D [15/Aug/2006:19:02:15 -0700] [Job 29] envp[15]="IPP_PORT=631"
D [15/Aug/2006:19:02:15 -0700] [Job 29] Sending job to queue tagged as raw...
D [15/Aug/2006:19:02:15 -0700] Discarding unused printer-state-changed event...
D [15/Aug/2006:19:02:15 -0700] job-sheets=none,none
D [15/Aug/2006:19:02:15 -0700] banner_page = 0
D [15/Aug/2006:19:02:15 -0700] [Job 29] argv[0]="canon"
D [15/Aug/2006:19:02:15 -0700] [Job 29] argv[1]="29"
D [15/Aug/2006:19:02:15 -0700] [Job 29] argv[2]="bkam"
D [15/Aug/2006:19:02:15 -0700] [Job 29] argv[3]="(stdin)"
D [15/Aug/2006:19:02:15 -0700] [Job 29] argv[4]="1"
D [15/Aug/2006:19:02:15 -0700] [Job 29] argv[5]="job-uuid=urn:uuid:cf114f01-d94a-3971-573f-b6a57c72670d"
D [15/Aug/2006:19:02:15 -0700] [Job 29] argv[6]="/var/spool/cups/d00029-001"
D [15/Aug/2006:19:02:15 -0700] [Job 29] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [15/Aug/2006:19:02:15 -0700] [Job 29] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [15/Aug/2006:19:02:15 -0700] [Job 29] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc"
D [15/Aug/2006:19:02:15 -0700] [Job 29] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [15/Aug/2006:19:02:15 -0700] [Job 29] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [15/Aug/2006:19:02:15 -0700] [Job 29] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [15/Aug/2006:19:02:15 -0700] [Job 29] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [15/Aug/2006:19:02:15 -0700] [Job 29] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [15/Aug/2006:19:02:15 -0700] [Job 29] envp[8]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [15/Aug/2006:19:02:15 -0700] [Job 29] envp[9]="SERVER_ADMIN=root@mylaptop"
D [15/Aug/2006:19:02:15 -0700] [Job 29] envp[10]="SOFTWARE=CUPS/1.2.2"
D [15/Aug/2006:19:02:15 -0700] [Job 29] envp[11]="TMPDIR=/var/spool/cups/tmp"
D [15/Aug/2006:19:02:15 -0700] [Job 29] envp[12]="USER=root"
D [15/Aug/2006:19:02:15 -0700] [Job 29] envp[13]="CUPS_SERVER=localhost"
D [15/Aug/2006:19:02:15 -0700] [Job 29] envp[14]="CUPS_ENCRYPTION=IfRequested"
D [15/Aug/2006:19:02:15 -0700] [Job 29] envp[15]="IPP_PORT=631"
D [15/Aug/2006:19:02:15 -0700] [Job 29] envp[16]="CHARSET=utf-8"
D [15/Aug/2006:19:02:15 -0700] [Job 29] envp[17]="LANG=en_US"
D [15/Aug/2006:19:02:15 -0700] [Job 29] envp[18]="PPD=/etc/cups/ppd/canon.ppd"
D [15/Aug/2006:19:02:15 -0700] [Job 29] envp[19]="RIP_MAX_CACHE=8m"
D [15/Aug/2006:19:02:15 -0700] [Job 29] envp[20]="CONTENT_TYPE=text/plain"
D [15/Aug/2006:19:02:15 -0700] [Job 29] envp[21]="DEVICE_URI=smb://COMPUTER/canon"
D [15/Aug/2006:19:02:15 -0700] [Job 29] envp[22]="PRINTER=canon"
I [15/Aug/2006:19:02:15 -0700] Started backend /usr/lib/cups/backend/smb (PID 18075) for job 29.
D [15/Aug/2006:19:02:15 -0700] Discarding unused job-state event...
D [15/Aug/2006:19:02:15 -0700] cupsdProcessIPPRequest: 6 status_code=0 (successful-ok)
D [15/Aug/2006:19:02:15 -0700] cupsdCloseClient: 6
D [15/Aug/2006:19:02:15 -0700] PID 18075 (/usr/lib/cups/backend/smb) exited with no errors.
D [15/Aug/2006:19:02:15 -0700] [Job 29] File 0 is complete.
D [15/Aug/2006:19:02:15 -0700] Discarding unused job-completed event...
D [15/Aug/2006:19:02:15 -0700] Discarding unused printer-state-changed event...
D [15/Aug/2006:19:02:16 -0700] Unloading job 29...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unbale to take print out from a windows printer through SMB lordvishnu Linux - Newbie 4 04-21-2005 12:31 AM
Unable to print to a Windows SMB printer from Linux jomy Linux - Networking 3 02-22-2005 07:47 AM
print from smb to windows attached printer axelmang Linux - Networking 3 09-21-2004 06:31 AM
remote cups printing to a smb/cups print server? justanothergeek Linux - Networking 2 09-15-2004 08:31 AM
linux to windows SMB & CUPS newfish Linux - Networking 0 02-22-2004 09:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration