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


How do I set up a network printer or print server?

HP printers, Netgear print servers and others often use direct socket printing. To print, you simply send data to a specific network port: 9100 for HP, 9101 for the second printer on a HP multiport print server, 4010 for Netgear and so on. There's no protocol, headers, trailers - whatever you send, the printer gets



Title Last Comment
Virus scanning for SCO Openserver  
- e-mail virus scanning on an OSR504 system using MMDF as an e-mail gateway to a corporate network. It works off a collection of available tools, some custom code and the SOPHOS anti-virus software -

Kevin Smith's Netcat  
- The original version would read standard in and write it to the network port. The new version also monitors the network port for data being returned. Anything read back from the network port is put out on stdout. -

Moving from SCO to Linux  
- However, it was time to change. I've known for sometime that I needed to pay more attention to Linux. I had installed Linux on spare machines, and played with it here and there, but that isn't enough. To become as conversant with Linux as I am with SCO, I needed to use it every day; I needed to experience the problems, to learn the glitches, to discover the ins and outs. The only way to do that was to make it my personal desktop. -

Real World Printer script  
- RealWorld Printing Script by Bruce Baumann Bruce Baumann offers this script as an example of controlling -

Netgear PrintServer PS110 and CUPS  
- I installed a NetGear PS110 on Mandrake 8.0 Fri, and here are my notes. It took over 4 hours as there was a glitch on one of the systems. -

Netgear PrintServer PS110  
- Although it is usually easy enough to find a Windows PC to configure these with, it isn't absolutely necessary. You can assign an IP address using arp (the MAC address is printed on the bottom of the unit) and then ftp to it, using the "Device name" printed on the unit as the login name, "get config", edit that and then put it back. A final "get RESET" will cause the PS110 to read the new config file. -

Network Printer Port Numbers   2014/07/27 TonyLawrence
- Port numbers for various network print servers. SUMMARY: Some users may want to print through a router or a firewall and may need to allow access to these destination ports through those devices. -

NT vs. Linux - driven to Windows?  
- It took me a little bit of work to track this down, because the NT guys trouble shooting skills were poor, but this was fixable. -

Visionfs Printing to LaserJet- J.P. Radley   2011/01/05 BigDumbDinosaur
- This is a diff format file, suitable for use with patch. -

Visionfs Printing  
- This is an old article about SCO Visionfs printing and is only left here for historical purposes. -

Intel Netport Print Server  
- Hooking up old serial printers can be a pain as RS232 disappears from current desktops. -

Configuring Network Printers  
- HP JetDirect is probably the most common network printer. -

lp driver ioctl program   2010/05/26 TonyLawrence
- Unix Programs: LP Driver ioctl program. C code to accompany the sample SCO Unix driver example. -

lp driver include file  
- This is the include file referenced in the sample Unix parallel port driver code. -

Printer Alias for unform?  
- Understanding printer aliases in bbx configuration files. 'config.bbx' might not be named config.bbx. It might be named anything and might live in any directory. The name & location is variable/configurable. -

CUPS on SCO OSR6  
- Nothing happens to what you're successfully doing. SYSV printing remains the default setting in /etc/default/lpd, unless one day you decide to set it to CUPS. -

hp canaccess printer -->Re Problems trying to access HP Printer   2013/08/30 JonTice
- Problems trying to access HP port 9100 JetDirect Printer from SNMP settings. -

netcat script  
- Hmmmm... HPNP. No garbage left in /tmp after each print job? No spooler lockups when printing a large number (>500) of simultaneous small files? No difficulties autoswitching between Postscribble and PCL? No failure to restart if rebooted while printing? No exessive LAN traffic if printers with one model of JetDirect card ran out of printer and HPNP would poll the printer thousands of times per second? -

(SCO Unix)How can I add or remove printers from the command line?  
- (SCO Unix) How can I add, modify or remove printers from the command line? -

 
 
LOD Communications, Inc.
 
 
(SCO Unix)How do I install a HP Network Printer or Print Server?   2011/06/08 Bill
- (SCO Unix) How to install hp jetdirect print server on Unix. Before you do anything else, the printer needs an IP address. Some models let you do that right on the printer itself, all have Windows software that will assign it, and if all else fails you can configure it with BOOTP. -

(SCO Unix)How do I print man pages from the command line?   2010/12/25 Josh
- (SCO Unix) "man" formats the text with Ctrl-H backspaces and multiple letters to make bold text. Your printer may make a mess of it. -

(SCO Unix)My printer doesn't work at all!  
- (SCO Unix) The first test is whether or not you can print to the raw device -

(SCO Unix)Technical FAQ 7 of 9  
- Questions and Answers Related to Printing (mostly SCO Unix OSR5, some Linux) -

(SCO Unix)What are printer interface scripts?  
- (SCO Unix) What are System V printer interface scripts? Note: these are for SysV printing - CUPS doesn't normally use these. -

(SCO Unix)How do I stop banners from printing?  
- (SCO Unix) Note that there are some Unix printer interface scripts which do not use /etc/default/lpd, and you must use an option to these to disable banners. Also, some Unix printer interface scripts expect the Xenix syntax above. Aren't standards wonderful? -

(SCO Unix)How can I get the file from the print spooler before it prints?  
- (SCO Unix) How can I get the file from the print spooler before it prints? -

