ICE

Please login or register.

Login with username, password and session length
Advanced search  

News:

ICETCP.PRO and ICETCP.PLUS are compatible with Windows 11!

Pages: [1] 2

Author Topic: ICELPD , CUPS, Red Hat ES 4  (Read 2956 times)

jbarrie

  • Jr. Member
  • **
  • Posts: 9
ICELPD , CUPS, Red Hat ES 4
« 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?
Logged

Bob

  • Administrator
  • Ice Artist
  • *****
  • Posts: 1607
Re: ICELPD , CUPS, Red Hat ES 4
« Reply #1 on: January 15, 2009, 09:39:36 am »

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/
« Last Edit: August 09, 2010, 10:03:37 am by Bob »
Logged

jbarrie

  • Jr. Member
  • **
  • Posts: 9
Re: ICELPD , CUPS, Red Hat ES 4
« Reply #2 on: January 15, 2009, 01:28:12 pm »

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?
Logged

Bob

  • Administrator
  • Ice Artist
  • *****
  • Posts: 1607
Re: ICELPD , CUPS, Red Hat ES 4
« Reply #3 on: January 15, 2009, 02:36:33 pm »

The ones on the website are older and really should not be there. I'm removing them. Please use the ones from your CD.
Logged

jbarrie

  • Jr. Member
  • **
  • Posts: 9
Re: ICELPD , CUPS, Red Hat ES 4
« Reply #4 on: January 15, 2009, 02:50:39 pm »

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!
Logged

Bob

  • Administrator
  • Ice Artist
  • *****
  • Posts: 1607
Re: ICELPD , CUPS, Red Hat ES 4
« Reply #5 on: January 15, 2009, 03:03:42 pm »

Replied via email
Logged

jbarrie

  • Jr. Member
  • **
  • Posts: 9
Re: ICELPD , CUPS, Red Hat ES 4
« Reply #6 on: January 17, 2009, 03:32:43 pm »

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.


Logged

Bob

  • Administrator
  • Ice Artist
  • *****
  • Posts: 1607
Re: ICELPD , CUPS, Red Hat ES 4
« Reply #7 on: January 19, 2009, 09:58:49 am »

...
  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)??
Logged

jbarrie

  • Jr. Member
  • **
  • Posts: 9
Re: ICELPD , CUPS, Red Hat ES 4
« Reply #8 on: January 20, 2009, 01:29:09 pm »

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.
Logged

Bob

  • Administrator
  • Ice Artist
  • *****
  • Posts: 1607
Re: ICELPD , CUPS, Red Hat ES 4
« Reply #9 on: January 20, 2009, 04:41:07 pm »

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
Logged

jbarrie

  • Jr. Member
  • **
  • Posts: 9
Re: ICELPD , CUPS, Red Hat ES 4
« Reply #10 on: January 21, 2009, 07:46:23 am »

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.
Logged

Bob

  • Administrator
  • Ice Artist
  • *****
  • Posts: 1607
Re: ICELPD , CUPS, Red Hat ES 4
« Reply #11 on: January 22, 2009, 09:49:35 am »

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??
Logged

jbarrie

  • Jr. Member
  • **
  • Posts: 9
Re: ICELPD , CUPS, Red Hat ES 4
« Reply #12 on: January 22, 2009, 04:21:39 pm »

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.
Logged

Bob

  • Administrator
  • Ice Artist
  • *****
  • Posts: 1607
Re: ICELPD , CUPS, Red Hat ES 4
« Reply #13 on: January 26, 2009, 11:41:36 am »

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).
Logged

jbarrie

  • Jr. Member
  • **
  • Posts: 9
Re: ICELPD , CUPS, Red Hat ES 4
« Reply #14 on: January 26, 2009, 02:48:05 pm »

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?
Logged
Pages: [1] 2
 

Page created in 0.014 seconds with 20 queries.