Sponsored Content
Full Discussion: tn5250 project
Top Forums UNIX for Dummies Questions & Answers tn5250 project Post 46634 by termiEEE on Wednesday 21st of January 2004 09:47:13 AM
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!
 

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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

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

7. 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

8. 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

9. 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
LP5250D(1)						      General Commands Manual							LP5250D(1)

NAME
lp5250d - start an AS/400 printer session SYNOPSIS
lp5250d [OPTIONS] HOSTNAME DESCRIPTION
lp5250d connects to an AS/400 over TCP/IP and provides a printer session emulating an IBM 3812 printer. The printer session works with scs2ascii and host print transform on the AS/400 to print AS/400 spooled files on a local printer. To end a printer session, send it a SIGTERM signal with kill(1). Printing support requires named session support, which is available for most recent versions of OS/400, but is only supplied with V4R3 and later versions. For V3R2, V3R7, V4R1 and V4R2, please see informational APAR II10918. OPTIONS
Additional lp5250d options are described in the tn5250rc(5) man page. -u, --user=USER run lp5250d as USER -H, --help display this help and exit -v, --version output version information and exit EXAMPLES
lp5250d env.DEVNAME=LINPRT1 env.IBMMFRTYPMDL='*HP4' as400sys Connect to as400sys as the printer LINPRT1, using host print transform on the AS/400 to print to an HP Laserjet or compatible using lpr. lp5250d env.DEVNAME=LINPRT1 env.IBMMFRTYPMDL='*OKI184IBM' outputcommand=''scs2ascii | lpr -Poki' as400sys Print to an Okidata Microline 184 Turbo on the local print queue named `oki'. lp5250d env.DEVNAME=PSPRT outputcommand='scs2ps > scs$$.ps' as400sys Convert spooled files into PostScript(R) files. BUGS
Please report any bugs you find to the bug tracker or to the linux5250 mailing list. See the tn5250 web site for more details. SEE ALSO
tn5250rc(5), tn5250(1), scs2ascii(1), scs2ps(1), http://tn5250.sourceforge.net/, RFC1205, RFC2877, II10918. COPYRIGHT
tn5250 is copyright 1997 - 2001 Michael Madore. This manpage is copyright 1999 - 2001 Carey Evans. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as pub- lished by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER- CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foun- dation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA TRADEMARKS
PostScript is a trademark of Adobe Systems Incorporated. AUTHORS
tn5250 was written by Michael Madore, Jay Felice, Scott Klement and others; see the AUTHORS file for details. This manual page was written by Carey Evans. 12 November 2001 LP5250D(1)
All times are GMT -4. The time now is 05:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy