We help IT Professionals succeed at work.

printing on sol 8 to jet direct box

paulmitch
paulmitch asked
on
Hi,

Can anyone provide step by step instructions to setting up printing from a solaris 8 machine to an epson stylus 760 on a jet direct box, model j2382 external.

I tried doind local printing from my parallel port (ultra 10) but had no joy.  I know both the printer and jet direct box work - I can print from a win2k box.

Thanks,

Paul
Comment
Watch Question

CERTIFIED EXPERT

Commented:
Hi  paulmitch,

     Here's what you need to do:
     
    1. telnet to the jet direct box ( I assume that you know the IP of the box, otherwise, you need to find it out).
   type in:/
   to verify the printer settings.  (write done the host name, if you don't        like to print banner page, disable it )

    2.edit your /etc/hosts file, to add the printer infor to the file, just treat it as an UNIX box in your network ( you can give the printer  server a good name, eg photocopy-rm, as long as you put the correct  IP in the file)
   
   3. run "admintool" --> Browse -->printer --> edit -->add --> Access to printer

   to fill in all the details about your printer.

   Cheers!

============

yuzh

Author

Commented:
Hi,

OK, the j2382 does not run a telnet deamon, but it is getting it's IP addr from a dhcp server, and it is registered in my dns server.

Also, Solaris doesn't have support out of the box for my epson 760 printer.

Thanks,

Paul
CERTIFIED EXPERT

Commented:
Hi paulmitch,

     You don't need to use telnet to access to the Jet direct box (it use
TCP/IP) the reason I ask him to telnet to the Jet direct box is to verify the printer setting.

    On the Solaris site, all he has to worry about is the IP of the Jet direct box, and creat a queu to point to the Jet Direct box, the printer server (Jet direct box) handling the printing Job. The printer server need
to have a stable IP add for the Solaris box to access to it. If the DNS working ok, he can use the fully qualified name of the printer server instead of the real IP. And he don't need to edit the /etc/hosts file.

    Thanks

   

Author

Commented:
Thanks Yush,

Yeap - but how do I set up the print filter if one doesn't exist for the epson 760?

Any ideas?

Paul
CERTIFIED EXPERT

Commented:
Hi paulmitch,

   You don't need to worry about what type of printer it is on the Solaris box, because you are accessing to a REMOTE printer. The printer server (Jet direct should be able to handle the printing request from its client).

   When you add a remote printer with admintool, all you need is specify the Server name (Full Name including domain name or use IP) and the name of the printer (printer queu name - you can it what ever you like in this case)
 
   Just give it a try.

  Good luck!
Top Expert 2005
Commented:
Well, to do much of anything useful with your Stylus 760 you are going to want to set up Ghostscript as a print filter. Some notes on the Stylus 760  can be found at http://www.linuxprinting.org/show_printer.cgi?recnum=96288 

Once you have Ghostscript running properly and converting Postscript to data that the 760m understands you can set up Solaris to use GS as a print filter and ship the data out to the JetDirect box. The following is a set of notes that I use when setting up Solaris printers. They're a bit terse, but I think they are complete enough to be useful:

1) For what follows to work you have to have a terminfo description
that's only used for this particular printer make/model. You can set up
multiple printers, but all that are of this type will use the
ghostscript PS converter. I create fake entries from the PS terminfo
data, like so:

levie> infocmp PS >hps2

levie> cat hps2
#     Reconstructed via infocmp from file: /usr/share/lib/terminfo/P/PS
PS|PSR|PS-b|PS-r|PS-br|Fake PostScript entry,
        cols#80, lines#66,
        cpi=null, csnm=^D, lpi=null, scs=^D, slines=^D, u9=^D,

Change the second line to be:

hps2|Fake PostScript entry,

then, as root, create the terminfo entry:

root> tic hps2


2) Set up a print filter that will convert postscript to printer data
for all printers designated to be of type "hps2". Note: the "Command:"
must be one line, it's broken here 'cause mailers will wrap it.

e.g. /etc/lp/fd/hps2.fd

# postscript to pcl filter a LaserJet Series II
Input types: postscript, ps
Output types: any
Printer types: hps2
Printers: any
Filter type: slow
Command: /usr/local/bin/gs -sDEVICE=laserjet -q -dNOPAUSE \
-sOutputFile=- - quit.ps

and add the filter:

root> lpfilter -f hps2 -F /etc/lp/fd/hps2


3) Create a spool "prt", either for a direct connection:

root> lpadmin -p prt -T hps2 -I postscript -F continue -o nobanner \
>-h -m standard -v /dev/bpp0 -D "LaserJet Series II"

or for a networked printer:

root> lpadmin -p prt -T hplaser -I postscript -F continue -o nobanner \
> -h -v /dev/null -m netstandard -o dest=printer.on.net \
> -o protocol=bsd -D "LaserJet"


