[U2] ESC in Unidata

2009-07-31 Thread Vaibhav Patil

Please can you tell me the meaning of the following Unidata statement.

PRINT ESC:*p170x:ROW:Y:BODYLINE ;

What is the significance/use of keyword ESC?
-- 
View this message in context: 
http://www.nabble.com/ESC-in-Unidata-tp24755334p24755334.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] ESC in Unidata

2009-07-31 Thread Dave Laansma
It is probably the escape key, ascii 27.  This syntax usually is
telling a terminal (emulator) or printer to do something special.

Each device has its own 'escape sequence' language, as such, that tells
it to do different things.  The sequence of characters that follow the
ESC character are very specific instructions for that particular
device.

For example, move the cursor to a specific row and column on the screen,
or change the characters per inch on the printer to 10.

I cannot tell by this code alone what it is trying to do.

David Laansma
IT Manager
Hubbard Supply Co. 
Direct: 810-342-7143
Office:810-234-8681
Fax: 810-234-6142
www.hubbardsupply.com
Delivering Products, Services, and Innovative Solutions

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Vaibhav Patil
Sent: Friday, July 31, 2009 8:05 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] ESC in Unidata


Please can you tell me the meaning of the following Unidata statement.

PRINT ESC:*p170x:ROW:Y:BODYLINE ;

What is the significance/use of keyword ESC?
-- 
View this message in context:
http://www.nabble.com/ESC-in-Unidata-tp24755334p24755334.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] ESC in Unidata

2009-07-31 Thread Dave Laansma
BTW, here the ESC variable can be replaced with CHAR(27)

This would accomplish the same thing.

David Laansma
IT Manager
Hubbard Supply Co. 
Direct: 810-342-7143
Office:810-234-8681
Fax: 810-234-6142
www.hubbardsupply.com
Delivering Products, Services, and Innovative Solutions


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Vaibhav Patil
Sent: Friday, July 31, 2009 8:05 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] ESC in Unidata


Please can you tell me the meaning of the following Unidata statement.

PRINT ESC:*p170x:ROW:Y:BODYLINE ;

What is the significance/use of keyword ESC?
-- 
View this message in context:
http://www.nabble.com/ESC-in-Unidata-tp24755334p24755334.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] ESC in Unidata

2009-07-31 Thread Israel, John R.
If you dig enough, you will find that ESC is defined somewhere as CHAR(27).  It 
may be buried in INCLUDES. 


John Israel
Sr. Programmer/Analyst
Dayton Superior Corporation
721 Richard St.
Dayton, OH  45342
937-866-0711 x44380

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Vaibhav Patil
Sent: Friday, July 31, 2009 8:05 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] ESC in Unidata


Please can you tell me the meaning of the following Unidata statement.

PRINT ESC:*p170x:ROW:Y:BODYLINE ;

What is the significance/use of keyword ESC?
--
View this message in context: 
http://www.nabble.com/ESC-in-Unidata-tp24755334p24755334.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] ESC in Unidata

2009-07-31 Thread Drew William Henderson
It's a PCL (Laserjet) command for positioning to 170 dots horizontally and ROW 
dots vertically before printing the line.  A subset of the commands available 
can be found here:

http://h2.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=bpl02705

HTH
Drew

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dave Laansma
Sent: Friday, July 31, 2009 8:10 AM
To: U2 Users List
Subject: Re: [U2] ESC in Unidata

It is probably the escape key, ascii 27.  This syntax usually is
telling a terminal (emulator) or printer to do something special.

Each device has its own 'escape sequence' language, as such, that tells
it to do different things.  The sequence of characters that follow the
ESC character are very specific instructions for that particular
device.

For example, move the cursor to a specific row and column on the screen,
or change the characters per inch on the printer to 10.

I cannot tell by this code alone what it is trying to do.

David Laansma
IT Manager
Hubbard Supply Co.
Direct: 810-342-7143
Office:810-234-8681
Fax: 810-234-6142
www.hubbardsupply.com
Delivering Products, Services, and Innovative Solutions

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Vaibhav Patil
Sent: Friday, July 31, 2009 8:05 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] ESC in Unidata


Please can you tell me the meaning of the following Unidata statement.

PRINT ESC:*p170x:ROW:Y:BODYLINE ;

What is the significance/use of keyword ESC?
--
View this message in context:
http://www.nabble.com/ESC-in-Unidata-tp24755334p24755334.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] ESC in Unidata

2009-07-31 Thread Dave Laansma
Perhaps this is part of a barcode?

