Print to Unix-Server without lpr

Print to Unix-Server without lpr

Post by zeib » Fri, 23 Feb 1996 04:00:00



Hello World,
after an odysee setting up and installing Connect (including the fact, that
I got no CD-Rom and after having transfered files by parallel-cable via
notebook via parallel-cable to my HD, editing response-file, I detected
(second try) that one of the bundle files was corrupted, so I had to go for
the CD-Rom another time, getting the bundle from the XDF on FD), most things
now work fine. The only thing that does not want to cooperate is this
lprportd. Starting it, I was able to edit the server and printer
adresses/names in my printer's settings notebook. But though I'm able to
print via lpr -p xxx -s xxx filename from the prompt, nobody knows about
the fate of the printfiles send via the lprportd to the Solaris workstation
which is addressed as printserver. Do I have to add any options
(filters...)?
And is there a possibilty to redirect WinOS printerports to one of the
lprportd pipes (e.g. LPT4.OS2:=\pipe...).
I read all the articles in this group dealing with similar probs, but none
answered these questions.

Regards

Mirko

--
Mirko Zeibig

Snail:
Mirko Zeibig
Inst. f. Siedlungswasserwirtschaft
Am Fasanengarten
76128 Karlsruhe
Germany

 
 
 

Print to Unix-Server without lpr

Post by Jan Erik Ho » Sat, 24 Feb 1996 04:00:00



Quote:>And is there a possibilty to redirect WinOS printerports to one of the
>lprportd pipes (e.g. LPT4.OS2:=\pipe...).

I don't know why, but lprportd is not supported from WinOS2. I have tried, and the
result is a sloooooow system trying to print (and I had to close the Win-app trying
to print to solve it). The thing to use instead is lprmon, as this is transparent for
the application. You just send your print to the lpt-port in the normal way, and
lprmon intercepts all data sent to the port and routes it to the Unix printer you
want. (syntax: lprmon -p<printer> -s<server> lptx). I personally think IBM should
have implemented lprportd in the same way, allowing any output to a lpt port to
be redirected.
When it comes to monitoring output (where it's gone), try lpq (with the same
parameters for printer/server if they aren't specified in your config.sys). There is
also a -b option to lprmon that will handle the print as binary data (and not
convert it from text to PostScript if you're printing to such a printer).
Hope some of this can be of help to you.

Jan Erik Hoel, Product Specialist
Telenor Teamco AS, Norway

OS/2 Warp Certified Engineer

 
 
 

Print to Unix-Server without lpr

Post by Holger Rh » Sat, 24 Feb 1996 04:00:00


Quote:>>adresses/names in my printer's settings notebook. But though I'm able to
>>print via lpr -p xxx -s xxx filename from the prompt, nobody knows about
>>the fate of the printfiles send via the lprportd to the Solaris workstation
>>which is addressed as printserver. Do I have to add any options

Does any other print possiblity work (via printer object)?


Quote:>When it comes to monitoring output (where it's gone), try lpq (with the same
>parameters for printer/server if they aren't specified in your config.sys). There is

Be careful! lpq asks the printer server not the printer. If the printer has a big
memory, the file is transfered within millisecs, at least faster then you can put in
"lpq -sxxx -pzzz".
As written, use lprmon and be sure you send it to the print server which is
responsible for your preferred printer. In doubt put in the same on your UNIX
account and wait what will happen.

Best, Holger



 
 
 

1. LPR printing to Linux print server

Hi!

I'm trying to print from OS/2 V4 (FP5) to a Linux box running LPRng using
LPR. I've got the latest LPR from frp.software.ibm.com. but I'm still unable
to print. I get the following error message:

The entire document was sent. server reports the error: lp: file
'cfA450tp760.vcc.com112' name format not [cd]f[A-Za-z]NNNhost LPR failed with
return code -20011.

Any ideas?

Thanks!

- Christian

2. Vxworks-search the web quickly with Search Spaniel

3. HELP! print via LPR to unix machine

4. Using MacinTalk

5. lpr printing to a unix laser

6. Informatica -- 20(2) -- Table of contents

7. lpr to unix server, netq box

8. LayerCake(sm):Library Applications of Concept Maps

9. Printing with lpr VS printing with lp

10. Printing to a UNIX server

11. NFS to UNIX-Server connection

12. Toggling Landscape Printing without Print Setup Dlg

13. EMACS: print via lpr not to lpt1???