Re: [U2] PCL within a form

2006-03-14 Thread Ron White

[EMAIL PROTECTED] wrote:

What are the other syntaxes? This didn't work correctly.

Karl


  

*p0y0X

set vertical position to zero *p0Y
set horizontal position to zero *p0X

The code changes depending on whether you
are using number of rows, number of dots (which is what I am showing)
or number of decipoints

Ron White


[EMAIL PROTECTED] wrote:




  

also try looking for:

&l0H or &l0h  (That's ESC-&-ell-zero) eject page
&a0G or &a0g  (That's ESC-&-a-zero) advance to next side



The first &l0H was the key for not form feeding. Now I need to figure
out
how to 'embed' the image and set the print head at 0x0y, which I think
is
this:  ESC:&a0r0C

If not, does someone know for sure?

Thanks,

Karl


  

George




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Friday, March 03, 2006 2:28 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] PCL within a form


We have a PCL logo that we'd like to include in an invoice,
but when we
try sending it, we get a separate page with the logo on it.

Here's what we've tried:

scanning the logo and then placing it on the 'page' where we
want it, then
printing it to a PCL file. That is the file we cat to the invoice.

It seems that when printing to a PCL file, the top of form
and page end
are set for us and embedded in the PCL output file. We've
seen the ESC:'E'
character at both the top and bottom of the PCL file, but
removing them
doesn't help.

Any ideas?

TIA

--
karl

 _/  _/  _/  _/_/_/      __o
_/ _/   _/  _/_/   _-\<._
   _/_/_/  _/_/_/ (_)/ (_)
  _/ _/   _/  _/   ..
 _/   _/ arl _/_/_/  _/ earson[EMAIL PROTECTED]

--
IT Director, ATS Industrial Supply, Inc.
http://www.atsindustrial.com
Toll-free: 800-789-9300 x29
Direct2Desk: 801-978-4429
Facsimile: 801-972-3888
--
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


  


  



  
Sorry I did not reply.  I have been out of town and didn't keep up with 
my email.  Look at the

following web site.  The codes in question are in the cursor section.
<http://printers.necsam.com/public/printers/pclcodes/pcl5hp.htm>

Ron White
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] PCL within a form

2006-03-07 Thread Scott Ballinger
The way I have done this is to use the PCL macro function; upload the
logo to the printer and store it as a macro. Then when you print the
form, turn on the macro in overlay mode. You can turn the macro on and
off as necessary to handle 2nd pages, etc; when done you delete the
macro. You may want to get a PCL book (that's what I ended up doing).

Here is some generic BASIC PCL MACRO handling stuff:

0001 SUBROUTINE PC.LASER.MACRO.CONTROL(CODE,RESULT)
0002 * subroutine to control macros on a laserjet
0003 * 06-21-93 asb
0004 *
0005 * CODE: 0 = start macro definition (for last ID specified)
0006 *   1 = stop macro definition
0007 *   2 = execute macro (for last ID specified)
0008 * uses current print environment and leaves it changed
0009 *   3 = call macro
0010 * uses current print environment then restores original
0011 * print environment when through
0012 *   4 = enable overlay mode (for last ID specified)
0013 * uses overlay print environment then restores original
0014 * print environment when through
0015 *   5 = disable overlay mode
0016 *   6 = delete all macros
0017 *   7 = delete all temporary macros
0018 *   8 = delete macro (for last ID specified)
0019 *   9 = make macro temporary (for last ID specified)
0020 *  10 = make macro permanent (for last ID specified)
0021 *
0022 EQU ESC TO CHAR(27)
0023 *
0024 RESULT = ESC:"&f":CODE:"X"
0025 *
0026 RETURN

0001 SUBROUTINE PC.LASER.MACRO.ID(ID,RESULT)
0002 * subroutine to specify a macro id on a laserjet
0003 * 06-21-93 asb
0004 *
0005 EQU ESC TO CHAR(27)
0006 *
0007 RESULT = ESC:"&f":ID:"Y"
0008 *
0009 RETURN
0010 END


HTH,

/Scott Ballinger
Pareto Corporation
Edmonds WA USA
206 713 6006

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Friday, March 03, 2006 3:44 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] PCL within a form

What are the other syntaxes? This didn't work correctly.

Karl


