PASSPORT Knowledge Base
Host Printing

Date Published: October 28, 2010

Title

Pass-Through Printing Escape Sequences Not Working

Product

PASSPORT PC to Host, PASSPORT Web to Host

Emulation Types

VT, SCO ANSI

Issue

I am attempting to print out a report using pass-through printing. However, the report is displayed on the emulator screen rather than sent to the printer. What are the start and stop escape sequences that I must use in PASSPORT in order for pass-through printing to work?

Solution

The escape sequences required to enable/disable pass-through print mode in PASSPORT will depend on the host operating system. For example, in a typical SCO Unix environment \033[5i would be used to enable print mode, while \033[4i will disable print mode. In this case \033 is the escape character and the characters that follow are the actual escape sequence. If your host uses a different escape character, you must replace \033 with the appropriate escape character. Some hosts may use ESC for the escape character, while others may use \047. Again, this is very dependent on the host operating system.

 

You must also configure your session to use the correct VT emulation type in order for pass-through printing to work. For example, VT420 must be selected for a VT session since VT52 and VT100 do not have support for pass-through printing.

More Information

Keywords

VT, emulation, type, pass, through, printing, escape, sequence