(SCO Unix)What is a virtual printer?  
- (SCO Unix) This is how you do "virtual" printers: many names all going to the same print device, but all with diferent options. -

(SCO Unix)My printer faults and prints same document over and over  
- (SCO Unix) My printer faults and prints same document over andover -

(SCO Unix)How do I stop a print job and restart it from the beginning?  
- (SCO Unix) How do I stop a print job and restart it from thebeginning? -

(SCO Unix)How can I send change defaults permanently?  
- (SCO Unix) How can I send change defaults permanently; for example makea -

(SCO Unix)Why does my HP printer start each new page further down?  
- (SCO Unix) Why does my HP printer start each new page furtherdown? -

(SCO Unix)How do I use a printer that's attached to an NT server?  
- (SCO Unix) You can use Visionfs (other articles here explain how) or configure the NT machine to act as an LPD server. NT needs the TCP/IP Printing Service installed, and the service needs to be running (you probably want to set it for Automatic in Services). -

(SCO Unix)How do I use a printer that's shared on a Windows network?  
- (SCO Unix) Using visionfs to share Unix prinyers with Windows users. Curently, I don't know where you can get the latest version of Visionfs : the link below used to work but probably does not now. -

(SCO Unix)Some print jobs from my application fail mysteriously.  
- (SCO Unix) Some print jobs from my application failmysteriously. -

(SCO Unix)Mixing Synchronics and Realworld or other mixed marriages  
- (SCO Unix) Sometimes mixing more than one program causes printer grief because one program adds form feeds to its reports and the other does not, so you have a nasty problem. It's usually not all that hard to fix, though; here's what I did for one customer with that problem: -

(SCO Unix)Can I use Windows printers?  
- This is an old article about Windows printing from SCO Unix and is only left here for historical purposes. -

(SCO Unix)How do I stop staircase output on the printer?  
- (SCO Unix) How to staircase output on the printer (including Sys V printer interface scripts) -

(SCO Unix)How can different users have different default printers?  
- (SCO Unix) Sometimes you want a person's default printer to be different than someone else's (the default printer is the one that gets used when no destination is specified). -

(SCO Unix)How do I make a printer send a form feed at the end of the job?  
- (SCO Unix) How do I make a printer send a form feed at the end of the job? -

(SCO Unix)How do I stop extra form feeds that spit out blank pages?  
- (SCO Unix) How do I stop extra form feeds that spit out blankpages? -

(SCO Unix)How can I make a device that will print to a network printer or send email?  
- (SCO Unix) How can I make a device that will print to a network printer? -

(SCO Unix)How can I print from Netscape without a Postscript printer?  
- Ancient SCO Unix shipped Netscape only capable of printing to Postscript. Here was how to get around that. -

(SCO Unix)What are the escape sequences to select the trays on my HP printer?  
- Back before the dinosaurs died, printers came with manuals that had all this stuff in them. No more.. here are a few unusual codes. -

(SCO Unix)Large print jobs fail on remote printers  
- This is an old article about printcap on SCO Unix and is only left here for historical purposes. -

(SCO Unix)Why do I lose the last few lines of my print job?  
- This is an old article about SCO Unix SysV printing issues and is only left here for historical purposes. -

(SCO Unix)Why does printed output garble or stop after several pages?  
- (SCO Unix) Why does printed output garble or stop after severalpages? -

(SCO Unix)Print jobs fail, and I get mail complaining tcgetattr failed: No such device  
- (SCO Unix) tcgetattr failed: No such device or inappropriate I/O control operation -

(SCO Unix)Which Interface script do I use?  
- This is an old article about choosing SCO Unix System V printer interface scripts and is only left here for historical purposes. -

lpd slow -->Re Problem with lpd going 'out to lunch'when JetDirect printer is not ready.  
- lpd slow -->Re: Problem with lpd going 'out to lunch'when JetDirect printer is not ready. -

config.bbx hp escape codes column off page -->Re HelpConfig.bbx printer description  
- Understanding print codes in bbx config filea of FACTS.Understanding print codes in bbx config filea of FACTS.Where does printing start on the left side of the page? Is it possible someone just buggered up the tractor feed or something so that the paper is further to the left than it could be? -

 
 
 
 
local printing over internet -->Re Printing from Dial-InWin 2K PCs to SCO UNIX - HELP!  
- local printing over internet -->Re: Printing from Dial-InWin 2K PCs to SCO UNIX - HELP! -

Unable to get jobs out of print queue  
- I have a client that had 10 rlp based printers and it was an administration -

hp jet direct will not print  
- The JetDirect box is a print "server". It wants to talk to your OSR5 server. Port 9100, 9101, 9102 are the common IP ports for HPNP. Also, OSR5 needs status information from the print server using SNMP on port 160. -

hp jet direct will not print  
- The activity light flashes on the JD because of LAN traffic. It's non-specific; any LAN traffic will cause it to flicker with the traffic. It's hopeful that you have a link, assuming you have a link light on both the JD and the port on the hub into which it is plugged. -

hpnp getone snmp hp printers 3 port printserver -->ReQuick LP question  
- The HP JunkDirect print server has only one IP address for all 3 ports. SCO HPNP uses SNMP to determine if the print server is ready to print. -