> *p0y0X
>
> set vertical position to zero *p0Y set horizontal position to 
> zero *p0X
>
> The code changes depending on whether you are using number of rows, 
> number of dots (which is what I am showing) or number of decipoints
>
> Ron White
>
>
> [EMAIL PROTECTED] wrote:
>> 
>>
>>> also try looking for:
>>>
>>> &l0H or &l0h  (That's ESC-&-ell-zero) eject page &a0G

>>> or &a0g  (That's ESC-&-a-zero) advance to next side
>>>
>>
>> The first &l0H was the key for not form feeding. Now I need to figure

>> out how to 'embed' the image and set the print head at 0x0y, which I 
>> think is
>> this:  ESC:&a0r0C
>>
>> If not, does someone know for sure?
>>
>> Thanks,
>>
>> Karl
>>
>>
>>> George
>>>
>>>
>>>> -Original Message-
>>>> From: [EMAIL PROTECTED]
>>>> [mailto:[EMAIL PROTECTED] Behalf Of 
>>>> [EMAIL PROTECTED]
>>>> Sent: Friday, March 03, 2006 2:28 PM
>>>> To: u2-users@listserver.u2ug.org
>>>> Subject: [U2] PCL within a form
>>>>
>>>>
>>>> We have a PCL logo that we'd like to include in an invoice, but 
>>>> when we try sending it, we get a separate page with the logo on it.
>>>>
>>>> Here's what we've tried:
>>>>
>>>> scanning the logo and then placing it on the 'page' where we want 
>>>> it, then printing it to a PCL file. That is the file we cat to the 
>>>> invoice.
>>>>
>>>> It seems that when printing to a PCL file, the top of form and page

>>>> end are set for us and embedded in the PCL output file. We've seen 
>>>> the ESC:'E'
>>>> character at both the top and bottom of the PCL file, but removing 
>>>> them doesn't help.
>>>>
>>>> Any ideas?
>>>>
>>>> TIA
>>>>
>>>> --
>>>> karl
>>>>
>>>>  _/  _/  _/  _/_/_/      __o
>>>> _/ _/   _/  _/_/   _-\<._
>>>>_/_/_/  _/_/_/ (_)/ (_)
>>>>   _/ _/   _/  _/   ..
>>>>  _/   _/ arl _/_/_/  _/ earson[EMAIL PROTECTED]
>>>>
>>>> --
>>>> IT Director, ATS Industrial Supply, Inc.
>>>> http://www.atsindustrial.com
>>>> Toll-free: 800-789-9300 x29
>>>> Direct2Des

Re: [U2] PCL within a form

2006-03-03 Thread karlp
What are the other syntaxes? This didn't work correctly.

Karl


> *p0y0X
>
> set vertical position to zero *p0Y
> set horizontal position to zero *p0X
>
> The code changes depending on whether you
> are using number of rows, number of dots (which is what I am showing)
> or number of decipoints
>
> Ron White
>
>
> [EMAIL PROTECTED] wrote:
>> 
>>
>>> also try looking for:
>>>
>>> &l0H or &l0h  (That's ESC-&-ell-zero) eject page
>>> &a0G or &a0g  (That's ESC-&-a-zero) advance to next side
>>>
>>
>> The first &l0H was the key for not form feeding. Now I need to figure
>> out
>> how to 'embed' the image and set the print head at 0x0y, which I think
>> is
>> this:  ESC:&a0r0C
>>
>> If not, does someone know for sure?
>>
>> Thanks,
>>
>> Karl
>>
>>
>>> George
>>>
>>>
>>>> -Original Message-
>>>> From: [EMAIL PROTECTED]
>>>> [mailto:[EMAIL PROTECTED] Behalf Of
>>>> [EMAIL PROTECTED]
>>>> Sent: Friday, March 03, 2006 2:28 PM
>>>> To: u2-users@listserver.u2ug.org
>>>> Subject: [U2] PCL within a form
>>>>
>>>>
>>>> We have a PCL logo that we'd like to include in an invoice,
>>>> but when we
>>>> try sending it, we get a separate page with the logo on it.
>>>>
>>>> Here's what we've tried:
>>>>
>>>> scanning the logo and then placing it on the 'page' where we
>>>> want it, then
>>>> printing it to a PCL file. That is the file we cat to the invoice.
>>>>
>>>> It seems that when printing to a PCL file, the top of form
>>>> and page end
>>>> are set for us and embedded in the PCL output file. We've
>>>> seen the ESC:'E'
>>>> character at both the top and bottom of the PCL file, but
>>>> removing them
>>>> doesn't help.
>>>>
>>>> Any ideas?
>>>>
>>>> TIA
>>>>
>>>> --
>>>> karl
>>>>
>>>>  _/  _/  _/  _/_/_/      __o
>>>> _/ _/   _/  _/_/   _-\<._
>>>>_/_/_/  _/_/_/ (_)/ (_)
>>>>   _/ _/   _/  _/   ..
>>>>  _/   _/ arl _/_/_/  _/ earson[EMAIL PROTECTED]
>>>>
>>>> --
>>>> IT Director, ATS Industrial Supply, Inc.
>>>> http://www.atsindustrial.com
>>>> Toll-free: 800-789-9300 x29
>>>> Direct2Desk: 801-978-4429
>>>> Facsimile: 801-972-3888
>>>> --
>>>> ---
>>>> u2-users mailing list
>>>> u2-users@listserver.u2ug.org
>>>> To unsubscribe please visit http://listserver.u2ug.org/
>>>>
>>>>
>>
>>
>>
>


-- 
karl

 _/  _/  _/  _/_/_/      __o
_/ _/   _/  _/_/   _-\<._
   _/_/_/  _/_/_/ (_)/ (_)
  _/ _/   _/  _/   ..
 _/   _/ arl _/_/_/  _/ earson[EMAIL PROTECTED]

--
IT Director, ATS Industrial Supply, Inc.
http://www.atsindustrial.com
Toll-free: 800-789-9300 x29
Direct2Desk: 801-978-4429
Facsimile: 801-972-3888
--
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] PCL within a form

2006-03-03 Thread Ron White

*p0y0X

set vertical position to zero *p0Y
set horizontal position to zero *p0X

The code changes depending on whether you
are using number of rows, number of dots (which is what I am showing)
or number of decipoints

Ron White


[EMAIL PROTECTED] wrote:


  

also try looking for:

&l0H or &l0h  (That's ESC-&-ell-zero) eject page
&a0G or &a0g  (That's ESC-&-a-zero) advance to next side



The first &l0H was the key for not form feeding. Now I need to figure out
how to 'embed' the image and set the print head at 0x0y, which I think is
this:  ESC:&a0r0C

If not, does someone know for sure?

Thanks,

Karl

  

George



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Friday, March 03, 2006 2:28 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] PCL within a form


We have a PCL logo that we'd like to include in an invoice,
but when we
try sending it, we get a separate page with the logo on it.

Here's what we've tried:

scanning the logo and then placing it on the 'page' where we
want it, then
printing it to a PCL file. That is the file we cat to the invoice.

It seems that when printing to a PCL file, the top of form
and page end
are set for us and embedded in the PCL output file. We've
seen the ESC:'E'
character at both the top and bottom of the PCL file, but
removing them
doesn't help.

Any ideas?

TIA

--
karl

 _/  _/  _/  _/_/_/      __o
_/ _/   _/  _/_/   _-\<._
   _/_/_/  _/_/_/ (_)/ (_)
  _/ _/   _/  _/   ..
 _/   _/ arl _/_/_/  _/ earson[EMAIL PROTECTED]

--
IT Director, ATS Industrial Supply, Inc.
http://www.atsindustrial.com
Toll-free: 800-789-9300 x29
Direct2Desk: 801-978-4429
Facsimile: 801-972-3888
--
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] PCL within a form

2006-03-03 Thread karlp

> What printer are you using?

HP Laserjet 4200TN

However, the process acts very similarly on an HP Deskjet 6122, which sits
by my desk.

Karl

>
> Eric Armstrong
> Programmer/Analyst
> Lobel Financial
> 714.816.1207
>
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 03, 2006 2:01 PM
> To: u2-users@listserver.u2ug.org
> Subject: RE: [U2] PCL within a form
>
>
> 
>> also try looking for:
>>
>> &l0H or &l0h  (That's ESC-&-ell-zero) eject page
>> &a0G or &a0g  (That's ESC-&-a-zero) advance to next side
>
> The first &l0H was the key for not form feeding. Now I need to figure out
> how to 'embed' the image and set the print head at 0x0y, which I think is
> this:  ESC:&a0r0C
>
> If not, does someone know for sure?
>
> Thanks,
>
> Karl
>
>>
>> George
>>
>>> -Original Message-
>>> From: [EMAIL PROTECTED]
>>> [mailto:[EMAIL PROTECTED] Behalf Of
>>> [EMAIL PROTECTED]
>>> Sent: Friday, March 03, 2006 2:28 PM
>>> To: u2-users@listserver.u2ug.org
>>> Subject: [U2] PCL within a form
>>>
>>>
>>> We have a PCL logo that we'd like to include in an invoice,
>>> but when we
>>> try sending it, we get a separate page with the logo on it.
>>>
>>> Here's what we've tried:
>>>
>>> scanning the logo and then placing it on the 'page' where we
>>> want it, then
>>> printing it to a PCL file. That is the file we cat to the invoice.
>>>
>>> It seems that when printing to a PCL file, the top of form
>>> and page end
>>> are set for us and embedded in the PCL output file. We've
>>> seen the ESC:'E'
>>> character at both the top and bottom of the PCL file, but
>>> removing them
>>> doesn't help.
>>>
>>> Any ideas?
>>>
>>> TIA
>>>
>>> --
>>> karl
>>>
>>>  _/  _/  _/  _/_/_/      __o
>>> _/ _/   _/  _/_/   _-\<._
>>>_/_/_/  _/_/_/ (_)/ (_)
>>>   _/ _/   _/  _/   ..
>>>  _/   _/ arl _/_/_/  _/ earson[EMAIL PROTECTED]
>>>
>>> --
>>> IT Director, ATS Industrial Supply, Inc.
>>> http://www.atsindustrial.com
>>> Toll-free: 800-789-9300 x29
>>> Direct2Desk: 801-978-4429
>>> Facsimile: 801-972-3888
>>> --
>>> ---
>>> u2-users mailing list
>>> u2-users@listserver.u2ug.org
>>> To unsubscribe please visit http://listserver.u2ug.org/
>>>
>>
>
>
> --
> karl
>
>  _/  _/  _/  _/_/_/      __o
> _/ _/   _/  _/_/   _-\<._
>_/_/_/  _/_/_/ (_)/ (_)
>   _/ _/   _/  _/   ..
>  _/   _/ arl _/_/_/  _/ earson[EMAIL PROTECTED]
>
> --
> IT Director, ATS Industrial Supply, Inc.
> http://www.atsindustrial.com
> Toll-free: 800-789-9300 x29
> Direct2Desk: 801-978-4429
> Facsimile: 801-972-3888
> --
> ---
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
> ---
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
>


-- 
karl

 _/  _/  _/  _/_/_/      __o
_/ _/   _/  _/_/   _-\<._
   _/_/_/  _/_/_/ (_)/ (_)
  _/ _/   _/  _/   ..
 _/   _/ arl _/_/_/  _/ earson[EMAIL PROTECTED]

--
IT Director, ATS Industrial Supply, Inc.
http://www.atsindustrial.com
Toll-free: 800-789-9300 x29
Direct2Desk: 801-978-4429
Facsimile: 801-972-3888
--
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] PCL within a form

2006-03-03 Thread Eric Armstrong
What printer are you using?

Eric Armstrong
Programmer/Analyst
Lobel Financial
714.816.1207


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, March 03, 2006 2:01 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] PCL within a form



> also try looking for:
>
> &l0H or &l0h  (That's ESC-&-ell-zero) eject page
> &a0G or &a0g  (That's ESC-&-a-zero) advance to next side

The first &l0H was the key for not form feeding. Now I need to figure out
how to 'embed' the image and set the print head at 0x0y, which I think is
this:  ESC:&a0r0C

If not, does someone know for sure?

Thanks,

Karl

>
> George
>
>> -Original Message-
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] Behalf Of
>> [EMAIL PROTECTED]
>> Sent: Friday, March 03, 2006 2:28 PM
>> To: u2-users@listserver.u2ug.org
>> Subject: [U2] PCL within a form
>>
>>
>> We have a PCL logo that we'd like to include in an invoice,
>> but when we
>> try sending it, we get a separate page with the logo on it.
>>
>> Here's what we've tried:
>>
>> scanning the logo and then placing it on the 'page' where we
>> want it, then
>> printing it to a PCL file. That is the file we cat to the invoice.
>>
>> It seems that when printing to a PCL file, the top of form
>> and page end
>> are set for us and embedded in the PCL output file. We've
>> seen the ESC:'E'
>> character at both the top and bottom of the PCL file, but
>> removing them
>> doesn't help.
>>
>> Any ideas?
>>
>> TIA
>>
>> --
>> karl
>>
>>  _/  _/  _/  _/_/_/      __o
>> _/ _/   _/  _/_/   _-\<._
>>_/_/_/  _/_/_/ (_)/ (_)
>>   _/ _/   _/  _/   ..
>>  _/   _/ arl _/_/_/  _/ earson[EMAIL PROTECTED]
>>
>> --
>> IT Director, ATS Industrial Supply, Inc.
>> http://www.atsindustrial.com
>> Toll-free: 800-789-9300 x29
>> Direct2Desk: 801-978-4429
>> Facsimile: 801-972-3888
>> --
>> ---
>> u2-users mailing list
>> u2-users@listserver.u2ug.org
>> To unsubscribe please visit http://listserver.u2ug.org/
>>
>


-- 
karl

 _/  _/  _/  _/_/_/      __o
_/ _/   _/  _/_/   _-\<._
   _/_/_/  _/_/_/ (_)/ (_)
  _/ _/   _/  _/   ..
 _/   _/ arl _/_/_/  _/ earson[EMAIL PROTECTED]

--
IT Director, ATS Industrial Supply, Inc.
http://www.atsindustrial.com
Toll-free: 800-789-9300 x29
Direct2Desk: 801-978-4429
Facsimile: 801-972-3888
--
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] PCL within a form

2006-03-03 Thread karlp

> also try looking for:
>
> &l0H or &l0h  (That's ESC-&-ell-zero) eject page
> &a0G or &a0g  (That's ESC-&-a-zero) advance to next side

The first &l0H was the key for not form feeding. Now I need to figure out
how to 'embed' the image and set the print head at 0x0y, which I think is
this:  ESC:&a0r0C

If not, does someone know for sure?

Thanks,

Karl

>
> George
>
>> -Original Message-
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] Behalf Of
>> [EMAIL PROTECTED]
>> Sent: Friday, March 03, 2006 2:28 PM
>> To: u2-users@listserver.u2ug.org
>> Subject: [U2] PCL within a form
>>
>>
>> We have a PCL logo that we'd like to include in an invoice,
>> but when we
>> try sending it, we get a separate page with the logo on it.
>>
>> Here's what we've tried:
>>
>> scanning the logo and then placing it on the 'page' where we
>> want it, then
>> printing it to a PCL file. That is the file we cat to the invoice.
>>
>> It seems that when printing to a PCL file, the top of form
>> and page end
>> are set for us and embedded in the PCL output file. We've
>> seen the ESC:'E'
>> character at both the top and bottom of the PCL file, but
>> removing them
>> doesn't help.
>>
>> Any ideas?
>>
>> TIA
>>
>> --
>> karl
>>
>>  _/  _/  _/  _/_/_/      __o
>> _/ _/   _/  _/_/   _-\<._
>>_/_/_/  _/_/_/ (_)/ (_)
>>   _/ _/   _/  _/   ..
>>  _/   _/ arl _/_/_/  _/ earson[EMAIL PROTECTED]
>>
>> --
>> IT Director, ATS Industrial Supply, Inc.
>> http://www.atsindustrial.com
>> Toll-free: 800-789-9300 x29
>> Direct2Desk: 801-978-4429
>> Facsimile: 801-972-3888
>> --
>> ---
>> u2-users mailing list
>> u2-users@listserver.u2ug.org
>> To unsubscribe please visit http://listserver.u2ug.org/
>>
>


-- 
karl

 _/  _/  _/  _/_/_/      __o
_/ _/   _/  _/_/   _-\<._
   _/_/_/  _/_/_/ (_)/ (_)
  _/ _/   _/  _/   ..
 _/   _/ arl _/_/_/  _/ earson[EMAIL PROTECTED]

--
IT Director, ATS Industrial Supply, Inc.
http://www.atsindustrial.com
Toll-free: 800-789-9300 x29
Direct2Desk: 801-978-4429
Facsimile: 801-972-3888
--
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] PCL within a form

2006-03-03 Thread colin.alfke
Or when they cat the logo to the invoice it comes after the E on
the invoice causing it to print on the next page. Make sure the invoice
doesn't have a final reset or make sure that you put the "print-head"
back to the top of the form before printing the logo.

Hth
Colin Alfke
Calgary, Canada

>-Original Message-
>From: Larry Hiscock
>
>The likelihood is that your PCL logo file contains a PCL reset 
>command (ESC E - 0x1B45).  You'll probably need to use a hex 
>editor to remove the reset command from the file.
>
>Larry Hiscock
>Western Computer Services
>
>-Original Message-
>From: karlp
>
>We have a PCL logo that we'd like to include in an invoice, 
>but when we try sending it, we get a separate page with the logo on it.
>
>Here's what we've tried:
>
>scanning the logo and then placing it on the 'page' where we 
>want it, then printing it to a PCL file. That is the file we 
>cat to the invoice.
>
>It seems that when printing to a PCL file, the top of form and 
>page end are set for us and embedded in the PCL output file. 
>We've seen the ESC:'E'
>character at both the top and bottom of the PCL file, but 
>removing them doesn't help.
>
>Any ideas?
>
>TIA
>
>--
>karl
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] PCL within a form

2006-03-03 Thread Norman Morgan
I'm not sure about just doing a logo, but we do something similar to print
an entire form (which contains a logo).  The form is created with whatever
layout program you want (like PageMaker), then printed in Windows using a
PCL5 print driver, but capturing to a file.  The HP Forms & Fonts Manager is
used to upload the file to a flash DIMM in the printer as a PCL macro.  Then
it is just a matter of sending a short PCL sequence just before the
form-feed for each page.  

For example, if the form is stored as macro 100, this would be the sequence:

CHAR(27):"&f100y3X"

The ESC &f100Y selects the desired macro, while the ESC &f3X merges it into
the page.  Again, this sequence is sent AFTER all the other information for
the page and just before sending a CHAR(12): 

I am not sure if you can use this technique to store the form in RAM.  We
have not tried that.

===
Norman Morgan <> [EMAIL PROTECTED] <> http://www.brake.com
===
Exercise daily. Eat wisely. Die anyway.
===

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> [EMAIL PROTECTED]
> Sent: Friday, March 03, 2006 1:28 PM
> To: u2-users@listserver.u2ug.org
> Subject: [U2] PCL within a form
> 
> We have a PCL logo that we'd like to include in an invoice, 
> but when we try sending it, we get a separate page with the 
> logo on it.
> 
> Here's what we've tried:
> 
> scanning the logo and then placing it on the 'page' where we 
> want it, then printing it to a PCL file. That is the file we 
> cat to the invoice.
> 
> It seems that when printing to a PCL file, the top of form 
> and page end are set for us and embedded in the PCL output 
> file. We've seen the ESC:'E'
> character at both the top and bottom of the PCL file, but 
> removing them doesn't help.
> 
> Any ideas?
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] PCL within a form

2006-03-03 Thread Larry Hiscock
The likelihood is that your PCL logo file contains a PCL reset command (ESC
E - 0x1B45).  You'll probably need to use a hex editor to remove the reset
command from the file.

Larry Hiscock
Western Computer Services

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Friday, March 03, 2006 11:28 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] PCL within a form

We have a PCL logo that we'd like to include in an invoice, but when we
try sending it, we get a separate page with the logo on it.

Here's what we've tried:

scanning the logo and then placing it on the 'page' where we want it, then
printing it to a PCL file. That is the file we cat to the invoice.

It seems that when printing to a PCL file, the top of form and page end
are set for us and embedded in the PCL output file. We've seen the ESC:'E'
character at both the top and bottom of the PCL file, but removing them
doesn't help.

Any ideas?

TIA

-- 
karl

 _/  _/  _/  _/_/_/      __o
_/ _/   _/  _/_/   _-\<._
   _/_/_/  _/_/_/ (_)/ (_)
  _/ _/   _/  _/   ..
 _/   _/ arl _/_/_/  _/ earson[EMAIL PROTECTED]

--
IT Director, ATS Industrial Supply, Inc.
http://www.atsindustrial.com
Toll-free: 800-789-9300 x29
Direct2Desk: 801-978-4429
Facsimile: 801-972-3888
--
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] PCL within a form

2006-03-03 Thread karlp
We have a PCL logo that we'd like to include in an invoice, but when we
try sending it, we get a separate page with the logo on it.

Here's what we've tried:

scanning the logo and then placing it on the 'page' where we want it, then
printing it to a PCL file. That is the file we cat to the invoice.

It seems that when printing to a PCL file, the top of form and page end
are set for us and embedded in the PCL output file. We've seen the ESC:'E'
character at both the top and bottom of the PCL file, but removing them
doesn't help.

Any ideas?

TIA

-- 
karl

 _/  _/  _/  _/_/_/      __o
_/ _/   _/  _/_/   _-\<._
   _/_/_/  _/_/_/ (_)/ (_)
  _/ _/   _/  _/   ..
 _/   _/ arl _/_/_/  _/ earson[EMAIL PROTECTED]

--
IT Director, ATS Industrial Supply, Inc.
http://www.atsindustrial.com
Toll-free: 800-789-9300 x29
Direct2Desk: 801-978-4429
Facsimile: 801-972-3888
--
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/