The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



Thread: tn5250 project
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 01-21-2004
termiEEE termiEEE is offline
Registered User
 

Join Date: Mar 2002
Location: belgium - city of Kooigem
Posts: 25
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
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
Forum Sponsor