Printing thru Linksys EPSX3 print server - how?

Printing thru Linksys EPSX3 print server - how?

Post by Ray Fortne » Sun, 29 Feb 2004 02:29:40



I'm trying to get my Linux box to print thru the print server using CUPS,

192.168.1.150:9100, and sets up the printer as an HP photosmart P1000 using
the recommended drivers, but when sending a test file, nothing happens at
the printer.  I can ping the server sucessfully all day long.  What am I
not setting up?

Do I need a Linux driver for the Linksys EPSX3 (Windows does)?  If so,
where do I get it, and are there any secrets to setting it up?

Any help/advice would be appreciated - I have a CompSci degree, but it's 25
yrs old, so use small words and simple sentences :)

Thanks in advance...

 
 
 

Printing thru Linksys EPSX3 print server - how?

Post by David Efflan » Sun, 29 Feb 2004 18:29:34



> I'm trying to get my Linux box to print thru the print server using CUPS,

> 192.168.1.150:9100, and sets up the printer as an HP photosmart P1000 using
> the recommended drivers, but when sending a test file, nothing happens at
> the printer.  I can ping the server sucessfully all day long.  What am I
> not setting up?

> Do I need a Linux driver for the Linksys EPSX3 (Windows does)?  If so,
> where do I get it, and are there any secrets to setting it up?

I am using a Linksys EFSP42 switch/printserver which works fine for lpr,
lprng or cups printing (set to access it as 'LPD/LPR Host or Printer').  I
have not tried doing native cups (port 631) or jetdirect (port 9100)
printing to it, but nmap does show those ports open on the print server.

You might try normal LPD/LPR (port 515) printing to it instead of
JetDirect (port 9100).  On my PC with cups it is configured locally
as printer 'lp' and prints to lpd://netprn/L1, where 'netprn' is its
hostname (in /etc/hosts and local DNS) and 'L1' is 1st queue on EFSP42
(which apparently works as default even if called 'lp').  If EPSX3 has web
interface, see what its queues are called.

It might also matter if your printer is properly identified (is it
actually that model) and whether it does HP PCL (printer control language)
or is a Windows only printer.

I cannot even find out how to configure kprinter, but applications that
use it say my printer is "not accepting jobs" and fail to print when
attempted.  But switching print command from 'kprinter' to 'lpr' for those
applications works fine.

--
David Efflandt - All spam ignored  http://www.de-srv.com/

 
 
 

Printing thru Linksys EPSX3 print server - how?

Post by Ray Fortne » Fri, 05 Mar 2004 07:34:16






>> I'm trying to get my Linux box to print thru the print server using

>> 192.168.1.150:9100, and sets up the printer as an HP photosmart P1000
>> using the recommended drivers, but when sending a test file, nothing
>> happens at the printer.  I can ping the server sucessfully all day
>> long.  What am I not setting up?

>> Do I need a Linux driver for the Linksys EPSX3 (Windows does)?  If
>> so, where do I get it, and are there any secrets to setting it up?

> I am using a Linksys EFSP42 switch/printserver which works fine for
> lpr, lprng or cups printing (set to access it as 'LPD/LPR Host or
> Printer').  I have not tried doing native cups (port 631) or jetdirect
> (port 9100) printing to it, but nmap does show those ports open on the
> print server.

> You might try normal LPD/LPR (port 515) printing to it instead of
> JetDirect (port 9100).  On my PC with cups it is configured locally
> as printer 'lp' and prints to lpd://netprn/L1, where 'netprn' is its
> hostname (in /etc/hosts and local DNS) and 'L1' is 1st queue on EFSP42
> (which apparently works as default even if called 'lp').  If EPSX3 has
> web interface, see what its queues are called.

> It might also matter if your printer is properly identified (is it
> actually that model) and whether it does HP PCL (printer control
> language) or is a Windows only printer.

> I cannot even find out how to configure kprinter, but applications
> that use it say my printer is "not accepting jobs" and fail to print
> when attempted.  But switching print command from 'kprinter' to 'lpr'
> for those applications works fine.

Thanks, David, I'll give it a try (after I do my taxes this week :(
 
 
 

1. Server will not print to a Linksys EPSX3 Print Server

We are running ULTRIX V4.2A (Rev. 47), and we are trying to move the print
services to a Linksys Printserver.

Originally, our print services used a Chase IOLAN to connect remote printers
to our ULTRIX system.

We can print directly to the Printserver with Windows 9x, and the page will
print.  We can also print from Windows 9x via a SAMBA server on the ULTRIX
system and the page will print.

But, when we try printing directly from the ULTRIX system, the printer would
be stuck in processing data and no page would print.

The printer we are using is an old HP LaserJet III printer w/PostScript
Cartridge.

The printcap is configured as shown bellow:

laser|lj|ps|Laser Jet III PostScript printer:\
        :if=/usr/local/lib/lpd/ip.hp:\
        :lf=/usr/adm/lpd-errs:\
        :lp=:\
        :rm=pserv1:\
        :rp=L2:\ # L1 for LPT1, L2 for LPT2, L3 for LPT3
        :mx#0:\
        :sd=/usr/spool/lpd/lj3:\
        :sf:\
        :sh:

The "ip.hp" filter script is as follows:

#!/bin/sh
#
# ifhp - Print simulated PostScript on HP LaserJet III

#
# Treat LF as CR+LF:
#
#/usr/local/bin/printf "\033&k2G" || exit 2

#
# Read first two characters of the file
#
read first_line
first_two_chars=`expr "$first_line" : '\(..\)'`

if [ "$first_two_chars" = "%!" ]; then
        #
        # It is PostScript; so just print it directly;
        # print a formfeed at the end to eject the last page.
        #
        echo $first_line && cat && /usr/local/bin/printf "\f" && exit 0

else
        #
        # Plain text or HP/PCL; use psflpd to scan-convert and print it
        # print a formfeed at the end to eject the last page.
        #
        /usr/local/lib/psf/psflpd && /usr/local/bin/printf "\f" && exit 0
fi

exit 2

We believe that the printer is waiting for a control character to tell it
that the job is completed, and to print the file.  We tried using a formfeed
and \004 (Ctrl-D?), but this didn't work.

Anyone have an Ideal as to why we can't print from ULTRIX to a Printserver?

Thanks.

Scot

  --------== Posted Anonymously via Newsfeeds.Com ==-------
     Featuring the worlds only Anonymous Usenet Server
    -----------== http://www.newsfeeds.com ==----------

2. NetBSD/amiga: Blizzard IV bombing out.

3. Problem with Remote Printing Thru Print Servers

4. Net~ vs Open~ vs FreeBSD

5. Linux Printing to a Linksys Pocket Print Server

6. How do I disable user_dir ?

7. Printing to Linksys Print Server

8. firmware

9. Linux Printing to a Linksys Pocket Print Server

10. EPSX3 MULTI-PORT PRINT SERVER PROBLEMS

11. solaris8 printing thru annex terminal server

12. accessing printer thru print server

13. HELP PRINTING -- HELP PRINTING -- HELP PRINTING