APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

Serial Printer

I wonder if anyone can help with an issue we are having trying to setup a printer on a new Unix server box via Serial Printing. Details as follows:

Title Last Comment
Printing multiple files  
- I have 25 .txt files that I would like to print. They are named 1.txt, 2.txt and so on. How can I do this? -

Overview of Visionfs On SCO Unix   2014/05/20 Mark
- If you find yourelf in the unfortunate position of having to use Visionfs on older SCO, here are some things to know. -

Pass-Through Printing  
- The idea is that if the terminal sees a special key sequence, it will start sending the data out some other port (parallel or serial) until it sees some sequence that tells it to stop. -

Printer Problems/Solutions   2014/11/06 claudius
- SCO Unix Sys V printing basics - explaining interface scripts, simple printer issues and more. Some of this will apply to CUPS printing. -

Serial Printers  
- The secret to success with printers on serial ports is understanding that the computer and the printer must agree on baud rate and flow control -

Local printing in Synchronics   2012/03/07 anonymous
- I know exactly what he has - an old SCO Unix system with a Digiboard multiport serial board, green screen Wyse terminals and Okidata printers with serial cards. I can handle all of that. -

A SCO Openserver to Red Hat Linux Conversion   2011/04/02 TonyLawrence
- A detailed history of a SCO to Linux Conversion - including desktop users. -

Users and their printers  
- In olden days, the need for user assigned printers was met with LPDEST, but of course that is only useful for one printer. This customer needs more. -

Network Troubleshooting   2010/03/16 AndrewSmallshaw
- As it turned out, the problem was very physical: a light fixture had fallen down and loosened some connections to a long forgotten ethernet switch. -

Using System V interface scripts with CUPS printing   2013/11/22 RickHoyle
- But what if I wanted to add an automatic form feed to the end of that, or do some other special processing? -

How do I set up a network printer or print server?   2010/06/23 TonyLawrence
- How do I set up a network printer or print server? -

Print file listings from the command line  
- The OS X Finder suffers from a rather amazing limitation: you can'tprint the list of files you see in a Finder window. -

Switching to Windows  
- Yesterday I popped in to help an app provider with a problem they were having accessing a shared printer from a Windows Server 2008 box -

Switching to a Mac - not yet  
- Quickbooks now wants me to spend a few hundred dollars to upgrade for emailing invoices -

Spoiled Brat Printers  
- printing is a source of a lot of problems and frustrations. -

The Last Time I Climbed a Ladder   2012/07/11 TonyLawrence
- I'm getting too old to be climbing up shaky old ladders. I did it this time, but never again. -

Printers Down  
- There are sometimes little tricks to squeak a few more years out of ancient and unsupported hardware. -

Printing from Solaris to Windows  
- Solaris to windows lpd issues - fireall, getting lpd running on Windows, how to test. -

Creating LPD Filters  
- LPD output filters. There really should be no reason you'd need to do this on any modern Linux, but I had a client with an old RedHat 7.0 system who wanted to control the output to a laser printer, specifically to make it print Landscape orientation. Hard to believe, but "printtool" on that version provided no such option. -

LOD Communications, Inc.
Dual printing   2011/05/23 TonyLawrence
- Multiplexed printing is missing from all Unix/Linux printing systems that I know of. Here's how to add it. -

Wiggle that Mouse  
- Remember, I said this was a while ago - this was System 7 time frame. -

HP's CloudPrint  
- My neighbor mentioned this in passing the other day. He had the details wrong; he thought this sent documents to your cell phone for storage and later printing. No, that's not quite it, but it's almost as silly. -

Wireless print servers  
- Wireless print servers - why? I suppose it's useful but I have my reservations still. -

No more Parallel/Serial?  
- Is parallel port printing gone? If not, it certainly will be soon as USB replaces all of it. A PCI card can be a replacement, but not always. -

Plastering your printer  
- Back in the computer room again. I looked at the printer, it was fairly new: in fact I had installed it not very long ago. It certainly didn't have a worn out feed mechanism and obviously it had just printed several pages. As I thought about that, I became aware that the room seemed humid - much more so than it should have been given the temperature. I then noticed the elephant: a freshly plastered wall. I put my hand on it, it wasn't damp, but it was still fairly cold. The manager had followed me. I turned and asked the obvious: "Was this done recently?". She responded affirmatively. -

Another old SCO box  
- Will this be the very last SCO 3.2v4.2 system I see? Who knows..only time will tel -

Serial Printer  
- I assume you verified that the serial data format being used agrees with the printer. Also, if the LQ 2170 is set to one line buffer mode you will need to implement hardware handshaking. -

GDI Printers  
- Why is Printing to Windows-only GDI (host printers) so difficult? It's because these GDI printer drivers expect GDI data, a Microsoft format that is used both for displays and printers. It's basically a bit map of the page to be printed, but what's more important is what it is not: it isn't text, it isn't PostScript and it isn't PCL. -

Race conditions  
- A "race condition" is a circumstance where you have two things that really need to happen sequentially, but don't. -

SCO upgrade and CUPS  
- New sco 5.0.7 uses CUPS breaks remote printing - requires CUPS reinstall. -

