LPD Printer Server forward printing jobs to local SMB printers
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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 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!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.