TCP/IP Products > TCP-PLUS

Tips and Tricks

(1/2) > >>

Bob:
This thread will be for common info on shortcuts and other tips for using ICE.TCP.PLUS

Bob:
This is an example of a simple ICELP script that does text printing (converts Unix style end of lines to printer style end of lines)

There are also some comments in here for binary only printing as well (for example, if you are printing postscript or graphics)

Follow this link to download it

ftp://ftp.jriver.com/pub/TECH.SUPPORT/icelptext.Z

Also, make sure you pull this directly to your unix machine or if you use a windows machine and then move it to a unix machine, make sure both ftp transfers are the same (i.e. both binary or both ascii).

For info on installing print spool files for ICELP on systems not covered in the manual, see the ICELP section on the support page: http://jriver.com/support/tcp.html

Bob:
The default port for icelpd is 2346.

If you are logged into the unix machine you can do a couple of quick tests to see if you have installed icelpd properly.

First type:

icelpd -c

you should get back:


                Icelpd - ICE.TCP Print Server.
                Version 4.07b.
                By Roman Oliynyk.
                (C) 1994 James River Group, INC.
                All rights reserved.

Then try:

telnet 127.0.0.1 2346

if you get "connection refused" you do not have icelpd installed in the inetd or xinetd config files properly. See the manual for more info.

if you get a connection you can try typing in:

ICELP*

and hit ENTER

you should get back

HI_ICELP

If you don't you still don't have icelp installed properly, check the
manual for more info.


Bob:
See the same topic under this thread.

http://yabb.jriver.com/ice/index.php?board=2;action=display;threadid=19

Bob:
In the following examples, substitute for the letter c a value from the color table:

0 Black
1 Blue
2 Green
3 Cyan
4 Red
5 Magenta
6 Brown
7 White
8 Grey
9 Bright Blue
10 Bright Green
11 Bright Cyan
12 Bright Red
13 Bright Magenta
14 Bright Brown (Yellow)
15 Bright White

ESC[=cF   Set Normal Foreground color
ESC[=cG  Set Normal Background color
ESC[=cH  Set Reverse Video Foreground color
ESC[=cI   Set Reverse Video Background color
ESC[=cJ   Set Line Graphic Char Foreground color
ESC[=cK  Set Line Graphic Char Background color
ESC[=cL  Set fill bg attribute color. If c=0 fill w/ current bg
                 if c=1 fill w/ base color.
ESC[=cN  Set Write Protect Char Foreground Color
ESC[=cO  Set Write Protect Char Background Color
ESC[=cR   Set Blink Foreground color
ESC[=cS   Set Blink Background color
ESC[=T     Reset all of the above to their default values and
                 attributes to their default colors
ESC[=cU   Set underline normal foreground color
ESC[=cV   Set underline normal background color
ESC[=cW  Set underline high foreground color
ESC[=cX   Set underline high background color
ESC[=Cy   Set color fill flag: 0=default bg, 1=current bg
ESC[=Z     Reset all attributes to default colors
ESC[=c\    WYSE graphic attribute where c=0 wyse compat (no
                  seperate graphic attribute) and c=1 old DEJAVU
                  compat (seperate graphic attribute)

Navigation

[0] Message Index

[#] Next page

Go to full version