The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > Windows & DOS: Issues & Discussions
.
google unix.com



Windows & DOS: Issues & Discussions All Windows and DOS questions should go here as well. Discuss UNIX to Windows (Desktop or Server) here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
looking for linux like tab terminal for windows umen Windows & DOS: Issues & Discussions 12 05-09-2009 11:54 PM
Looking for Unix Emulators on Windows XP thoughts UNIX for Dummies Questions & Answers 11 02-17-2007 12:06 PM
Windows UNIX emulators? liquidcross UNIX for Dummies Questions & Answers 7 07-28-2002 03:55 PM
Terminal windows getting killed jyotipg UNIX for Advanced & Expert Users 4 05-23-2002 05:45 PM
windows terminal Pyrohotdog Windows & DOS: Issues & Discussions 4 02-09-2002 01:42 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-02-2006
MickZA MickZA is offline
Registered User
  
 

Join Date: Nov 2006
Location: South Africa
Posts: 16
Question 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???
  #2 (permalink)  
Old 11-02-2006
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
I have never used netterm but I found this:

Quote:
The NetTerm option to "print directly to printer" was put into NetTerm in
the days of Windows 3.1 when it was acceptable to bypass all of the Windows
printer drivers, and allow a host application to access the printer direct.
This option is still available, since many Windows 3.1 systems still exist.

However, on newer Windows operating systems, this option should not be used.
You should select the "send to windows printer" option to send normal text
files. This option will utilize the normal Windows printer driver for your
selected printer.

For those host applications that require direct access to the printer, use
the option "send to windows print queue". This does bypass the Windows
driver, and does require the host application to completely control the
printer. However it is the preferred way to bypass the Windows printer
drivers.
  #3 (permalink)  
Old 11-02-2006
MickZA MickZA is offline
Registered User
  
 

Join Date: Nov 2006
Location: South Africa
Posts: 16
Nope - No joy.

As I say the problem is the stripping of the NULs, I have seen these replaced with CR's LF,s etc in the past due to protocol considerations (7 bit 8 bit etc) and know that NULs are favorite targets for compression techniques (along with spaces) but these are often single NULs. Telnet is a suspect but I can find no direct reference to this problem besides I'm pretty sure termcap/terminfo must use NULs.

I have tested with VT100, sco-ansi & wy50 emulations with no difference in outcome - Netterm has the option to capture the print data to file so I have no trouble running a hex editor on it and as I say NOT a NUL in sight!!.

Thx for the ref I will fire this off to netterm support & see what they say.
  #4 (permalink)  
Old 11-03-2006
MickZA MickZA is offline
Registered User
  
 

Join Date: Nov 2006
Location: South Africa
Posts: 16
Quick turn around from Netterm support:

Quote:
Mick

Use the latest version of NetTerm, then edit the netterm.ini file and make sure TPBINARY=1 is set.

Ken
Working like a charm!!! Interestingly I then googled on "tpbinary" and came across a doc on the first page here

which whilst it does not address the problem would have put me on the track.

BTW this option is not mentioned in any of the documentation contained in the downloaded versions - still alls well that ends well

PS: you do not need to download the latest (licensed) version it is working fine on the old freeware release
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:25 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0