- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- missing a character in print out
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2007 04:38 AM
10-24-2007 04:38 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2007 04:49 AM
10-24-2007 04:49 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2007 04:53 AM
10-24-2007 04:53 AM
Re: missing a character in print out
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2007 04:55 AM
10-24-2007 04:55 AM
Re: missing a character in print out
Have you checked to actual order to verify that is does in fact say IGI014? That would be my first step rather than changing out printer components.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2007 05:00 AM
10-24-2007 05:00 AM
Re: missing a character in print out
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2007 05:07 AM
10-24-2007 05:07 AM
Re: missing a character in print out
It printed off asking ot sell IGI04 when it should have said IGI014.
If that means that a '1' was dropped from '014' (and if I can assume that this is an external jetdirect connected via a parallel or serial port to the dot matrix printer) and since you said characters are being dropped randomly then that is the classic definition of a handshake problem. It means that the printer needs to tell the external jetdirect to wait but either the printer isn't doing that or the jetdirect isn't listening or even getting that signal. Handshaking can either be hardware or software but since you aren't very big on details ...
In some cases, control sequnces must be sent to the printer to set up handshaking and in others is set via front panels or DIP switches.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2007 05:20 AM
10-24-2007 05:20 AM
Re: missing a character in print out
(1) How to implement the "control sequence" to the interface file? It seems to me the dox matrix printer is dedicated to the unix server. I was told only the fialed order goes to this printer. Nothing else will be printed out.
(2) How to find out the config/description details of this printer? I check the hosts file, I can see the IP and name "mfoms1", but when i check the /var/spool/lp/interface I can NOT find the file "mfoms1".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2007 06:41 AM
10-24-2007 06:41 AM
Re: missing a character in print out
You need to find out what queue name is actually associated with mport. If this is a standard network interface file then there will be a line /var/spool/lp/interface/xxx that looks like this:
PERIPH=mport
or
PERIPH=mport_ip_address
However, it is also possible that the application does not use the spooler at all but instead outputs directly to the 9100 port or uses the hpnpf filter.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2007 07:08 AM
10-24-2007 07:08 AM
Re: missing a character in print out
By the way, I found out more info RE this printer: Lexmark Forms printer 2400 series.
Here is another issue user just reported: it shows "AGF01" when it should have printed "AGF801".
Can you give me an idea what kind of measure we can put in to track/correct the missing letter?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2007 08:28 AM
10-24-2007 08:28 AM
Re: missing a character in print out
Before doing anything else, issue an lpstat -p and an lpstat -v command and make sure that your printer is not listed.
Also, what is the model of the JetDirect being used and how is the JetDirect connected to the printer?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2007 10:00 AM
10-24-2007 10:00 AM
Re: missing a character in print out
If the print file is clean, then you may have a printer pacing or interface compatibility issue. Pacing is the handshake that goes on between the network card (ie, JetDirect) and the internal printer memory. Or the printer is not compatible with enhanced parallel port printing (ie, EPP or IEEE-1284 standard). Since there are many, many different JetDirect interface adapters, yours may have the ability to turn off EPP. If your JetDirect card has a web interface, this should be fairly easy.
Otherwise, you will need a good network consultant with HP-UX, Jetdirect and Lexmark printer experience and lots of time to trace the problem.
Oh, paying for the first couple of consulting hours will easily buy a new HP LaserJet with a built-in JetDirect card.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2007 10:07 AM
10-24-2007 10:07 AM
Re: missing a character in print out
Lexmark Forms Printer 2480
NPIF98B57
Product: J3263G
Version: ROM H.08.08, EEPROM H.08.60
I also use "lpstat -p" to grep for that printer, it is not included in the list of printers.
End-user confirms that among the hunderds of order printed out every week, there are a couple of orders have the missing charactore. Further more, the error happens dynamically, not attached to specific field. Plus, the order can be displayed via the application and no charactor is missing.
We have ask the network engineer to check the traffic between the server to printer. Nothing out of ordinary.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2007 01:09 PM
10-24-2007 01:09 PM
Re: missing a character in print out
> Product: J3263G
Yes, this is a JetDirect External print server, a fancy name for a LAN-to-printer adapter.
> I also use "lpstat -p" to grep for that printer, it is not included in the list of printers.
That is a big problem. It means that your setup is very non-standard. Are you using a commercial print spooler? What commands do you use to setup a new printer? What command do you use to print a file? Or do you not use the lp command at all?
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2007 05:04 PM
10-24-2007 05:04 PM
Re: missing a character in print out
There is a reason why we still use this dot matrix printer. The order to be printed out request dedicated (not shared) printer, no interruption due to paper feed, etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2007 05:13 PM
10-24-2007 05:13 PM
Re: missing a character in print out
I tried 'lpstat -v' and it does NOT include the printer either.
I believe the software program has its own way to send print task to this printer. This has to do with the order because it is real-time/randomly generated, can NOT be recreated, and requested special attention.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2007 05:50 PM
10-24-2007 05:50 PM
Re: missing a character in print out
However, the risk (of just one error print-out) is substantial because we found one order has the error on value, it is supposed to buy $15,505 (as displayed in the program) but the printed order shown $1,505. Here missing one digit is significant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2007 02:44 AM
10-25-2007 02:44 AM
Re: missing a character in print out
While it is possible that someone wrote an application that directly connects to port 9100 on the printer, that would be highly unusual. You are going to have to find exactly the mechanism that is in use that connects this application to the external jetdirect. It's probably time to talk to the application developers. At the very least, there has to be something in the application that identifies the printer and if an external program is used, which one.
One approach to narrowing down the search would be to use a tool such as Wireshark and examine the packets that are sent to/from the jetdirect.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2007 04:02 AM
10-25-2007 04:02 AM
Re: missing a character in print out
As an aside, I would never allow any software like this to run on my production systems. The vendor may go out of business next week and now you will be waiting for a total disaster to occur. Anyone that comes in to try to fix the problem will spend many hours trying to reverse engineer this design.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2007 04:06 AM
10-25-2007 04:06 AM
Re: missing a character in print out
you really need to determine how print-outs get sent to this device. Is the application a purchased product or developed in-house? If in-house, talk to the developers about how they print.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2007 04:09 AM
10-25-2007 04:09 AM
Re: missing a character in print out
The only thing is we can not re-produce the error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2007 04:27 AM
10-25-2007 04:27 AM
Re: missing a character in print out
some Multi-value db products can "print" to the term emulator which sends it to Windows printer w/o ux lp in it at all.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2007 04:31 AM
10-25-2007 04:31 AM
Re: missing a character in print out
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2007 04:50 AM
10-25-2007 04:50 AM
Re: missing a character in print out
Install an absolutely identical external JetDirect and identical printer --- differing only in the IP address. Make certain that all other JetDirect and printer configurations are identical to those on your production system. Depending on the availability of the printer, you can probably find it on the used equipment market or even eBay.
Do not actually configure this printer into the lpsubsystem but rather send output to it using the hpnpf utility FROM THE SAME PRODUCTION SERVER.
You should be able to write a script that will output hundreds of output jobs. If this configuration does not drop characters then move this test JetDirect/printer combination to production (changing the IP address of the JetDirect). If characters are still dropped then you have narrowed the problem to whatever program is actually sending output to port 9100 on this printer. Hpnf observes all the port 9100 protocol rules; I suspect that your application's equivalent almost works perfectly --- the worst kind of problem to debug.
NOTE: This plan assumes that you are indeed using the port 9100 protocol; I have yet to hear you confirm even that data.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2007 05:03 AM
10-25-2007 05:03 AM
Re: missing a character in print out
you keep coming back to filters, printcap et. al. when the issue really *really* appears to be a buffer overflow caused by a lack of handshaking between the JetDirect and the printer itself.
I really don't know (nor do I care) about the details of how its done, but UniVerse, MVBase and other MultiValue databases can communicate w/ emulators (such as AccuTerm) such that a print operation from the server sends data to the emulator. the emulator then allows you to specify the destination for the print. It ususally has settings for "local print" (hardwired com port) or allows printing to any printer defined in the windows network.
Those same databases usually have their own spooling software that is used to send jobs to standard unix print queues via the lp command.
until the issue of how the stuff gets printed gets sorted out, you're not going to make much progress.
I'd call the vendor's support folks and explain to them that your trying to isolate the cause of random, dropped characters in mid-print out, and you would like to know the mechanism they are using to print if it is something other than "lp".
Without that info, you can't send test data to the printer, so I don't know how you can procede w/o determining the methodology first.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2007 05:08 AM
10-25-2007 05:08 AM
Re: missing a character in print out
I whole-heartedly agree! But from the what I've seen so far, it appears that the printer is question isn't even configured. If it is, noone appears to know even the printers logical name, much less anything else about it.