David Laansma
IT Manager
Hubbard Supply Co. 
Direct: 810-342-7143
Office:810-234-8681
Fax: 810-234-6142
www.hubbardsupply.com
Delivering Products, Services, and Innovative Solutions


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Drew William
Henderson
Sent: Friday, July 31, 2009 8:23 AM
To: U2 Users List
Subject: Re: [U2] ESC in Unidata

It's a PCL (Laserjet) command for positioning to 170 dots horizontally
and ROW dots vertically before printing the line.  A subset of the
commands available can be found here:

http://h2.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=b
pl02705

HTH
Drew

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dave Laansma
Sent: Friday, July 31, 2009 8:10 AM
To: U2 Users List
Subject: Re: [U2] ESC in Unidata

It is probably the escape key, ascii 27.  This syntax usually is
telling a terminal (emulator) or printer to do something special.

Each device has its own 'escape sequence' language, as such, that tells
it to do different things.  The sequence of characters that follow the
ESC character are very specific instructions for that particular
device.

For example, move the cursor to a specific row and column on the screen,
or change the characters per inch on the printer to 10.

I cannot tell by this code alone what it is trying to do.

David Laansma
IT Manager
Hubbard Supply Co.
Direct: 810-342-7143
Office:810-234-8681
Fax: 810-234-6142
www.hubbardsupply.com
Delivering Products, Services, and Innovative Solutions

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Vaibhav Patil
Sent: Friday, July 31, 2009 8:05 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] ESC in Unidata


Please can you tell me the meaning of the following Unidata statement.

PRINT ESC:*p170x:ROW:Y:BODYLINE ;

What is the significance/use of keyword ESC?
--
View this message in context:
http://www.nabble.com/ESC-in-Unidata-tp24755334p24755334.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] ESC in Unidata

2009-07-31 Thread Brian Leach
Dave

Unlikely - most HPs, Brothers etc support the Epson FX-80 style barcode
escape sequences, since these don't clash with anything in PCL. I've just
had a merry time adding support for these into mvPDF's PCL parser.

Brian  

 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org 
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of 
 Dave Laansma
 Sent: 31 July 2009 13:25
 To: U2 Users List
 Subject: Re: [U2] ESC in Unidata
 
 Perhaps this is part of a barcode?
 
 David Laansma
 IT Manager
 Hubbard Supply Co. 
 Direct: 810-342-7143
 Office:810-234-8681
 Fax: 810-234-6142
 www.hubbardsupply.com
 Delivering Products, Services, and Innovative Solutions
 
 
 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of 
 Drew William Henderson
 Sent: Friday, July 31, 2009 8:23 AM
 To: U2 Users List
 Subject: Re: [U2] ESC in Unidata
 
 It's a PCL (Laserjet) command for positioning to 170 dots 
 horizontally and ROW dots vertically before printing the 
 line.  A subset of the commands available can be found here:
 
 http://h2.www2.hp.com/bizsupport/TechSupport/Document.jsp?
 objectID=b
 pl02705
 
 HTH
 Drew
 
 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of 
 Dave Laansma
 Sent: Friday, July 31, 2009 8:10 AM
 To: U2 Users List
 Subject: Re: [U2] ESC in Unidata
 
 It is probably the escape key, ascii 27.  This syntax 
 usually is telling a terminal (emulator) or printer to do 
 something special.
 
 Each device has its own 'escape sequence' language, as such, 
 that tells it to do different things.  The sequence of 
 characters that follow the ESC character are very specific 
 instructions for that particular device.
 
 For example, move the cursor to a specific row and column on 
 the screen, or change the characters per inch on the printer to 10.
 
 I cannot tell by this code alone what it is trying to do.
 
 David Laansma
 IT Manager
 Hubbard Supply Co.
 Direct: 810-342-7143
 Office:810-234-8681
 Fax: 810-234-6142
 www.hubbardsupply.com
 Delivering Products, Services, and Innovative Solutions
 
 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of 
 Vaibhav Patil
 Sent: Friday, July 31, 2009 8:05 AM
 To: u2-users@listserver.u2ug.org
 Subject: [U2] ESC in Unidata
 
 
 Please can you tell me the meaning of the following Unidata statement.
 
 PRINT ESC:*p170x:ROW:Y:BODYLINE ;
 
 What is the significance/use of keyword ESC?
 --
 View this message in context:
 http://www.nabble.com/ESC-in-Unidata-tp24755334p24755334.html
 Sent from the U2 - Users mailing list archive at Nabble.com.
 
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users
 

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users