4) I normally disable banner page printing by editing the interface
file, /etc/lp/interfaces/prt in this example, and change "nobanner=no"
to "nobanner=yes".


5) Enable printing
root> enable prt
root> accept prt

CERTIFIED EXPERT

Commented:
Or you can download a2ps program for your Solaris box, this will allow the user convert a text file to postscript and then print to the remote printer.
Top Expert 2005

Commented:
yuzh,

Why would you want a2ps? Solaris already has print filters that will convert ascii to postscript. What it dosn't have is anything that will convert postscript to something that the Stylus 760 can print. If you don't set up Ghostscript to convert postscript to what the 760 understands all you'd be able to print with that printer would be simple ascii. And since most things on Solaris, Unix, or Linux expect a postscript printer I dont see where simply sending the ascii to the printer would be of much use.
ADMINISTRATION WILL BE CONTACTING YOU SHORTLY.  Moderators Computer101 or Netminder will return to finalize these if still open in seven days.  Please post closing recommendations before that time.

Question(s) below appears to have been abandoned. Your options are:
 
1. Accept a Comment As Answer (use the button next to the Expert's name).
2. Close the question if the information was not useful to you, but may help others. You must tell the participants why you wish to do this, and allow for Expert response.  This choice will include a refund to you, and will move this question to our PAQ (Previously Asked Question) database.  If you found information outside this question thread, please add it.
3. Ask Community Support to help split points between participating experts, or just comment here with details and we'll respond with the process.
4. Delete the question (if it has no potential value for others).
   --> Post comments for expert of your intention to delete and why
   --> You cannot delete a question with comments, special handling by a Moderator is required.

For special handling needs, please post a zero point question in the link below and include the URL (question QID/link) that it regards with details.
http://www.experts-exchange.com/jsp/qList.jsp?ta=commspt
 
Please click the Help Desk link on the left for Member Guidelines, Member Agreement and the Question/Answer process for further information, if needed.  http://www.experts-exchange.com/jsp/cmtyHelpDesk.jsp

Click you Member Profile to view your question history and keep them all current with updates as the collaboration effort continues, to track all your open and locked questions at this site.  If you are an EE Pro user, use the Power Search option to find them.  Anytime you have questions which are LOCKED with a Proposed Answer but does not serve your needs, please reject it and add comments as to why.  In addition, when you do grade the question, if the grade is less than an A, please add a comment as to why.  This helps all involved, as well as future persons who may access this item in the future to seek help.

To view your open questions, please click the following link(s) and keep them all current with updates.
http://www.experts-exchange.com/questions/Q.11619118.html
http://www.experts-exchange.com/questions/Q.20186672.html
http://www.experts-exchange.com/questions/Q.20189330.html
http://www.experts-exchange.com/questions/Q.20254547.html




PLEASE DO NOT AWARD THE POINTS TO ME.  
 
------------>  EXPERTS:  Please leave any comments regarding your closing recommendations if this item remains inactive another seven (7) days.  Also, if you are interested in the cleanup effort, please click this link http://www.experts-exchange.com/jsp/qManageQuestion.jsp?ta=commspt&qid=20274643

Moderators will finalize this question if still open in 7 days, by either moving this to the PAQ (Previously Asked Questions) at zero points, deleting it or awarding expert(s) when recommendations are made, or an independent determination can be made.  Expert input is always appreciated to determine the fair outcome.
 
Thank you everyone.
 
Moondancer
Moderator @ Experts Exchange

P.S.  For any year 2000 questions, special attention is needed to ensure the first correct response is awarded, since they are not in the comment date order, but rather in Member ID order.
CERTIFIED EXPERT

Commented:
No comment has been added lately, so it's time to clean up this Topic Area.
I will leave a recommendation for this question in the Cleanup topic area as follows:

- Answered by jlevie and yuzh

Please leave any comments here within the next 7 days

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

tfewster
Cleanup Volunteer
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange

yuzh points for you at:
http://www.experts-exchange.com/Operating_Systems/Solaris/Q_20544370.html
paulmitch,

You have a few old open questions that need your attention. If you need help in finalizing these, please drop me a line either in this question or in the community support topic area at: http://www.experts-exchange.com/Community_Support/

Please take care of these within 7 days or I have an obligation to report your account to the site administrators.

http://www.experts-exchange.com/Operating_Systems/Linux/Q_20513378.html
http://www.experts-exchange.com/Operating_Systems/Linux/Q_20396524.html
http://www.experts-exchange.com/Operating_Systems/Linux/Q_11619118.html
http://www.experts-exchange.com/Operating_Systems/Linux/Linux_Printing/Q_20312432.html
http://www.experts-exchange.com/Operating_Systems/Linux/Linux_Printing/Q_20303007.html
http://www.experts-exchange.com/Operating_Systems/Linux/Linux_Printing/Q_20302581.html

SpideyMod
Community Support Moderator @Experts Exchange

Explore More ContentExplore courses, solutions, and other research materials related to this topic.