linux -> NT printing

linux -> NT printing

Post by Michael Maku » Wed, 26 Jun 1996 04:00:00



I've got an HP540 DeskJet connected to my NT Server 3.51, which is tcp/ip
connected to my Linux 1.2.13 (Slackware) box. On NT, I've succesfully printed
with the native HP540 printer driver. I'm trying to print from Linux to the
HP540. I've installed NT's TCP/IP printing module, and I've setup Linux to
print to it. When I print from Linux using lpr, all I get is blank pages. I
suspect that I need a printer driver for Linux. Is this correct? Is it
available?

Thanx,
Mike Makuch

 
 
 

linux -> NT printing

Post by Harrison Berger » Wed, 26 Jun 1996 04:00:00



 >I've got an HP540 DeskJet connected to my NT Server 3.51, which is tcp/ip
 >connected to my Linux 1.2.13 (Slackware) box. On NT, I've succesfully printed
 >with the native HP540 printer driver. I'm trying to print from Linux to the
 >HP540. I've installed NT's TCP/IP printing module, and I've setup Linux to
 >print to it. When I print from Linux using lpr, all I get is blank pages. I
 >suspect that I need a printer driver for Linux. Is this correct? Is it
 >available?
 >
 >Thanx,
 >Mike Makuch

 >

        1) make sure that the permissions are set correctly
           to your spool area

           % chown -R root.lp /var/spool/lpd
           % find /var/spool/lpd -type d -exec chmod 751 {} \;
           % find /var/spool/lpd -neme ".seq" -exec rm -f  {} \;        
           % find /var/spool/lpd -type f -exec chmod 664 {} \;

           this will get rid of the .seq files which are created
           by the printer automatically as well.

           make sure if your filters are here that you set the
           execute bits back since they now are -rw-rw-r--

        2) Make sure you haven't tried to "economize" the printcap
           by rewiting it in a non-standard way. Should be:

           lp|lp0|blah....:\
           <-TAB->:field:\
                  .
                  .
                  .
                  :last_field:   <- no escaped newline ( \ )

        3) Check the printcap for extraneous whitespace foolowing
           the escaped newlines:

           % mv printcap printcap.save
           % sed 's/\ *$//' printcap.save>printcap

        4) Make sure lpd is running.

        5) Make sure you have the NT LPR service working.

        6) Print.

--

    Steinberger:
State of the Instrument

 
 
 

1. MS$ NT > Linux Firewall > Internet > MS$ NT PPTP Server

Please excuse the <seemingly> newbie question, but I have an issue.  I
would like the ability to manage my corporate network from home via PPTP
rather than 28.8k PPP.  I have a cable modem at home, with a Linux
router / firewall.  I'm unable to establish a PPTP connection through
the Linux box.  Below are the specs:

Linux Box:
    PII233 96MB RAM
    RH Linux 6.0, kernel 2.2.14
    IPCHAINS

NT Box:
    NT4 Wks SP5
    NIC / Modem
    PPTP client

I can connect via PPTP in any environment not including my Linux box,
and according to the documentation at the IP Masquerading Resource,
there's a kernel patch.  Unfortunately, I have had no luck finding the
patch for a 2.2.14 kernel.  Any assistance would be greatly appreciated.

Regards,

Nathan Underwood

http://www.utcm.com

2. nfsd in Uniixware 2.1

3. Q: Print problem: Win95 -> Linux/Samba -> Linux/Netatalk -> LaserWriter

4. make command doesn't exist

5. Printing NT WKS 4.0->NW 4.11->Solaris 2.6

6. CDP handler for linux

7. Linux --> NT --> MS Proxy Server --> Internet

8. AMI Excalibur PCI EISA comp. with LINUX?

9. Win95->Linux->PPP->NT Domain?

10. printing; Linux -> NT

11. printing: NT->Linux printer needs ppp running

12. NT NT NT NT NT NT NT MT

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