ICE
TCP/IP Products => TCP-PRO => Topic started by: jbarrie on January 15, 2009, 08:16:54 am
-
Currently we have Icelpd running on a SCO Unix server. We are in the process of replacing that with a Red Hat ES Linux server. What is needed to set up Icelpd with that and CUPS?
-
On the CD in the linux/cups directory there is info on using cups.
You can also look on our support ftp server:
ftp://ftp.jriver.com/pub/TECH.SUPPORT/cups/ (http://ftp://ftp.jriver.com/pub/TECH.SUPPORT/cups/)
-
Thanks. Is the icelpd.linux binary file referred to in icelpd.cups.txt the same as the icelpd binary found in the Linux folder on the ftp site?
-
The ones on the website are older and really should not be there. I'm removing them. Please use the ones from your CD.
-
Unfortunately I don't have access to the CD and we are scheduled to do the switch on Saturday. Is there any way that you could send them to me, or put fresh ones on the ftp site?
Would be much appreciated!
-
Replied via email
-
Everything is working except for one thing - formatting. If I send
lpr foo.txt -o cpi=17 -Pprinter
the cpi option is ignored. If I send the command to a printer that is connected directly to the network, it comes out formatted correctly.
-
...
If I send the command to a printer that is connected directly to the network, it comes out formatted correctly.
Please elaborate on this. Do you mean directly from the unix machine to the network printer (without passing through a PC)??
-
If I send the command from the unix machine to a network printer (one with built in ethernet) it prints condensed, which is correct. If I send it to a printer that's attached to a PC, the cpi option is ignored and it comes out in standard font.
Previously this worked fine on our old SCO box.
-
The raster print driver (which you are using with ICE to talk to the networked winprinters) only emulates a standard lineprinter. So you should set your app or unix spooled driver to emulate a line printer. The recognized codes are:
LF = 10 dec = 0A hex = Control J = Linefeed
CR = 13 dec = 0D hex = Control M = Carriage Return
FF = 12 dec = 0C hex = Control L = Form Feed
SI = 15 dec = 0F hex = Control O = Condensed print on
DC2 = 18 dec = 12 hex = Control R = Condensed print off
-
I'm not sure I follow. The printer in question is an Epson590 dot matrix printer and we need it to print at 17cpi. Our software just passes the output to the lpr command.
-
I believe the epson has the same codes.
Since you are just printing from the spooler, the backend script may need to be altered to send the condensed on/off codes.
Are you ALWAYS printing condensed or just part of the time??
-
Just part of the time. We have a few printers (laser and dot matrix) that people print to. There is one report that needs to be printed in condensed font (17cpi) to the Epson, and so it is set up as a separate printer using those commands.
Temporarily I have condensed going to a canon multifunction laser machine, which is connected directly to the LAN.
-
To make this work you would need to capture the cpi option in the backend script and add the SI and DC2 codes described above to the job being printed. You can see how that works in the text conversion section where the CRLF translation is done (and the option for adding a form feed is done).
-
I've looked at the backend script, but I'm afraid that it's a little over my head. Can you tell me exactly what needs to be added?
-
I can probably work something up but it might be a couple of days.