LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-14-2006, 09:24 AM   #1
AshCokeandDash
LQ Newbie
 
Registered: Feb 2006
Location: South Africa
Distribution: ZipSlack 3.9
Posts: 5

Rep: Reputation: 0
Not Printing from telnet


I have been using ZipSlack 3.9 for the last few days on a 486DX4100 PC to replace a broken terminal. The only problem I am having is printing. The terminal had a printer connected to its printer port and the program being used printed directly to the printer. When I try printing from the PC directly, it works, e.g. cat file > /dev/lp1, but not when using the program through telnet. Also, the terminal had the name 'REPORTS' assigned to it in its BIOS Setup. The program printed to several other printers, two of them on the server. It is set up like this in the program

DEVICE - COMMENT
------------------------
/dev/lp0 - COPY PRINTER
/dev/lp1 - LABEL PRINTER
/u/spool - TEST PRINTER
REPORTS - STOCK PRINTER

I have run netconfig and set up the name of the PC as 'REPORTS'. The server has Red Hat Linux 7.3. There is a device called REPORTS in the /dev directory.

Can anyone help me?
 
Old 05-17-2006, 07:57 AM   #2
BSchindler
Member
 
Registered: May 2006
Location: Los Angeles, CA USA
Distribution: RHAS3, RHAS4, RHEL4, RH6, RH7.2, FC2-7, Gentoo, DSL
Posts: 49

Rep: Reputation: 15
A good many older terminals that had printer ports relied on "escape sequences" (special ASCII characters, generally "non-printable") which told the terminal that the information following was to be directed to an attached device, like a printer.

You didn't say what model terminal you are replacing. Look around for a terminal emulator which runs on RH 7.3 which directly emulates the model you are replacing.

Careful about adding devices to /dev. They are special and you cannot just drop devices in there without setting up the class etc., also you have to have a driver associated with them for them to work.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Running Telnet in a script, want to save Telnet output, howtodothis??? anil3 Linux - Software 2 03-08-2006 04:01 PM
Telnet client that supports local printing? jedimastermopar Linux - Software 2 08-14-2004 07:06 AM
printing during a telnet session in gtelnet. jedimastermopar Linux - General 0 08-12-2004 09:40 AM
printing during a telnet session in freebsd jedimastermopar *BSD 5 08-06-2004 11:55 AM
Remote printing between 2 cities via telnet on Redhat 7.3 Johan.Fourie Linux - Networking 0 03-19-2004 03:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration