[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: Define Values in "init-string"



FYI:

The printer initialization string is encoded PCL (Printer Command Language).
When passed to a printer that understands PCL, the encoded values are
interpreted by the computer as printer commands and not as text or symbols
to be printed -- these printers are usually HP (Hewlett Packard) or
HP-compatible printers.  For printers that do not understand PCL, the string
is usually printed on the output as text or symbols.  You can go to
www.hp.com and get a listing of the command sequences.  For the particular
string you submitted below, here are the commands that the values represent.
Note, "<27>" is the ASCII value for the ESCAPE character.

init-string=<27>E<27>(0N<27>(s0p12h0s0b4099T<27>&k2G

<27>E                = RESET
<27>(0N              = SYMBOL SET SELECTION -- ISO 8859-1 LATIN 1 SYMBOL SET
<27>(s0p             = SPACING -- FIXED SPACING
12h0                 = PRIMARY PITCH -- 12 CHARACTERS PER INCH PITCH
s0b                  = STROKE WEIGHT -- MEDIUM STROKE
4099T                = TYPEFACE -- COURIER TYPEFACE FONT
<27>&k2G             = CARRIAGE RETURN = CARRIAGE RETURN
                       LINE FEED = CARRIAGE RETURN + LINE FEED
                       FORM FEED = CARRIAGE RETURN + FORM FEED
Hope this helps,
Kenny Melton
Manager of Development
Cummins Utility Supply

-----Original Message-----
From: Paul Hoyte [mailto:phoyte@SHARIDIONNE.COM]
Sent: Thursday, December 21, 2000 15:59
To: SQR-USERS@list.iex.net
Subject: Re: Define Values in "init-string"


The values that you indicate in the string are values that are passed to a
printer for initialization before the printing occurs or the reset the
printer during printing.  If you know what printer is being used, then
lookup the values in the language sections of the printer manual and you
will see all the characters and their  meanings.

Paul Hoyte
Sharidionne, Inc.
(248) 559-6868
www.sharidionne.com
phoyte@sharidionne.com

-----Original Message-----
From: Discussion of SQR, Brio Technology's database reporting language
[mailto:SQR-USERS@list.iex.net]On Behalf Of Chantelle Wall
Sent: Thursday, December 21, 2000 4:30 PM
To: SQR-USERS@list.iex.net
Subject: Define Values in "init-string"


The following SQR code is being used within an SQC.  I have been unable
to find a specific meaning for the values being used.

Help?

init-string=<27>E<27>(0N<27>(s0p12h0s0b4099T<27>&k2G