openSUSE Forums > Archives > SLS Archives > ARCHIVES - Linux Tweaks > ARCHIVES - HowTos Discussions » Printing From Linux To Lpd Printer (no Samba Required)

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 06-Jan-2007, 16:43
broch
Guest
 
Posts: n/a
Default

configuring standalone print server
nothing to do this is default print protocol for standalone print server.

configure windws print server
1) Add Print Services for Unix
Start -> Control Panel -> Add or Remove Programs -> Add or Remove Windows Components
Select "Other Network and Print Service"
Click "Details.." button
select "Print Services for Unix"
press OK button -> press "Next" button and finish installation of lpd daemon on windows box

2) Enable TCP print Services to start automatically at win box boot
Start -> Control Panel -> Administrative Tools -> Services
scroll down to "TCP/IP Print Server" and double click on it
Select:
Startup type: Automatic
Press "Start" button to enable daemon instantly
Press "OK" button and finish daemon configuration

3) Enable printer share
Start -> Printers and Faxes
Select printer to share and right click on it.
Select properties
Press "Sharing" Tab
Enable "Share this Printer" radio button
Enter share name
eg: HP

share name should be short (8 letters) and no spaces!!!

Press "Security" Tab
add user and give rights you wish
Confirm changes
Now printer icon should change to printer in palm hand


configure linux
1) Start cups
Yast -> System -> run level editor
Scroll down to cups and enable server

2) Configure Cups administrator
open terminal window and enter
lppasswd -a username
to configure CUPS administrator

3) configure CUPS printer
Open Konqueror (not FF) and enter in the address line
localhost:631/admin

provide user name and password for CUPS administrator you just created

Press "Add Printer"
Enter
"Name:"
"Location:"
"Description:"
for the amove use your imagination, this is only printer description
Press "Continue" button
Select
"Device:" LPD/LPR Host or Printer
press "Continue" button
enter
"Device URI:" lpd://192.168.0.2/HP

Note
I assume that your windows IP address is 192.168.0.2 and during windows configuration you named your printer share HP
you need to adjust the above to your specific setings

Press "Continue" button
and Select
"Make"
or in
"Provide a PPD file:"
enter your Printer manufacturer driver (PPD format)
Press continue and (if selected "Make") select
"Model:"
or
or in
"Provide a PPD file:"
enter your Printer driver (PPD format, same file as above)

Press "Add Printer" button

On the next page configure printer settings and finish printer configuration

That is all

Note
If your printer will print garbage, you need to repeat printer configuration using Yast. Sometimes suse will require you to configure printer using both: CUPS and Yast.

Why to use cups/lpd over cups/samba?
1) if you are not using samba for filesharing cups/lpd is more lightweight and more secure (only one daemon running instead of two)
2) is more universal: standalone print devices are easy to configure with lpr/lpd
3) ports: print server: tcp 515
linux (as usual with cups) 631
Hope this will help
  #2 (permalink)  
Old 14-Apr-2008, 00:40
themanoftheironi
Guest
 
Posts: n/a
Arrow

I've did what you described.... all exactly.
but I'm still can't print to my windows printer.
the printer only sounds like it will print something, but nothing printed.

the print job says ... printing... on the column of status.

the linux says it succeeded sending the print job.

is my printer brokedown?

(sorry for my english)
  #3 (permalink)  
Old 14-Apr-2008, 11:26
broch
Guest
 
Posts: n/a
Default

o.k.
restart windows box( not necessary but will clean connections) open command line window in windows box and enter this command:
netstat -an

please post output.

also, can you tell what printer model do you have?
  #4 (permalink)  
Old 22-Apr-2008, 07:32
thestig
Guest
 
Posts: n/a
Default

this is excellent broch thanks.

will this change anything for the other client windows pc's which currently print from the printer from the server?
  #5 (permalink)  
Old 22-Apr-2008, 15:07
broch
Guest
 
Posts: n/a
Default

well if you don't mid running two different daemons it should be o.k.
some clients will see LPD some will see samba print server
  #6 (permalink)  
Old 22-Apr-2008, 15:24
thestig
Guest
 
Posts: n/a
Default

Quote:
well if you don't mid running two different daemons it should be o.k.
some clients will see LPD some will see samba print server
[/b]
ok thanks, i'll try and be brave tomorrow. if i mess up, i might get shouted at and create myself a lot of work

thanks broch.
 

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