Serial printer won't just print when i 'dd' to it ?

In an office i help to set up there is a windows box connected to a genicom 6218 printer thru serial EIA232 port.
There is also an older genicom LA36N dot matrix printer laying around.
The windows box has a legacy application that communicates directly with the printer bypassing all the windows printing system
All connections are made with 3 wire null modem cables - tx rx earth. no advanced control signals
YAY SIMPLE TEXT PRINTERS. LETS PLAY WITH 'EM. So i brought in my linux box
When the LA36N is hooked up to the linux box ttyS0 then dd'ing or cat'ing a text file to /dev/tyS0 prints it okay. as expected.
When doing the same with the 6218 it prints half line of some random gibberish (not the text file contents) and stops. if switched to 'offline' then back to 'online' it prints some more and stops. and 2 - 3 times more like that (untill the buffer in the printer is empty ?). the same happens with 'echo "HI" |cat >/dev/ttyS0' too (the amount of gibberish is still few lines long)
I made a 'null modem Y - splitter' cable (where 2 ports are parallel for the receiving devices and in 1 the tx and rx are crossed for the transmitting device) and connected together
Windows box ====x==== linux box = printer
Then printed a document from the application while dd'ing from ttyS0 to a text file on the linux box.
With both printers the resulting text file is identical when printing the same document. Both printers successfully printed the document
Now i connect the printer just to the linux box without the Y cable and dd the file back to the printer.
Again - the 6218 prints gibberish in pauses and the LA36N prints ok
So the question is : Isn't the data being dd'ed to the printer the exact same as when the windows box printed ? Why does the 6218 treat it differently ? 'How does it know' ?
Maybe it something to do with signals sent back to the computer ? well it's not
I connected the Y cable like this
Windows box = linux box ====x==== printer
Then printed a document & dd'ed again with both printers.
In both cases the resulting file is empty - ie there is nothing sent back from the printer to the host

I am not following everything you did, but your problem may be:
Data size (7 vs 8 bit)
Stop length (1 or 2 bit periods)
Parity (even, odd, mark, space)
If the 6218 is finicky about parity it might trip over whatever parity is being sent by the linux box while being compatible with the windows box.  The LA36 may not care about parity.
I am puzzled by the several lines of gibberish in response to "HI" being sent.   Normally I would a Baud mismatch at that point, but both machines work with (I assume) the same settings on the Windows box.
You may want to try different parity settings on the linux box and see what happens.
<pedantic mode>You refer to the reference signal on the cable as "Earth".  In reality, it is a reference signal that may or may not find its way to "Earth" or "Ground".  It should always be kept isolated from the chassis to minimize ground (earth) loops in order to maximize your signal integrity.  In your description of your cross over cable, you did not explicitly state that you included a signal ground.  If you did only swap pins 2 and 3, then you are depending on chassis grounds between 2 or 3 boxes.  This is a bad idea.  Ensure you tie all signal grounds on your cables (pin 7 on a DB-25 or pin 1 on DB-9)</pedantic mode>

