LinkCom Xpress EIO PRO
Overview Data sheet Manuals Support Partners Contact

LinkCom Xpress EIO PRO

How to customize this aspect of the printers' set-ups to suit individual print jobs

You can define pre- and post-strings for each of the PrintServer's logical printers. A pre-string is a string of characters sent to the printer before each print job; a post-string is sent to the printer after each print job. You can also choose to make the printer replace strings; that is, automatically substitute one string for another.

You can use this feature if you need to customize the printer's set-up for particular print jobs. Customized set-ups could include, for example, font set-up, printer reset, form feed, banner page, or load a form.

  1. Display the PrintServer's Advanced Configuration web page.
  2. Click on the logical printer in the list whose set-up you wish to change.
    The Configure Logical Printer web page is displayed.
  3. Edit the pre-, post-, and replace strings in the adjacent text fields.
    Note: The replace string syntax is [string1], [substitution1]; [stringN], [substitutionN]
  4. Click Save.

Note: Double-quote (") must be written as hex code (0x22). Otherwise the string will be truncated after the first double-quote.
Example: "Hello" is written as 0x22Hello0x22.

Examples

This simple example writes the text This text will be sent before before the job, and This text will be sent after after the job.

  • Pre string: This text will be sent before
  • Post string: This text will be sent after

This example is used to print UNIX jobs on a PCL compatible printer.
It inserts a carriage return <CR> for every line feed <LF>, before each job, and a form feed after each job.

  • Pre string: 0x1b&k2G
  • Post string: 0x0c

This example inserts a form feed <FF> after each job.

  • Pre string:
  • Post string: 0x0c

This example writes a banner page before the job, and adds a form feed at the end:

  • Pre string: * * * * * * Start of new print job * * * * * 0x0c
  • Post string: 0x0c

This example resets an HP and PCL compatible printer

  • Pre string: 0x1bE
  • Post string:

This example selects Landscape paper orientation on an HP and PCL compatible printer

  • Pre string: 0x1bE0x1b&l1O
  • Post string: 0x1bE0x0c

This example selects CG Times 12p font on an HP and PCL compatible printer

  • Pre string: 0x1bE0x1b(0U0x1b(s1p12v0s0b4101T
  • post string: 0x1bE

In this example, a PCL compatible printer changes the orientation of the paper to landscape when it encounters the text $landscape$ at the top of a page, and changes the orientation of the paper to portrait when it encounters the text $portrait$ at the top of a page.

  • Replace: $landscape$, 0x1b&l1O; $portrait$, 0x1b&l0O