ESP Print Pro  
- Easy Software's PrintPro looks like just a wrapper around Cups -

Print copies problem  
- multiple copies with lpr: When attempt to remote print several copies of a document with the command 'lp -n2 -d printer file', leaves printed one copies. -

Dude, you should have bought the HP  
- The Windows guy had already spent a lot of phone time with Dell. His summary of that was a muttered "Idiots", so it's my guess that they weren't a lot of help. -

repair lp  
- I admit it, I think I toasted the command lp somehow... I get the request id is Cardkey-410(or whichever number it is on) -

Printing from Unix to Windows Printers  
- Using nothing more than the software that comes free as part of most Unix and Windows systems, you can successfully print from Unix to Windows printers. -

PCL6 and Unix  
- PCL6 is much more like Windows GDI than anything else - it's binary commands rather than escape sequences. -

IPP: Tech Words the Day  
- If you fire up your web browser and point it at http://localhost:631 you get the CUPS administration screen. That's the IPP port. -

Lock file permissions (lpd)  
- My syslog is filling up with the following but I cannopt find out how to stop it. -

Print to FAX with custom tags  
- How to use VSIFAX as the target of a System V printer interface script with custom tags. -

Transferring mail to a new mail server  
- Your current mail server may just not be meeting your needs, so you've put up something new. But what about old mail? -

Simplified SCO_OSR5 Printing  
- Although this article strongly references SCO Unix printing, the background and trouble-shooting tips are valuable on any Unix/Linux platform. -

- Print filters. Whether it's CUPS, LPRng or plain old LPD, you often need a filter in between application data and the physical printer. In olden times, you'd use specific filters for specific purposes, but the trend now is to Swiss army knife, do everything programs. -

Parallel printer cable length  
- The docs for OS/2 stated that 6 feet was the maximum length the printer cable could be for a parallel port connection. So, I guess the OS has something to do with this spec? Limits to Parallel printer cable length. Given that reliable parallel port operation limits one to a cable length of no more than 15 feet, network print servers make a lot more sense. -

How ps works and why  
- Almost every Unix variant does 'ps' slightly differently; flags have different meanings and column headers or position also differ. -

(SCO Unix)FAQ - How can I make a printer that will print to a file?  
- (SCO Unix) Setting up a printer that will print to a file can be useful for any number of reasons. It's not hard to do. -

Using the spooler to print to email  
- First define a new spooler destination using the dumb interface script and /dev/null for the device. Give your new spooler destination a name - I called mine email displaying a deficit of imagination. Next, change directory to /usr/spool/lp/admins/lp/interfaces and edit email if that's what you called it. I use and like vi for editing but you can use whatever editor you like. Finally, I added a line, changing the FILTER to get the emailing done. -

More using the spooler to print to email: email attachments  
- We already know how to modify a spooler interface script to email plain text to people, but it bothered me that print jobs with embedded PCL commands or other escape codes might get mangled in the emailing process. -

IXANY   2010/02/25 anonymous
- Rapidly fading from having any importance to the average user, these have to do with software flow control. This was once very important for terminal users, and still does have importance for any serial device you may be using (printer, bar code reader, etc.) -

'arpwatch' for security and administration  
- 'arpwatch' for security and administration. arpwatch' is also a useful administration tool. We recently purchased 7 HP print servers for some printers, and new offices. Since they initially get their IP address from a DHCP server, arpwatch emails me when I put a print server on the network. -

Printing to a remote printer with a dynamic address  
- You have a PC at home and you make some sort of connection over the internet to your server, but your application needs to print to your PC. -

- If you are coming from the Windows world, you are probably bewildered by the multiple kinds of printing schemes in Unix. There's lpd, System V, direct to port, smb, CUPS, LPRng and weird stuff that uses ftp, and probably more. Worse, there is no such thing as a printer driver in the same sense as you have in Windows. -

Converting Print Files to HTML Invoices  
- Example of HTML Invoice generated from Perl script. The basic transformation is done by a Perl script running on a Windows server. -

Converting Print Files to HTML Invoices (Sample)  
- -

Converting Print Files to HTML Invoices  
- Takes a CSV file and turns it into HTML invoices that are ready to print -

Using Netcat for a simple lpr client  
- A simple Linux shell script to write to lpd printers using the 'netcat' utility. -

(SCO Unix)What is netcat and how do I use it?  
- Using direct port printing on SCO Unix with Kevin Smith's 'netcat' for SCO. Note that Linux can do this in CUPS - this is only for old SCO Unix. -

Setting up Netcat Printers  
- This is about how to set up tcp/ip printers on SCO Unix and is only left here for historical purposes. -

RS232 Wiring Diagrams  
- Color coded diagram for understanding RS232 EIA-232 Wiring pinouts printers, terminals and modems. DB9 and DB25. -

Network Printing by Todd Radermacher & Mathew Gast  
- I'll give this a lukewarm endorsement. It's pretty good for what it covers, but it leaves out too much. Perhaps the title should have been "Network printing from the viewpoint of a BSD-centric administrator". -

More Printing articles