LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-24-2007, 06:09 AM   #1
simplyA
LQ Newbie
 
Registered: Apr 2007
Location: Iran
Distribution: CentOS, SUSE, Debian, RedHat
Posts: 14

Rep: Reputation: 0
Question LPD Printer Server forward printing jobs to local SMB printers


Hello @all,

I have following scenario:
1x Unix Server (HP-UX 11.11)
1x Linux Server (CentOS5) and
1x Windows Printing Server

The Unix Server runs several apps which have printing support and print on the printers published on it. Some of the printers are directly connected and some are network printers. I also have some remote printers which forward their printing jobs to a lpd windows printing server, which again forwards the printing jobs to specified shared windows printers.

Now what i want is to remove the windows printing server and replace it with a CentOS/RedHat linux server. The linux server has cups installed + the cups-lpd package, so the Unix server is able to send the printing jobs to it (the unix server sends the printing jobs via tcp on the default lpd port 515). Also the windows printers are installed as smb printers and work correctly.

Now my problem is, that I don't know how to forward all incoming lpd printing jobs to the installed smb printer. For example, a printing job is sent from the unix server to my linux printer LPD_QUEUE. After the printing job has been received, it should be forwarded from printer LPD_QUEUE to the smb printer SMB_PRINTER1 (which is also on my linux server). Does anyone have an idea how I can forward the printing jobs?


Thanks in advance,

simplyA
 
Old 04-26-2007, 04:30 AM   #2
simplyA
LQ Newbie
 
Registered: Apr 2007
Location: Iran
Distribution: CentOS, SUSE, Debian, RedHat
Posts: 14

Original Poster
Rep: Reputation: 0
Unhappy

Doesn't anybody have an idea?

Just a small hint, or another way?

simplyA
 
Old 04-26-2007, 05:16 AM   #3
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Perhaps you should try smbprint.
 
Old 04-26-2007, 12:25 PM   #4
simplyA
LQ Newbie
 
Registered: Apr 2007
Location: Iran
Distribution: CentOS, SUSE, Debian, RedHat
Posts: 14

Original Poster
Rep: Reputation: 0
Wink

Thanks for the reply but I think you have understood something wrong. I know how to share a printer with Windows machines and vise versa.

My problem is that I need to forward the received printing jobs from one local printer to another local printer (which is my case is a windows printer). I want to know how I can forward the printing jobs locally!


Thanks,

simplyA
 
  


Reply



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
Cups doesn't seem to forward jobs to printer... Chikne Slackware 5 01-21-2007 04:32 AM
Printer not printing, all jobs cancelled vdemuth Linux - Hardware 1 05-11-2006 06:40 PM
Shared printer stops printing in the middle of jobs rfrey74 Linux - Networking 14 04-29-2006 11:15 PM
Print jobs repeat infinetly on lpd printer attached to axis print server linux-who? Linux - Hardware 0 03-28-2006 11:24 AM
Is there a guide anywhere that helps set up CUPS printing using SMB printers? Royle Debian 2 02-20-2005 04:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:04 PM.

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