How to print from Solaris via Samba to Postscript printer on Win95?

How to print from Solaris via Samba to Postscript printer on Win95?

Post by Eclectic Attitud » Mon, 26 Jan 1998 04:00:00



I have a Sun Solaris 2.4 Ethernetted to a Win95 PC - fine

I have a Postscript printer attached to the PC (that is
where it must be, 'cos my wife uses the PC stand-alone)

I have installed Samba on the Sun, and made the printer
available on the network as a Win95 'share' service, so
I can print from the Sun by piping the Postscript file
to be printed to a script, which calls 'smbclient -P' etc.
All that works fine - now to make that my default Unix 'lp'.

I know how to set up a Solaris print system, which will
then convert any print job to Postscript, and send it to a
locally attached Postscript printer, but how can I arrange
to send that to my filter script (thence to 'smbclient')
instead of a device file - indeed can it be done at all?
since Solaris' print system seems to expect responses
from a Postscript printer :(  Anyone know the trick of it?

                                Many thanx in advance :-)
--

 
 
 

How to print from Solaris via Samba to Postscript printer on Win95?

Post by Steve Bellen » Mon, 26 Jan 1998 04:00:00




Quote:>I have a Sun Solaris 2.4 Ethernetted to a Win95 PC - fine

>I have a Postscript printer attached to the PC (that is
>where it must be, 'cos my wife uses the PC stand-alone)

>I have installed Samba on the Sun, and made the printer
>available on the network as a Win95 'share' service, so
>I can print from the Sun by piping the Postscript file
>to be printed to a script, which calls 'smbclient -P' etc.
>All that works fine - now to make that my default Unix 'lp'.

>I know how to set up a Solaris print system, which will
>then convert any print job to Postscript, and send it to a
>locally attached Postscript printer, but how can I arrange
>to send that to my filter script (thence to 'smbclient')
>instead of a device file - indeed can it be done at all?
>since Solaris' print system seems to expect responses
>from a Postscript printer :(  Anyone know the trick of it?

I know several:
1. The device file for a `local' printer does not have to be a device
file at all, it can be a regular file (it is needed for locking).
2. The printer interaction is controled by a script file in /etc/lp/interfaces.
one can modify this file so it uses any networked printer.
3. Many publically available guys do these kind of tricks. I say it in
CAP (appletalk printers) but I am sure someone has done this for Samba
as well.

>                            Many thanx in advance :-)
>--


--


 
 
 

1. Printing via Samba from Linux to Win95 non PostScript printer -problems

Hi,
    presently, I have my Canon BJ-20 bubble jet on my Win95 machine
and have been trying to print from my Linux Redhat 6.1 machine.
I have gotten the printer to print, but it is not printing properly.
It is possible that Samba is trying to send a PostScript file to it,
so it does print something, but it is not printing properly.
I think that the file somehow needs to go through a filter
that does the conversion, but I don't know how to set it up.
  I am looking for some tutorials that can explain more about
doing it.
                                                     Thanks
                                                            Mike

2. help wit c-shell program

3. Printing on non postscript printer (+ via Samba).

4. My networking works 98% correctly but has an odd problem, Please help

5. Deskjet 560C via Samba prints Postscript junk at end of page.

6. c++ Multithreaded Server Design

7. Printing PostScript: Win95 -> FreeBSD -> Samba -> GS -> HP LJIII

8. fvwm raise

9. Printing postscript files to remote Win95 laser printer?

10. Solution: Printing PostScript To HP Printer Via Jetadmin

11. printer on win95 box accessed via Samba

12. PRINTING POSTSCRIPT TO NON-POSTSCRIPT PRINTER - help...

13. print postscript file to non-postscript printer