Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Escape Sequence

Status
Not open for further replies.

Jump31

Programmer
Jul 11, 2009
1
0
0
Hi,

I am new to PCL and i am just a beginner.We are using PCL Tool to convert PCL to PDF.We are using tool from PageTech to do this conversion. There was a requirement to seperate the file based on the paper selection. This paper selection information is available in the Escape Sequence of PCL Code.How do we read this escape sequence in our TPT script. Is there any in build methods to do it.Any hint or help will be useful.



 
I've no knowledge of 'TPT script' - I assume that this is something to do with 'PCL Tool'.

... and as for 'paper selection' - it depends what you mean by this; for example:

Page Size:
escape sequence {esc}&l#A
Selects required paper size: for example: #=26 -> A4

Paper Source:
escape sequence {esc}&l#H
Selects required paper tray by internal ID # (values are printer-dependent).

Paper Type:
escape sequence {esc}&n#W[Op][String ID]
Selects required paper type (from limited value set supported by target printer); alternative to using 'Paper Source'.
where:
[Op] = d
[String ID] = required paper type; e.g.: LetterHead
# = length of [String ID] + 1
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top