dbTalk Databases Forums  

How to print from D3 direct to print server without using Linux spooler?

comp.databases.pick comp.databases.pick


Discuss How to print from D3 direct to print server without using Linux spooler? in the comp.databases.pick forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
matt@ox11.com
 
Posts: n/a

Default How to print from D3 direct to print server without using Linux spooler? - 06-05-2005 , 01:11 PM






I'm using RedHat 9 and D3 Linux 7.4.0. The printers have print servers
and I'm using LPR (not CUPS). However I'd rather not use the Linux
print spooler, as it is difficult to manage the print jobs once it has
left D3. I'd like to print directly from the D3 spooler to the print
server. Is there anyway you can tie a TCP/IP port to a D3 port?


Reply With Quote
  #2  
Old   
Ross Ferris
 
Posts: n/a

Default Re: How to print from D3 direct to print server without using Linux spooler? - 06-06-2005 , 02:40 AM






I don't think you will be able to do what you are after 'easily' (at
all).If the print server can be configured for non-standard ports, then
maybe the xinetd/nailed telnet sesction of the install guide will mek
'interesting reading'.

Alternatively, if you have a Windows machine in the mix, you might
consider using smbclient to talk to the printers, assuming you would
find managing printers in Windows easier.


Reply With Quote
  #3  
Old   
bgraetz@bigpond.net.au
 
Posts: n/a

Default Re: How to print from D3 direct to print server without using Linux spooler? - 06-07-2005 , 07:44 AM





matt (AT) ox11 (DOT) com wrote:
Quote:
I'm using RedHat 9 and D3 Linux 7.4.0. The printers have print servers
and I'm using LPR (not CUPS). However I'd rather not use the Linux
print spooler, as it is difficult to manage the print jobs once it has
left D3. I'd like to print directly from the D3 spooler to the print
server. Is there anyway you can tie a TCP/IP port to a D3 port?
Hi,

Have a look for a tool named 'netcat' or 'nc'. You will find it on your
RH media. This tool will allow you to pipe print jobs from the server
to
the print server by passing the spooler, but you will need a script
wrapper.

Do a search on google for 'netcat', you will find many example scripts
that could be used to glue D3 and netcat (nc) togeather, also have a
look
at www.aplawrence.com, this is a SCO site but you will find some useful
scripts there as well (netcat was used a lot on old openserver systems
to
by pass the broken SCO print spooler)

If managing the print jobs is the issue, then Ross's suggestion of
using a
Windows print server is a very good one. Can use either the smbclient
as
suggested or load 'unix print services' onto Windows (unix print
services
are supplied with later windows, but you do have to specifically
install
the option).


HTH

Barry



Reply With Quote
  #4  
Old   
Frank Winans
 
Posts: n/a

Default Re: How to print from D3 direct to print server without using Linux spooler? - 06-07-2005 , 10:53 AM



<bgraetz (AT) bigpond (DOT) net.au> wrote
Quote:
matt (AT) ox11 (DOT) com wrote:
I'm using RedHat 9 and D3 Linux 7.4.0. The printers have print servers
and I'm using LPR (not CUPS). However I'd rather not use the Linux
print spooler, as it is difficult to manage the print jobs once it has
left D3. I'd like to print directly from the D3 spooler to the print
server. Is there anyway you can tie a TCP/IP port to a D3 port?

Have a look for a tool named 'netcat' or 'nc'. You will find it on your
RH media. This tool will allow you to pipe print jobs from the server
to the print server by passing the spooler, but you will need a script
wrapper.

Do a search on google for 'netcat', you will find many example scripts
that could be used to glue D3 and netcat (nc) togeather, also have a
look
at www.aplawrence.com, this is a SCO site but you will find some useful
scripts there as well (netcat was used a lot on old openserver systems
to by pass the broken SCO print spooler)

If managing the print jobs is the issue, then Ross's suggestion of
using a Windows print server is a very good one. Can use either the
smbclient as suggested or load 'unix print services' onto Windows
(unix print services are supplied with later windows, but you do have to
specifically install the option).

Barry
I've got a dlink printer adapter that won't respond to netcat data on port 9100,
though if I do telnet 192.168.0.80 9100 all my keyboard input shows up.
Lpr data shows up fine, as does ftp'd material. Bgraetz really needs to learn
how to do lpq and lprm if he's going to run d3 on a *nix platform, though.
Barry, I'm not sure why he'd want a script -- d3 already puts carriage return on
each line end, and I don't think I'd trust nc to return a reliable status code on how
the operation went out at the physical printer.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.