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

Re: typo in previous question....



Oops - I said uppercase and didn't type it correctly:

   encode '<27>&l0ll5hl3A' into $Printer-Init

-----Original Message-----
From: Beller, Jay
Sent: Thursday, April 04, 2002 5:33 PM
To: SQR-USERS@list.iex.net
Subject: Re: typo in previous question....


Not sure what you mean by "reset the command", but PCL does fine with a single 
string like

   encode '<27>&l0ll5hl3a' into $Printer-Init
                  ^
lowercase L ------'

When it encounters an uppercase character, that ends the command string...

-----Original Message-----
From: Elvis Pressly [mailto:elvisdman@HOTMAIL.COM]
Sent: Thursday, April 04, 2002 5:24 PM
To: SQR-USERS@list.iex.net
Subject: Re: typo in previous question....


Andrew,

When encoding several PCL commands always make them as one contiguous
command because everytime it encounter <27> that means to reset
the command and you lose the previous command. Ex...

   encode '<27>&l0L<27>&l5H<27>&l3A' into $Printer-Init


Your micr command works okay because I believed it was the last
command before the next page(or record).

Hope this helps.

>From: Andrew Lin <alin@TECHNEGLAS.COM>
>Reply-To: sqr-users@list.iex.net
>To: SQR-USERS@list.iex.net
>Subject: typo in previous question....
>Date: Wed, 3 Apr 2002 16:45:14 -0500
>
>Should have read:
>
>!  ENCODE '<27>&l3A' INTO $legal_code
>!  print $legal_code (,) code
>
>   encode '<27>&l5H' into $tray3
>   print-direct printer=HPLASERJET $tray3
>
>!  encode '<27>&l3a5H' into $leg-tray3
>!  print-direct printer=HPLASERJET $leg-tray3
>
>(I had left in 0H instead of 5H... I've tried just
>about every number already(0-5)..seems to have
>no effect.)
>
>Thanks!
>
>-Andrew




_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx