tn5250 project


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers tn5250 project
# 1  
Old 01-21-2004
tn5250 project

Goodmorning all,

as in subject: i'm involved in a project to replace old os400 terminals on twinax with linux/unix computers that run the tn5250 emulator.

at first we got an image of a german configured suse linux that as it runs in germany but we had more problems reconfiguring the suse then it helps us

so we deceided to begin with a new installation and choose for freebsd 4.5 because that the only unix/linux i ever worked with.

with solving some f13-f24 key problems we got the emulator up an running (exept for the backspace that simply returns and doesn't delete)

now we're at the point of printing Smilie
we need to install 2 local printers on it: a parallel brother 1660e
and a serial zebra label printer
both printers should be able to print data the os400 sends

but the point where we stand is that we can't make the printers speak.

for the brother (/dev/lpt0):
i recompiled the kernel so ppc0 is polling (wow :-)
it actualy says that when doing #dmesg | grep lpt0
lpt0: <printer> on ppbus0
lpt0: Polled port

ok?

that's all i know to configure on that port
me, being more a DOS man am used to c:\dir > lpt1 and actually getting a printout
in my unix, when i do #lptest > /dev/lpt0 i get 3 blank pages (no toner is not empty)
when i try #cat textfile > /dev/lpt0 i get 3 blank pages

this makes me think in the direction of drivers? or something i missed?

then i set up and lpd for the printer which actually works but the same printing result: blank pages
anyhow, i searched this forum and found some usefull info,
went to linuxprinting.org, downloaded a ppd file for brother 1660e but from there i'm blocked (i don't know what to do with the ppd file, i even don't know if i need that file, the doc on that site is somewhat blurry)

i wonder if someone could suggest me on how getting the parallel printer to printing data?

for the other printer, the serial one, it doesn't do anything at all, but first i want to print on the lpt0

thnx
# 2  
Old 01-21-2004
Hi,

Yes, the problem might be that you're using the wrong driver for your printer...
The .ppd driver is configured using lpadmin... Take a look at this great document http://www.itworld.com/Comp/2369/LWD001109geek1/ ...
# 3  
Old 01-21-2004
ok guys,
i solved both printers!

how?
got on http://www.freebsddiary.org/apsfilter.php
after reading it, i deceided to begin a new setup on another pc with freebsd 5.2
there, in the /stand/sysinstall there are new entries which included printer utilities such as the apsfilter and cups, installed them both,
then it was simply run the SETUP from /usr/local/share/apsfilter
and there it was nice and easy, although for my brother 1660e, wasn't supported, installed the brother 1270 with the hl1250 driver, printed test page: ok!
for the serial zebra label printer, i installed generic ps driver an configured the serial port communiction with the data bits and bps...
didn't print a test page but, i found out zebra only respond to files beginning with ^Z or ^X, printed a txt file we use on as400
lpr -PRAW file.txt
printed ok! (RAW is name of que of that printer.

but now i have the following question for you guys:
what do i have to configure if i want to let the as400 print stuff on my local printers. according to our outsourcing firm the lpd deamon needs to be running and the queues of the printer must have the name that will be declared on the as400 like
name on as400: PRT01 and PRT02
then on the bsd it should be /var/spool/lpd/PRT01 and ..../PRT02
we tried to print from windows via lpr but didn't work, tried from as400, didn't work
personaly i think we need to install samba on the bsd?
or is it something else we need to take a look at?

thxn for your replies guys!
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

FINDING DUPLICATE PROJECT ( directory project )

I have a project tree like that. after running find command with the -no -empty option, i am able to have a list of non empty directory DO_MY_SEARCH="find . -type d -not -empty -print0" MY_EXCLUDE_DIR1=" -e NOT_IN_USE -e RTMAP -e NOT_USEFULL " echo " " > $MY_TEMP_RESULT_1 while... (2 Replies)
Discussion started by: jcdole
2 Replies

2. News, Links, Events and Announcements

A new project was posted on The UNIX and Linux Forums project board.

A new project was posted on your project board. Project title: Bash Shell Tutoring Estimated Budget: $50/hr Start date: Immediately Required skills: Linux, Bash, Shell, UNIX I work as a datawarehouse designer and developer. Although I usually stick to the role of an analyst,... (0 Replies)
Discussion started by: Neo
0 Replies

3. UNIX and Linux Applications

Need ideas for graduation project based on unix or linux Need ideas for graduation project based on

Dear all, i am in last year of electronics department in engineering faculty i need suggestions for a graduation project based on unix or free bsd or linux and electronics "embedded linux " i think about embedded unix for example or device drivers please i need helps (1 Reply)
Discussion started by: MOHA-1
1 Replies

4. Solaris

what is the use of /etc/project file and project administration commands?

i have two doubts.. 1. what is the use /etc/project file. i renamed this file and when i tried to switch user or login with some user account the login was happening slowly. but when i renamed it to original name it was working fine... why so? 2. unix already has useradd and grouadd for... (4 Replies)
Discussion started by: chidori
4 Replies

5. AIX

Mocha W32 TN5250

hi everybody, I am very new to AS/400, and I have installed Mocha W32 TN5250 for accessing the AS/400 on windows patform but, I am not able to do this... Can anybody please help me to setup Mocha W32 TN5250 for accessing AS/400 on windows platform... thanks in advance:) thanks and... (0 Replies)
Discussion started by: kunalpatil09
0 Replies

6. Solaris

SSH doesn't pick up user's project from /etc/project

We have a system running ssh. When a user logs in, they do not get the project they are assigned to (they run under "system"). I verify the project using the command "ps -e -o user,pid,ppid,args,project". If you do a "su - username", the user does get the project they are assigned to (and all... (2 Replies)
Discussion started by: kurgan
2 Replies

7. UNIX for Dummies Questions & Answers

Who know this project?

A Simple Shell The Shell or Command Line Interpreter is the fundamental User interface to an Operating System. Your first project is to write a simple shell - myshell - that has the following properties: 1. The shell must support the following internal commands: i. cd <directory>... (5 Replies)
Discussion started by: Osawa
5 Replies

8. Programming

a little project i need some help with

Hell everyone, i am trying to write a program for work, i am doing an internship there, where the program will list all the files on the Unix Server(soloaris 9) for all the engineers to look at. The code i have so far works to display all files, but the program also needs to check and see if the... (3 Replies)
Discussion started by: ShenTech
3 Replies

9. Linux

project

hi, iam doing my MCA finial year project in linux-c language.my project name 'stream control transmission protocol'.it is about message passing to server from client through packet,please help in this i want to know the coding for this or tell me the any link for this coding. ... (0 Replies)
Discussion started by: anurakrish
0 Replies
Login or Register to Ask a Question