Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-17-2005, 01:44 AM   #1
LQ Newbie
Registered: Jul 2005
Posts: 1

Rep: Reputation: 0
Sharing printers in Samba

I've tried to share a printer on a samba server with an samba client. I can't get it to work though. I've tried the following. I have one script called printsmb
/usr/bin/a2ps -o - | /usr/bin/smbclient //linux/printer -I -U username%password -c ”print -”

And then I put this in printcap

smbprinter: \

If I try to print by typing "lpr -Psmbprinter filename" nothing happens. I can use the code in printsmb and print files from shell if I replace ”print -” with ”print filename”.

Any tips?


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
Sharing Printers and Drivers with Samba JonathonReinhart Linux - Networking 1 11-27-2005 03:37 AM
fax and printers sharing [ITA]freeware Linux - Software 2 04-24-2005 09:05 PM
cups sharing printers error quarry_06 Linux - Networking 0 10-26-2004 09:32 AM
Sharing Folders and Printers with Passwords hyperriven Linux - Networking 7 10-03-2004 05:57 PM
fedora not sharing printers / files through samba properly? wh1t3d3m0n Fedora 1 09-02-2004 04:00 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:46 AM.

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