OSS lpd for windows or( how to filter print jobs thru windows drivers)

OSS lpd for windows or( how to filter print jobs thru windows drivers)

Post by Chetan Ahuj » Mon, 13 Mar 2000 04:00:00



  Hi,
    My problem is this. I recently bought a Canon BJC 6000 as I got it
very cheap and in my past experience with epson, inkjet printers
don't work very well with ghostscript drivers even when they are
supposed to according to docs. But anyway, I have a windows machine
always running here on the network for contingencies (like opening
other people's word documents etc.) So I can connect the canon  to
that computer and my plan is to use it as a sort of print
server. Only-- I need to use the widows driver supplied with the
printer to actually get the printout. So my plan is to send the
printouts from my linux machines as postscript files and then filter
them  thru the ghostscript's winpr(or something) filter
automatically. My question is, is there an open source lpd daemon for
win32 available somewhere which I could hack to do such a thing ( I
know there's a microsoft provided lpd daemon but it's crippled in such
 a way as to not allow any processing of the print jobs before
being sent to the printer. Please correct me if I'm wrong) Or
if not, is such a thing possible using the regular SMB protocol
( i.e. somehow hack window's remote printing mechanism to insert a
filter between the network interface where the printjobs are
accepted and the final windows output to the printer) Maybe the
following drawing will make my question clearer:

 This is what I want to happen:

Linux Box                Windows Box
________               ___________________
        |             | shared folder etc.
        | samba       |
(ps file)------------>|(shared printer)-->Ghostscript_to_win_printing_filter--->Printer
________|             |_________________

  Any pointers, tips, hints etc would be highly appreciated.

    Thanks
    Chetan

 
 
 

1. PostScript print filter and Windows lpd

Greetings-
        The purpose of this posting is two-fold: 1) I would like to point
out a program to any of you, who (like me) access your Suns via a PC running
X.  There is a slick program called wslpd (WinSock lpd) for MS Windows that
will allow you to print to your local printer as if it were a remote BSD
printer.  The raw mode (just dumps PostScript to the printer) seems to work
great for me with one problem, which brings me to purpose numero 2):
        The HPs I am using here want a ^D at the end of a PS file.  Apparently
the default Solaris 2.3 PostScript filter doesn't send one.  I say this because
if I manually put one on the end of a PS file, and lp it everything works
perfectly.
        My question is: what is the slickest way to get Solaris to concatenate
an EOF character onto a PS job?  I assume the that the answer lies in the filters but, that's about as far as I have gotten... Any pointer would probably
serve to expedite a solution, and would be greatly appreciated.
                -Thanks in Advance
                -Dave

PS-Current version of wslpd is 1.1, and it can be found a sunsite.unc.edu

--

Biomolecular Computing Resource, Emory University
   _/_/_/    _/_/_/     _/_/_/     _/_/_/  _/ _/      _/       _/
         _/_/      _/ _/      _/ _/                                  
          _/         _/         _/         _/                       _/
         _/_/       _/         _/                       _/
_/      _/  _/     _/ _/      _/ _/     _/   _/
  _/_/_/     _/_/_/     _/_/_/    _/_/_/    _/  _/  _/

2. What is the equivalent of matherr on linux (1.2.6kernel with libc 4.6.27)

3. cups-lpd doesn't filter print jobs

4. new mother board for linux

5. Using samba and windows drivers to print to windows printer

6. auto logon and start x?

7. Printing from Windows NT thru SUNSPARC

8. GNU configuration problem

9. SVR4 doesn't print my LPD print jobs

10. Printing: lpd loses print jobs

11. lpd stops sending queued print jobs to remote Print Server.

12. Printing to LPD MS-Windows

13. lpr/lpd printing from Windows 2000 to AIX