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!

Author Topic: Multiple Print Jobs  (Read 3077 times)

solcon

  • Sr. Member
  • ****
  • Posts: 25
  • Place Personal Text Here
Multiple Print Jobs
« on: September 02, 2005, 01:13:45 pm »

I have version 4.7 and Windows XP.  I am trying to setup a pass-thru from a SCO Unix system with PC connected to a Equinox board.  The device is tty1a1lp.  When I print it creates several small print jobs, I can not get a one page document to print on one page.

 
Logged

Bob

  • Administrator
  • Ice Artist
  • *****
  • Posts: 1607
Multiple Print Jobs
« Reply #1 on: September 02, 2005, 08:20:39 pm »

You may have to change your print method (see file -> local print setup). It depends a bit on how old your version is too (help->about dejawin). The Equinox board is probably breaking the job into segments and you are getting a formfeed or something between jobs. You didn't say what kind of printer you have and how it's attached to your computer either. This information might help debug the situation.
Logged

solcon

  • Sr. Member
  • ****
  • Posts: 25
  • Place Personal Text Here
Multiple Print Jobs
« Reply #2 on: September 05, 2005, 05:52:30 pm »


I had a HP LaserJet 5 in the office and at home (still working on the problem) I have a HP DeskJet 932C and HP PSC 1300.  The interesting thing I found was the DeskJet work just fine and the PSC worked just like the LaserJet did.  I am going to try the HP DeskJet model under Unix and see what happens.  I will post my results.



Logged

solcon

  • Sr. Member
  • ****
  • Posts: 25
  • Place Personal Text Here
Multiple Print Jobs
« Reply #3 on: September 05, 2005, 06:22:32 pm »


The DeskJet model on Unix did not help.

Logged

Bob

  • Administrator
  • Ice Artist
  • *****
  • Posts: 1607
Multiple Print Jobs
« Reply #4 on: September 06, 2005, 07:50:19 am »

What is the verison of Dejawin (Help->About Dejawin)?
Logged

solcon

  • Sr. Member
  • ****
  • Posts: 25
  • Place Personal Text Here
Multiple Print Jobs
« Reply #5 on: September 06, 2005, 01:24:24 pm »


ICE.TEN 4.7

Emulation 7.10a/32

Windows Interface Version 7.02a
Logged

Bob

  • Administrator
  • Ice Artist
  • *****
  • Posts: 1607
Multiple Print Jobs
« Reply #6 on: September 08, 2005, 08:17:04 am »

4.7 without any build number was the original version of 32 bit ICE.TEN. The current version is 4.7.14. The current version added some printing options that would probably help your situation. Call sales at 612-677-8200 and tell them you need an update. Refer them to this thread.
Logged

solcon

  • Sr. Member
  • ****
  • Posts: 25
  • Place Personal Text Here
Multiple Print Jobs
« Reply #7 on: September 11, 2005, 01:58:41 pm »

I have another client who just purchased a copy of ICE.TEN and the version is as follows;

ICE.TEN 4.7.14

Emulation Verison 7.10a/32

Windows Interface Verison 7.1.1.

I ran into the same problems with the earlier verison of ICE.TEN.  I even tried using the RASTER option, no change.

Are there any other options I can try.   Very appreciative for any help.
Logged

Bob

  • Administrator
  • Ice Artist
  • *****
  • Posts: 1607
Multiple Print Jobs
« Reply #8 on: September 12, 2005, 09:03:33 am »

The 1300 is LIDL. It cannot print characters natively so the only setting that will work with it is Raster.

The 932 is PCL3 so it should work with all 3 settings (depends of course on what the unix machine is putting out).
If the 932 is directly connected, direct is the best setting. It shoud work on normal though as well.

The LJ 5 is PCL6. It should work with all 3 settings too but as with the 932, direct would probably work best.

Some serial boards like the equinox interleave the printing output with the screen output. This IS in effect multiple jobs. These multiport boards expected printers to be connected directly to the back of terminals. They have no concept of a windows style print job. The closest to this terminal style behavior in ICE is the direct setting. The other two settings use the windows spooler and as such the settings for the spooler involving form feeds, print while transfering, job timeouts, etc will affect what you get for output.
Logged

solcon

  • Sr. Member
  • ****
  • Posts: 25
  • Place Personal Text Here
Multiple Print Jobs
« Reply #9 on: September 12, 2005, 02:40:25 pm »

Thank you for the input.  In fact, we were able to create a sort of model (shell script) that is called when we print from our application, piping the output to it.  We can get it to print just fine without making any changes to ICE.TEN.  It is a shell script and it prevents the user from doing anything with their terminal session until the print job is sent to the Windows spooler.  If you like, I can post the shell script to help others.
Logged

Bob

  • Administrator
  • Ice Artist
  • *****
  • Posts: 1607
Multiple Print Jobs
« Reply #10 on: September 12, 2005, 03:52:10 pm »

Yes, please post your solution!
Logged

solcon

  • Sr. Member
  • ****
  • Posts: 25
  • Place Personal Text Here
Multiple Print Jobs
« Reply #11 on: September 13, 2005, 12:18:48 pm »

This solution pretains to ICE.TEN connecting to a Equinox port to Unix and performing pass thru printing.

Before using the shell script, there needs to a environment variable created called TTY (TTY=`tty`; export TTY).

There are two parameters that are passed to the shell script.  The first, is whether to print in normal or compressed mode.   The parameters are; n for normal and c for compressed.  The other parameter is the tty being used.

To call the shell script, do the following;

         cat foo.txt | HPIceTen n $TTY

Note, you need to be running on the tty that has the pass thru printing setup.

Shell Script: HPIceTen
=====================================================

# NAME:      HPIceTen
# REV:      01.00
# AUTHOR:   Solutions Consulting
#
# DESCRIPTION:   This shell script prints files using the ICE.TEN passthru
#      feature as a print queue would, except it does not use the
#      standard Unix Print Spooler.
#
#############################################################################
#
# Setup
#
    TTY=$2

    TURN_ON="\033[5i"
    TURN_OFF="\033[4i"

    COMPRESS="\033&k2S"
    NORMAL="\033&k0S"

    TOP_MARGIN="\033&l0E"
    PAGE_LENGTH="\033&l66P"
    TEXT_LENGTH="\033&l66F"

    RESET="\033E"
#
# Logic
#
    sleep 30

    if test "$1" = "c"
    then
   echo "$TURN_ON$PAGE_LENGTH$TEXT_LENGTH$TOP_MARGIN$COMPRESS\c" > $TTY
    else
   echo "$TURN_ON$PAGE_LENGTH$TEXT_LENGTH$TOP_MARGIN$NORMAL\c"   > $TTY
    fi

    cat <&0 > $TTY

    echo "$RESET$TURN_OFF\f\c" > $TTY

    sleep 2
Logged
 

Page created in 0.014 seconds with 21 queries.