Printing files from LINUX using NT Print Services

Printing files from LINUX using NT Print Services

Post by Jess » Sun, 04 Mar 2001 01:30:07



I am new to the linux world but I was wondering are there any constraints
if I wanted to print files from a linux box using NT print Services. Note:
I have 2 boxes (1 LX and 1 NT for certain reasons). If so what is the best
solution.

--
Posted via CNET Help.com
http://www.help.com/

 
 
 

Printing files from LINUX using NT Print Services

Post by The Spoo » Sun, 04 Mar 2001 21:14:55


Jess wriote ...

Quote:>I am new to the linux world but I was wondering are there any constraints
>if I wanted to print files from a linux box using NT print Services. Note:
>I have 2 boxes (1 LX and 1 NT for certain reasons). If so what is the best
>solution.

The easiest IMHO is to install TCP/IP print server on your NT-box and print
your documents to that box as remote lpd-print. Observer, though, that NT
does not do anything to the printed output, i.e. you have to do all the
formatting yourself.

  /TRY

 
 
 

1. Q: Blank page when printing with Samba from NT 4.0 to Linux print server

I'm using the S.u.S.E 5.3 Linux  and Samba 1.9.18.p.8.
When I'm printing on an HP4 printer with Wordpad or Pagemaker or other
Windows-Printer then the Linux printer puts a blank page at the end of
the job.

This is an excerpt from /etc/printcap

raw|lp3|ljet4-a4-raw|ljet4 a4 raw:\
        :lp=/dev/lp1:\
        :sd=/var/spool/lpd/ljet4-a4-raw:\
        :lf=/var/spool/lpd/ljet4-a4-raw/log:\
        :af=/var/spool/lpd/ljet4-a4-raw/acct:\
        :if=/var/lib/apsfilter/bin/ljet4-a4-raw:\

        :sh:sf:

HP4|remote printer on server:\
        :sd=/var/spool/lpd/HP4:\
        :rm=server:\
        :rp=raw:\
       :sh:sf:

An here the excerpt from smb.conf:

; Sektion [printers]
        [printers]
        comment         = Network printer
        path                    = /var/tmp
        read only               = yes
        browsable               = yes
        public                  = yes
        printable               = yes

; Samba network printer
        [HP4]
        security                        = user
        path                    = /var/spool/lpd/HP4
        printer name            = lp3
        writeable               = no
        browsable               = yes
        public                  = yes
        printable               = yes
        lprm command            = /usr/bin/lprm -P%p %j
        lpq command             = /usr/bin/lpq %p
        print command           = /usr/bin/lpr -r -P %p %s

Is there any hint?

Thanks!

Hermann

2. Routing problem. Please help

3. Printing to networked printers through Linux using X-stations as print servers

4. scsi hd and controller

5. Problems printing using a linux print server

6. How can I prevent other user to rlogin or telnet to one workstation?

7. Printing from Linux using LAN Print Server

8. Any advice for moving from 2.0.29 to 2.0.34 kernel?

9. Print queue woes: could not talk to print service at <node>

10. HP network printer and LP print Service local printing

11. How to configure a Print Server to print a file as a file

12. Linux to NT Printing Using Samba(hplj2)

13. Printing from NT to Linux maintained printer using NFS