Similar Messages

  • My Serial Number won't be accepted when I try to download Premiere Elements 13?

    I have a MacBook Pro Laptop and I recently purchased Premiere Elements 13 as I need it for School and Work however when i get to the final stages of downloading, my serial number isn't being accepted and I have tried many methods of downloading! IF anyone has had the same or similar issues please let me know! I paid a lot for this and I really need the program.

    travisw
    Let us see if we can resolve this issue...
    Let us go through the typical drill....
    1. Does the problem exist with and without the antivirus and firewall(s) disabled?
    2. Are you working with a pen and tablet instead of a mouse?
    3. Do you have the latest version of QuickTime installed and are you running the programs as administrator?
    4. Is your video card/graphics card driver up to date according to the web site of the manufacturer of the card?
    5. Are you running the program with an active Internet connection? What computer browser are you using for the download
    of replacement installation files? Have you tried another for the download - such as Internet Explorer or Firefox?
    Suggestions
    1. Uninstall the program the typical Control Panel way
    2. Do a free ccleaner run through (regular and registry cleaning parts) to get rid of leftovers from incomplete installs/reinstalls
    CCleaner - Download
    3. Install the Premiere Elements 13 tryout from the following web site and insert your purchased serial number in them during
    installation.
    Adobe Photoshop Elements 13 Direct Download Links, Premiere too | ProDesignTools
    4. Install the 13.1 Update from an opened project's Help Menu/Updates.
    5. If all else fails, try creating a new user account with administrative privileges and installing and trying to run Premiere Elements 13 from there.
    If you check the Event Viewer/Windows Logs and its Application, do you see any description for the cause of the problems on the dates when
    the problem presented?
    Any questions or need clarification on the above, please do not hesitate to ask.
    Thank you.
    ATR

  • How do i fix my printer when it won't show the print preview for web pages? it worked and now not.

    how do i fix my printer when it won't show the print preview for web pages?  it worked for a while and now it doesn't.  printer is an hp officejet 7310 all-in-one.

    I would suspect this is a hardware issue.  The rollers are probably having issues picking up the relatively smooth thick media.  You might have better results be cleaning the paper pickup rollers with a damp paper towel.  Also make sure the paper is snugly loaded and the paper guides have been correctly positioned.
    Regards,
    Bob Headrick, MS MVP Printing/Imaging
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • The cyan color won't print when using our HP Pro 6500 Officejet printer

    the cyan color won't print when using our HP Pro 6500 Officejet printer.  Can I get help with this?

    This doesn't make sense. The printer is exhibiting behavior noticed when a network printer is connected to a laptop while the laptop is connected to a VPN. But in this case, neither the printer is connected on a network, not is the laptop connected to a VPN per se.
    Are you sure all the latest drivers for your laptop have been installed? That's pretty much the only thing I can think of right now.
    Make it easier for other people to find solutions, by marking my answer with \'Accept as Solution\' if it solves your problem.
    Click on the BLUE KUDOS button on the left to say "Thanks"
    I am an ex-HP Employee.

  • HT1150 I have two shared printers and I want to be able to select the printer when it is time to print without having to set a default EACH time.  Can I just have a prompt to ask me which printer to use???

    I have two shared printers and I want to be able to select one printer when it is time to print without having to set a default EACH time.  Can I just have a prompt or dialog box that will ask me which printer would you like to use???  The only options I can find are "default" and "Last printer used" which means I must go into the Print & Fax area and change the default EACH time I want to print???  Seems very low tech.....

    junnybug wrote:
    Can I just have a prompt or dialog box that will ask me which printer would you like to use???
    In most cases you get this dialog box every time you print. It is called the print dialog and normally when you print, a print dialog appear showing the printer that is to be used. Which printer you see will be based on what you have set in Print & Fax as you mention. But regardless of what you have set there, you still have the option to change the printer via the print dialog.
    If you are using an application that does not show the print dialog, like MS Word and that stupid "print one copy" print icon in the toolbar, then you can often change the action the print icon uses so that the print dialog appears.

  • LaserJet 1320tn Pausing When Trying To Print - Won't Print When Resumed

    Hello Everyone,
    Until about a week ago users in my office who print to a networked LaserJet 1320tn were able to print to it. Now, when trying to print a document, the printer pauses itself, and continues to pause itself when I try to resume printing. Here is the log file from the printer when trying to un-pause the printer.
    Wednesday, October 1, 2008 5:27:55 PM US/Pacific
    I [01/Oct/2008:17:28:01 -0700] [Job ???] Request file type is application/postscript.
    I [01/Oct/2008:17:28:01 -0700] [Job 6070] Adding start banner page "none".
    I [01/Oct/2008:17:28:01 -0700] [Job 6070] Adding end banner page "none".
    I [01/Oct/2008:17:28:01 -0700] [Job 6070] File of type application/postscript queued by "kristianmartin".
    I [01/Oct/2008:17:28:06 -0700] Saving printers.conf...
    I [01/Oct/2008:17:28:06 -0700] Printer "Spanky" started by "root".
    I [01/Oct/2008:17:28:06 -0700] [Job 6070] Started filter /usr/libexec/cups/filter/pstops (PID 455)
    I [01/Oct/2008:17:28:06 -0700] [Job 6070] Started filter /Library/Printers/hp/filter/hpPostProcessing.bundle/Contents/MacOS/hpPostProces sing (PID 456)
    I [01/Oct/2008:17:28:06 -0700] [Job 6070] Started backend /usr/libexec/cups/backend/mdns (PID 457)
    E [01/Oct/2008:17:28:09 -0700] PID 457 (/usr/libexec/cups/backend/mdns) stopped with status 1!
    I [01/Oct/2008:17:28:09 -0700] Hint: Try setting the LogLevel to "debug" to find out more.
    I [01/Oct/2008:17:28:09 -0700] [Job 6070] Backend returned status 1 (failed)
    I [01/Oct/2008:17:28:09 -0700] Saving printers.conf...
    If you have any suggestions please let me know. I am willing to try anything.

    Can you show us the new error_log?
    I'm starting to think you may need to reinstall OS X using the Archive and Install option.
    Before that, try these:
    http://support.apple.com/kb/HT1341
    http://support.apple.com/kb/TS1417 (go to try disk utility)

  • My hp deskjet 1510 series does not print when connected to my hplap top (windows Vista),

    My hp deskjet 1510 series does not print when connected to my hp lap top (windows Vista), it says the printer is not active, although it is default printer, connected and on. However, it does work when connected to the (also HP) lap top (windows 8) of my husband.  I did everything the hp print and scan doctor advised and also what I could find at HP support (like switch of fire walls, reinstall everything, check printpooler ec etc)... it still does nothing except that I managed to print a diagnostic print which should give information about the condition,  but it only gives numbers and letters like : 11. SN = [Edited for Personal Information] Yr  12 PER = 05YR etc, that does not really help me :-). It won't print any testpages.  H E L P!!!

    Hello Elisabeeth,
    Welcome to the HP Forums!
    I understand you're unable to print using the Deskjet 1510. I will do my best to assist you! When you reinstall the HP software, did the installation state it was complete?
    I would start off by following this HP document on 'Printer is offline' Message Displays on the Computer and the Printer Will Not Print. From this document, please make sure you check the connection type and the ports.
    Please post your results, as I will be looking forward to hearing from you.
    I worked on behalf of HP.

  • Communication problem with Adobe 9.0 and HP Printer when I scan

    I'm having a problem getting a .pdf file to come up when I scan from a HP 5610 All-in-one printer. Have uninstalled and reinstalled HP software three times but when I scan and want a pdf file it won't communicate with Adobe 9.0 reader for some reason. Is there a setting in Adobe reader that's a problem?
    Thanks.

    Thanks...found out that an HP5610xi All-in-One will not completely communicate with Adobe 9.0   Had to go to Adobe 6.0
    Date: Thu, 17 Dec 2009 03:19:49 -0700
    From: [email protected]
    To: [email protected]
    Subject: Communication problem with Adobe 9.0 and HP Printer when I scan
    May be that the HP software doesn't support Adobe Reader 9.
    >

  • I use floating time zone with all of my iCal entries.  But then the times of the entries do not print when printing month view.  Is there a fix for this?

    I use floating time zone with all of my iCal entries.  But then the times of the entries do not print when printing month view.  Is there a fix for this?

    Sorry to have repeated this question as if I were answering it.  Just a mistake.  I'm just now learning how to use this site.

  • My HP Color Laserjet CP1215 only prints when sending a command from a distant computer (shared pr.)

    My HP Color Laserjet CP1215 won't print when I send a print command from the computer to which the printer is connected to.  The printer is shared. When my colleague sends a print command from another computer, the printer does his job.

    I am currently in the same boat. I love how you posted this legitimate issue 3 years ago and there is still no resolution. It really reflects on the company's character and attitude toward their customers.
    Hopefully this will get a response.

  • HP PSC 2410 - can only print when document contains a color besides B & W..

    Sorry, I got only crickets chirping on this over at "Tiger printing". Thought someone here might have insight w/ the user account "smoking gun" element. Background...
    It has been frustrating since the update 10.4.7 "broke" my printing ease (it did, for whatever reason).
    By accident, I finally discovered that if a text document from any program contains a color (if no color, B&W, it will not print --juts spits out blank pages) it will print when set to grayscale or color. So I have to convert any B & W documnt to a color and it will print (whether I set to gray scale or color --weird).
    I created a new user account for a test, and it printed black text in "TextEdit" --okay, good, helps me narrow it down, right? So then I followed these instructions from another thread here:
    "If a new user does not have the problem, then chances are it is a file in the user library. Reset the printing system, and go through and delete the com.apple.print... preference files and everything in the Printers folder. Reinstall the printer and see if that does it."
    Tried it and it didn't work...
    Weeks ago, I went through days and days w/ HP support through e-mail, as they would hand it off from one tech to another. Non officially they just sorta gave up on my case (I know I'm not the only one as my buddy has the same issue). I have installed their new driver, etc. I've been through many many steps of deleting this and that, but nothing worked. In all that time they never suggested the new user account. I was holding onto hope that 10.4.8. might help. Nope.
    I'm hoping someone smarter than me will identify what I need to do next, a the above didn't help. Obviously the user account stuff is reavealing something in my account (a pref?) is not playing nice w/ the HP printer Thanks.
    T i m

    Didn't notice anything here on 10.4.8 intel with the latest drivers that it did not print some things, but did notice that when i print almost 100% cpu is used to do it.
    Remove all stuff, Try installing latest 'drivers' again (see hp.com) and tell if it is still there.
    If so: please tell what os, what mac.

  • HP 5510,windows 7, new setup of printer, "unable to communicate with printer" when i try to print

    HP 5510, Windows 7, new printer, just picked it up!, "unable to communicate with printer" when I try to print a page, all network conections check out OK with Print Diagnostic Utility.

    Are you receiving any error messages when you print from the desktop? Its possible the print spooler is having issues which is not pushing the jobs to the printer. Lets restart the print spooler to get any old jobs that could be stuck in the queue removed.
    1. Press the start orb in the bottom left on the screen.
    2. Click on "Run"
    3. Type "services.msc" (without the quotes)
    4. Locate the Print Spooler service in the right column
    5. Click restart on the service link on the left
    After it restarts the spooler go ahead and retry printing. Let me know if this works.
    Thanks,
    Sean
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

  • HP Photosmart 7520 e-All-in-O​ne Printer when trying to photocopy says incorrect paper size

    HP Photosmart 7520 e-All-in-One Printer - WHEN i AM TRYING TO MAKE A COPY COPY OF AN A4 DOCUMENT WITH A4 PAPER INSTALLED.  iT KEEPS PUTTING THROUGH A BLANK SHEET AND SAYING INCORRECT PAPER SIZE.   HELP!!
    I HAVE CHECKED FOR UPDATED SOFTWARE ETC, CLEANED THE GLASS, TURNED OFF AND ON ETC - NO LUCK.
    Why is it such a major task just to photocopy one standard piece of A4 paper with just a letter contained no photos etc or anything too tasking.
    Any help much appreciated

    Hey there @SMFTEDDY ,
    I saw your thread and messages and wanted to add to it. I have checked the Copy Menu on the printer itself (below), and it does not contain the option to copy in A4 size. You might just have to use the work around scanning method recommended above to get to use the A4 size you wish to use with the Photosmart 7520.
    Good luck
    R a i n b o w 7000I work on behalf of HP
    Click the “Kudos Thumbs Up" at the bottom of this post to say
    “Thanks” for helping!
    Click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution!

  • Connecting a serial printer and a USB printer to my G4

    I have aquired two Epson Stylus USB printers one of which I have connected to my Windows machine replacing a Star LS24-200 dot matrix serial printer. The other, a C86, is now connected to my G4 replacing a defunct C84.
    The Star is in perfect working order (vintage 1992!) and I have several new ink tapes for it. As I have a serial PCI card in my G4, to which is connected an external HD and a Lacie CD-ROM drive, can I also connect the Star printer as a second printer in order to save on black inkjet cartridges?
    The external CD-ROM drive and external HD were originally connected to my now redundant 7500/100 Mac. They are still useful though if I have to disconnect them there will not be a problem.
    Any suggestions please?
    Dual 450 MHz G4   Mac OS X (10.4.7)  

    "As I have a serial PCI card in my G4, to which is connected an external HD and a Lacie CD-ROM drive, can I also connect the Star printer as a second printer in order to save on black inkjet cartridges?"
    If previously used with your 7500, these external peripherals are undoubtedly SCSI devices, so your G4 must have a SCSI (not "serial") PCI card, such as the Adaptec 2906 with a DB-25 port. Unless that 1992-vintage printer is equipped for connection via SCSI and has Mac drivers that are compatible with the current OS on the G4, you won't be able to connect/use it. Before the ease of USB connectivity, a typical PC printer cable was described as a "Centronics-36 to DB-25" and was intended for connection to the PC's DB-25 parallel port. Although similar in appearance to the DB-25 SCSI port found on many Macs and SCSI peripherals, the two buses are not compatible. Damage to the peripheral and/or host device can occur, if a PC printer is connected to a Mac's SCSI port.
    Your only option for using the printer with a Mac would be a USB-to-parallel adapter with included drivers for the printer, such as the now-discontinued "PowerPrint" product. If you check eBay, you may be able to find one.

  • HT5364 I installed OX X Moutain Lion and now I have trouble printing pdf documents--get messages like "plug in failed" or "no pages selected on printer" when clearly pages are selected

    I installed OS X Mountain Lion on my desktop MAC and since then I cannot print pdf documents---I get messages like "plug in failed" or sometimes "no pages selected on printer" when clearly pages are selected

    DO NOT USE PREVIEW TO FILL OUT PDF FORMS, IT WILL DESTROY PDF FILES. Sorry, but I had to shout here to prevent damage to your PDF files.
    Here is one of the symptoms when you fill out a PDF form with Preview: If you save it and return it to the author, they will not be able to see the text that you've added to form fields - unless they click on a field, which will reveal the contents of just that field. You can recover from this problem, but Preview will also remove other field types, and will actually rewrite your complete PDF while ignoring what it does not understand. Take a look at this blog post for more information about the damage that Preview will cause: Preview.app - Killer of PDF Files

  • How can I fix a printing problem: message cannot print document: "no pages selected to print" when printing a pdf file.

    I am having problems printing a pdf document. When I select a file to print and try to print it says that "no pages selected to print". The default all pages was selected by me but the message keeps coming up. I recently installed adobe reader version 11. Rebooted the computer but sitll having issues printing docs.
    Jerseyguy

    Hi Pat.
    Yes, both of them lead to the very same error.
    I have a workaround, kind of, where I preview the document and select all the pages that are correct (read showing on the pages preview) as included in the 1st screenshot.
    As you can see in the first screenshot, the 5th page seems to be non-existandt, however as I try to preview it from the 3rdP software, it comes up just fine and from there I can print it individually... just annoying when you have 50 pages and 6 of then are randomly not showing up.
    If I try to print the whole document, it simply gives me the 2nd, 3rd and 4th screenshots.
    As for the 3rdP software, as stated in prior posts, it has been working flawlesly for the last 5 years, and has not been updated in any way, shape of form... As you said, maybe it wouldn't be a bad idea to look into that, however I don't believe the contract for the software maintenance is still in effect...
    Thanks.

Maybe you are looking for

  • Pricing error; ''Condition record exists, but has not been set''

    hello friends we created the order (credit memo req), refer to this created the credit memo. in the order one line item and only 2 condition records base price and tax (MWST) in the order both conditions are coming and in the invoice it is not showin

  • Error 26: Error during syntax check of IDoc (outbound)

    Hi all,    I am getting error when we try to generate IDoc in Outbound process (to send data from SAP to external Interface).   Error no is 26. And I have checked the status records, it shows the below error message. "EDI: Syntax error in IDoc (too m

  • Formating in Report 10G

    I am getting the following output. SNO GR BOOK SCNO BILLNO RCTNO RCTDATE RCT-AMT SNO GR BOOK SCNO BILLNO RCTNO RCTDATE RCT-AMT 1 592 E258 073688 9 291182 101108 6400 2 592 E256 085375 9 291183 101108 24900 3 592 E256 020404 9 291185 101108 97600 4 59

  • Reg : ALV fieldcatelog

    hi , Can anyone tell me why do we use the parameters Ref_fieldname (reference field name) and Ref_tabname (reference table/structure field name) in ALV field catelog. IAM confused over parameters fieldname and Ref_fieldname and tabname and Ref_tabnam

  • Ibook G3 running 10.3.9 transfer to a Macbook running 10.7.5.

    I have an old Ibook G3 running 10.3.9 and would like to transfer its files to a Macbook running 10.7.5. I have one Apple cable that looks like a USB on one side and a phone charger on the other. I'd also be willing to do it wirelessly if possible. An