11-02-2006
Windows Terminal Emulators
I have been using NetTerm on various Windows flavors for a while and have just run into a problem with printer passthru (transparent printing) that I can analyse but not resolve.
The setup is a Epson TM60 POS Label Printer connected XON/XOFF via COM1 on a Win98SE system. This is controlled utilising ESC/POS commands to produce barcodes.
The problem is that the ALL the NUL codes (ASCII 00) in the commands are dropped before they get to the printer ie:
*set printable area motion units in page mode
move x"1B570000000070019F00" to tm60-line
write tm60-line no control.
results in 1B5770019F at the sticky end of TCP/IP, Windows, NetTerm, printer.
NetTerm is configured to print direct to the port (not using the windows driver/spooler) so my query is - WHAT IS STEALING THE NULS ??? -
BTW If I hang the TM60 off a RS232 port on the Server there are no probs.
The problem is not hardware related - several printers, Win systems tested.
Any thoughts anyone???
9 More Discussions You Might Find Interesting
1. Windows & DOS: Issues & Discussions
hey all, i got a q
my computer at home runs Mac OS X so i use the terminal, and the computer(s) at school run Windows 98 (yuck) and i wanna know if there is a program for win 98 that is similar to terminal. and if possible, if they are compatible. (4 Replies)
Discussion started by: Pyrohotdog
4 Replies
2. UNIX for Advanced & Expert Users
Hi!!,
I am on HP UX- 11. We have just configured a new server. But facing a strange problem now. Occasionally our terminal windows get killed. any ideas about the cause??
Could someone tell me what to look for?? any particular logs?? or is it bcoz of too many processes ( ~ 70 -80 ) being run ... (4 Replies)
Discussion started by: jyotipg
4 Replies
3. UNIX for Dummies Questions & Answers
I'm brand spankin new to unix. What software would or could I use to reproduce what windows terminal server and citrix metaframe accomplish? To explain that, how do I create a server-based graphical desktop that can be accessed from a dumb terminal? Specificity is appreciated because I'm clueless... (2 Replies)
Discussion started by: bradoyler
2 Replies
4. UNIX for Dummies Questions & Answers
Quick question:
When I load up Terminal or X-Windows on my Mac, and the prompt comes up...what folder am I starting in? (2 Replies)
Discussion started by: liquidcross
2 Replies
5. UNIX for Dummies Questions & Answers
Is there some way I could run UNIX in a window by itself on a Win2K PC? I have to use this PC at work, and I'd like to run UNIX in the background, so I can learn the system during the inevitable lulls (my job is boring as hell).
Any help would be appreciated...thanks! (7 Replies)
Discussion started by: liquidcross
7 Replies
6. UNIX for Dummies Questions & Answers
Hello all,
Forgive me if this question was asked before, I'm unable to find an answer to it on this forum upon searching "windows unix".
I have Windows XP at home, and I want to practice Unix, I want to re-learn all Unix commands, Shell script programming and the Vi Editor.
I'm looking... (11 Replies)
Discussion started by: thoughts
11 Replies
7. Windows & DOS: Issues & Discussions
Hello all
is there any free tool like linux tabbed terminal but for windows
im used to work with putty and its great but i wander if there something like putty
but with tabs
thanks (12 Replies)
Discussion started by: umen
12 Replies
8. Shell Programming and Scripting
Hi,
How to get unix look and feel in windows environment where i can execute basic commands like date and complex usage like awk, sed etc and not much storage space is needed.
Is there any software that i can install to use the same?
Thanks, (3 Replies)
Discussion started by: i.srini89
3 Replies
9. Linux
Hi All,
Am working in a major IT company, due to security issues, being a fresher am not allowed to install or asking for a specific business reason to install it in my system.
The thing is i want to learn Linux, due to the same security issues we need Admin pass to install certain... (6 Replies)
Discussion started by: mr_ganapathy
6 Replies
LPT(4) BSD Kernel Interfaces Manual LPT(4)
NAME
lpt -- generic printer device driver
SYNOPSIS
device ppc
device ppbus
device lpt
DESCRIPTION
The current lpt driver is the port of the original lpt driver to the ppbus(4) system.
One purpose of this port was to allow parallel port sharing with other parallel devices. Secondly, inb()/outb() calls have been replaced by
ppbus function calls. lpt is now arch-independent thanks to the ppbus interface. See ppbus(4) for more info about the ppbus system.
The parallel port bus is allocated by lpt when the printer device is opened and released only when the transfer is completed: either when the
device is closed or when the entire buffer is sent in interrupt driven mode.
The driver can be configured to be either interrupt-driven, or to poll the printer. Ports that are configured to be interrupt-driven can be
switched to polled mode by using the lptcontrol(8) command.
Depending on your hardware, extended capabilities may be configured with the lptcontrol(8) command. With an ECP/ISA port, you can take
advantage of FIFO and DMA.
In order to retrieve printer info from /dev/lpt0, just apply the cat command to the device. If the printer supports IEEE1284 nibble mode and
has data to send to the host, you will get it.
FILES
/dev/lpt0 first parallel port driver
SEE ALSO
ppbus(4), ppc(4), lptcontrol(8)
HISTORY
This driver replaces the functionality of the lpa driver, which is now defunct.
BUGS
There are lots of them, especially in cheap parallel port implementations.
It is only possible to open a lpt port when a printer is connected and on-line, making it impossible to run lptcontrol(8) when there is no
printer connected.
This driver could still stand a rewrite.
BSD
February 14, 1999 BSD