RE: [U2] PCL Help

2008-11-29 Thread Manu Fernandes
Hi,

Add (Esc)k2G in your init PCL sequence.
To instruct the printer LF=CRLF 

Manu

 -Message d'origine-
 De : [EMAIL PROTECTED] [mailto:owner-u2-
 [EMAIL PROTECTED] De la part de Caminiti, Marc
 Envoyi : vendredi 28 novembre 2008 17:28
 @ : u2-users@listserver.u2ug.org
 Objet : [U2] PCL Help
 
 I was wondering if anyone could help 
 
 We recently upgraded to Universe 10.2.7 on Red Hat Enterprise Linux 5.2
 and are now having problems printing out compressed reports on a HP
 LaserJet 4050
 
 For the compressed reports, I send the PCL codes to switch the printer
 to landscape and to compress to 17cpi.  When the report prints, it is
 only printing the first line of data and nothing else.  It is
 compressing and in landscape.  If I send it to a file, all of the data
 is there.  Below is what is being sent.  The only thing that is
 printing
 is the MC 10:41:09am 28 Nov 2008 BIKE NASHBAR PAGE 1
 
 Within RedHat (CUPS) the make  Model is Local Raw Printer.  Even
 when
 I try without any compression codes, it only prints the first line of
 data.  When I have the RedHat (CUPS) make  model to HP LaserJet 4050,
 the non-compressed/non-landscaped print, prints fine.  But when I try
 and send the PCL codes, it just spits out plan sheets of paper.
 
 Any suggestions will be greatly appreciated.  Already spend 3 1/2 hours
 of different combinations and cannot come up with anything that works.
 
 Thanks in advance
 Marc
 
 
 
 l1O(s22H
 
 
 
 
 
 MC 10:41:09am 28 Nov 2008 BIKE NASHBAR PAGE 1
 
 DAILY PURCHASING REPORT AS OF 28 Nov 2008
 
 BYR PGC ITEM NUMBER. DESCRIPTION QAV..
 QOR. QOH.. ONORD DLD.. WK1.. WK2.. WK3.. WK4.. YACT YTD LY DMD.. MSRP $
 CAT $. WEB $. LAST. EXT'D COST MARGIN PO #'S. VEND# ST INV
 
 PIC. LS. COST. LIFE
 
 TKV N IS-TEST2-A BLAH 0 0 0 0 0 0 0 0 0 0 2.50 2.500 *** 0.500 0.000
 80.00%  A 
 
 JB N IS-TEST-DEVON IS TEST SKU 0 0 0 0 0 0 0 0 0 0 2.00 2.000 2.00
 0.001
 0.000 99.95% 6103 A 
 
 TKV N IS-TEST-JIM IS TEST SKU 0 0 0 0 0 0 0 0 0 0 2.00 2.000 2.00 0.001
 0.000 99.95% 6103 A 
 
 JB N IS-TEST-MARC IS TEST SKU 0 0 0 1 05/15 0 0 0 0 0 0 0 2.00 2.000
 2.00 0.001 0.000 99.95% 20325 9 A 
 
 1 03/31 20390 6103
 
 1 10/21 21120 6103
 
 1 07/09 6103-12 6103
 
 3
 
 1 11/03 6103-MC 6103
 
 1 11/19 6103MAR 6103
 
 C
 
 TKV N IS-TEST-TAMMY IS TEST SKU 0 0 0 0 0 0 0 0 0 0 2.00 2.000 2.00
 0.001 0.000 99.95% 6103 A 
 
 *** 0 0 0 6 0 0 0 0 0.000
 
 
 
 
 
 
 
 Marc Caminiti
 IS Manager
 Nashbar Direct, Inc
 6103 State Route 446
 Canfield, OH 44406
 330.533.1989, ext 336
 330.702.9733, fax
 
 Reality is merely an illusion, albeit a very persistent one
 
 
 
 
 CONFIDENTIALITY NOTICE: This e-mail and any attachments may contain
 confidential information that is legally privileged. The information is
 solely
 for the use of the intended recipient(s). Any disclosure, copying,
 distribution, or other use of this information is strictly prohibited.
 If you
 have received this e-mail in error, please notify the sender by return
 e-mail
 and delete this message.
 ---
 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 Help

2008-11-28 Thread Bob Rasmussen
What are the end-of-line characters? If you are outputting only linefeeds, 
and nothing in the OS expands them to return-linefeeds, and the printer is 
not configured to read linefeeds as return-linefeeds, then you could get 
this behavior. Try a report with very short lines - does it stair-step?

Quickest test/fix is to use the printer's front panel to configure 
end-of-line, to something like:
   LF = CR/LF

(There is a whole host of problems similar to this that pop up when one 
thing changes, such as moving to a different physical printer or a 
different OS. The best solution is to include codes at the beginning of 
your PCL output to initialize everything conceivable. This isolates you 
from printer configuration variations, especially. Some other examples are 
symbol set, lines per page/vertical spacing, pitch, orientation, and paper 
size.)

On Fri, 28 Nov 2008, Caminiti, Marc wrote:

 I was wondering if anyone could help 
 
 We recently upgraded to Universe 10.2.7 on Red Hat Enterprise Linux 5.2
 and are now having problems printing out compressed reports on a HP
 LaserJet 4050
 
 For the compressed reports, I send the PCL codes to switch the printer
 to landscape and to compress to 17cpi.  When the report prints, it is
 only printing the first line of data and nothing else.  It is
 compressing and in landscape.  If I send it to a file, all of the data
 is there.  Below is what is being sent.  The only thing that is printing
 is the MC 10:41:09am 28 Nov 2008 BIKE NASHBAR PAGE 1
 
 Within RedHat (CUPS) the make  Model is Local Raw Printer.  Even when
 I try without any compression codes, it only prints the first line of
 data.  When I have the RedHat (CUPS) make  model to HP LaserJet 4050,
 the non-compressed/non-landscaped print, prints fine.  But when I try
 and send the PCL codes, it just spits out plan sheets of paper.
 
 Any suggestions will be greatly appreciated.  Already spend 3 1/2 hours
 of different combinations and cannot come up with anything that works.
 
 Thanks in advance
 Marc
 
 
 
 l1O(s22H
 
 
 
 
 
 MC 10:41:09am 28 Nov 2008 BIKE NASHBAR PAGE 1
 
 DAILY PURCHASING REPORT AS OF 28 Nov 2008
 
 BYR PGC ITEM NUMBER. DESCRIPTION QAV..
 QOR. QOH.. ONORD DLD.. WK1.. WK2.. WK3.. WK4.. YACT YTD LY DMD.. MSRP $
 CAT $. WEB $. LAST. EXT'D COST MARGIN PO #'S. VEND# ST INV
 
 PIC. LS. COST. LIFE
 
 TKV N IS-TEST2-A BLAH 0 0 0 0 0 0 0 0 0 0 2.50 2.500 *** 0.500 0.000
 80.00%  A 
 
 JB N IS-TEST-DEVON IS TEST SKU 0 0 0 0 0 0 0 0 0 0 2.00 2.000 2.00 0.001
 0.000 99.95% 6103 A 
 
 TKV N IS-TEST-JIM IS TEST SKU 0 0 0 0 0 0 0 0 0 0 2.00 2.000 2.00 0.001
 0.000 99.95% 6103 A 
 
 JB N IS-TEST-MARC IS TEST SKU 0 0 0 1 05/15 0 0 0 0 0 0 0 2.00 2.000
 2.00 0.001 0.000 99.95% 20325 9 A 
 
 1 03/31 20390 6103
 
 1 10/21 21120 6103
 
 1 07/09 6103-12 6103
 
 3
 
 1 11/03 6103-MC 6103
 
 1 11/19 6103MAR 6103
 
 C
 
 TKV N IS-TEST-TAMMY IS TEST SKU 0 0 0 0 0 0 0 0 0 0 2.00 2.000 2.00
 0.001 0.000 99.95% 6103 A 
 
 *** 0 0 0 6 0 0 0 0 0.000
 
 
 
 
 
 
 
 Marc Caminiti
 IS Manager
 Nashbar Direct, Inc
 6103 State Route 446
 Canfield, OH 44406
 330.533.1989, ext 336
 330.702.9733, fax
 
 Reality is merely an illusion, albeit a very persistent one
 
 
 
 
 CONFIDENTIALITY NOTICE: This e-mail and any attachments may contain
 confidential information that is legally privileged. The information is solely
 for the use of the intended recipient(s). Any disclosure, copying,
 distribution, or other use of this information is strictly prohibited. If you
 have received this e-mail in error, please notify the sender by return e-mail
 and delete this message.
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
 
 
 

Regards,
Bob Rasmussen,   President,   Rasmussen Software, Inc.

personal e-mail: [EMAIL PROTECTED]
 company e-mail: [EMAIL PROTECTED]
  voice: (US) 503-624-0360 (9:00-6:00 Pacific Time)
fax: (US) 503-624-0760
web: http://www.anzio.com
 street address: Rasmussen Software, Inc.
 10240 SW Nimbus, Suite L9
 Portland, OR  97223  USA
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] PCL Help

2008-11-28 Thread Don P. Nagai
Is the column width on the SETPTR command large enough?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Caminiti, Marc
Sent: Friday, November 28, 2008 8:28 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] PCL Help

I was wondering if anyone could help 

We recently upgraded to Universe 10.2.7 on Red Hat Enterprise Linux 5.2
and are now having problems printing out compressed reports on a HP
LaserJet 4050

For the compressed reports, I send the PCL codes to switch the printer
to landscape and to compress to 17cpi.  When the report prints, it is
only printing the first line of data and nothing else.  It is
compressing and in landscape.  If I send it to a file, all of the data
is there.  Below is what is being sent.  The only thing that is printing
is the MC 10:41:09am 28 Nov 2008 BIKE NASHBAR PAGE 1

Within RedHat (CUPS) the make  Model is Local Raw Printer.  Even when
I try without any compression codes, it only prints the first line of
data.  When I have the RedHat (CUPS) make  model to HP LaserJet 4050,
the non-compressed/non-landscaped print, prints fine.  But when I try
and send the PCL codes, it just spits out plan sheets of paper.

Any suggestions will be greatly appreciated.  Already spend 3 1/2 hours
of different combinations and cannot come up with anything that works.

Thanks in advance
Marc



l1O(s22H





MC 10:41:09am 28 Nov 2008 BIKE NASHBAR PAGE 1

DAILY PURCHASING REPORT AS OF 28 Nov 2008

BYR PGC ITEM NUMBER. DESCRIPTION QAV..
QOR. QOH.. ONORD DLD.. WK1.. WK2.. WK3.. WK4.. YACT YTD LY DMD.. MSRP $
CAT $. WEB $. LAST. EXT'D COST MARGIN PO #'S. VEND# ST INV

PIC. LS. COST. LIFE

TKV N IS-TEST2-A BLAH 0 0 0 0 0 0 0 0 0 0 2.50 2.500 *** 0.500 0.000
80.00%  A 

JB N IS-TEST-DEVON IS TEST SKU 0 0 0 0 0 0 0 0 0 0 2.00 2.000 2.00 0.001
0.000 99.95% 6103 A 

TKV N IS-TEST-JIM IS TEST SKU 0 0 0 0 0 0 0 0 0 0 2.00 2.000 2.00 0.001
0.000 99.95% 6103 A 

JB N IS-TEST-MARC IS TEST SKU 0 0 0 1 05/15 0 0 0 0 0 0 0 2.00 2.000
2.00 0.001 0.000 99.95% 20325 9 A 

1 03/31 20390 6103

1 10/21 21120 6103

1 07/09 6103-12 6103

3

1 11/03 6103-MC 6103

1 11/19 6103MAR 6103

C

TKV N IS-TEST-TAMMY IS TEST SKU 0 0 0 0 0 0 0 0 0 0 2.00 2.000 2.00
0.001 0.000 99.95% 6103 A 

*** 0 0 0 6 0 0 0 0 0.000







Marc Caminiti
IS Manager
Nashbar Direct, Inc
6103 State Route 446
Canfield, OH 44406
330.533.1989, ext 336
330.702.9733, fax

Reality is merely an illusion, albeit a very persistent one




CONFIDENTIALITY NOTICE: This e-mail and any attachments may contain
confidential information that is legally privileged. The information is
solely
for the use of the intended recipient(s). Any disclosure, copying,
distribution, or other use of this information is strictly prohibited. If
you
have received this e-mail in error, please notify the sender by return
e-mail
and delete this message.
---
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 Help

2008-11-28 Thread wagnersm
Marc

Have you tried printing the file to the LJ 4050?

Steve

-Original Message-
From: Caminiti, Marc [EMAIL PROTECTED]
Sent: Nov 28, 2008 11:28 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] PCL Help

I was wondering if anyone could help 

We recently upgraded to Universe 10.2.7 on Red Hat Enterprise Linux 5.2
and are now having problems printing out compressed reports on a HP
LaserJet 4050

For the compressed reports, I send the PCL codes to switch the printer
to landscape and to compress to 17cpi.  When the report prints, it is
only printing the first line of data and nothing else.  It is
compressing and in landscape.  If I send it to a file, all of the data
is there.  Below is what is being sent.  The only thing that is printing
is the MC 10:41:09am 28 Nov 2008 BIKE NASHBAR PAGE 1

Within RedHat (CUPS) the make  Model is Local Raw Printer.  Even when
I try without any compression codes, it only prints the first line of
data.  When I have the RedHat (CUPS) make  model to HP LaserJet 4050,
the non-compressed/non-landscaped print, prints fine.  But when I try
and send the PCL codes, it just spits out plan sheets of paper.

Any suggestions will be greatly appreciated.  Already spend 3 1/2 hours
of different combinations and cannot come up with anything that works.

Thanks in advance
Marc



l1O(s22H





MC 10:41:09am 28 Nov 2008 BIKE NASHBAR PAGE 1

DAILY PURCHASING REPORT AS OF 28 Nov 2008

BYR PGC ITEM NUMBER. DESCRIPTION QAV..
QOR. QOH.. ONORD DLD.. WK1.. WK2.. WK3.. WK4.. YACT YTD LY DMD.. MSRP $
CAT $. WEB $. LAST. EXT'D COST MARGIN PO #'S. VEND# ST INV

PIC. LS. COST. LIFE

TKV N IS-TEST2-A BLAH 0 0 0 0 0 0 0 0 0 0 2.50 2.500 *** 0.500 0.000
80.00%  A 

JB N IS-TEST-DEVON IS TEST SKU 0 0 0 0 0 0 0 0 0 0 2.00 2.000 2.00 0.001
0.000 99.95% 6103 A 

TKV N IS-TEST-JIM IS TEST SKU 0 0 0 0 0 0 0 0 0 0 2.00 2.000 2.00 0.001
0.000 99.95% 6103 A 

JB N IS-TEST-MARC IS TEST SKU 0 0 0 1 05/15 0 0 0 0 0 0 0 2.00 2.000
2.00 0.001 0.000 99.95% 20325 9 A 

1 03/31 20390 6103

1 10/21 21120 6103

1 07/09 6103-12 6103

3

1 11/03 6103-MC 6103

1 11/19 6103MAR 6103

C

TKV N IS-TEST-TAMMY IS TEST SKU 0 0 0 0 0 0 0 0 0 0 2.00 2.000 2.00
0.001 0.000 99.95% 6103 A 

*** 0 0 0 6 0 0 0 0 0.000







Marc Caminiti
IS Manager
Nashbar Direct, Inc
6103 State Route 446
Canfield, OH 44406
330.533.1989, ext 336
330.702.9733, fax

Reality is merely an illusion, albeit a very persistent one




CONFIDENTIALITY NOTICE: This e-mail and any attachments may contain
confidential information that is legally privileged. The information is solely
for the use of the intended recipient(s). Any disclosure, copying,
distribution, or other use of this information is strictly prohibited. If you
have received this e-mail in error, please notify the sender by return e-mail
and delete this message.
---
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 Help

2008-11-28 Thread Caminiti, Marc
I did try and print another type of report, and it does look like it is
stair-stepping.  So I checked the printer here and the append CR to LF
was set to a no.  Changed that to a YES and the report printed fine.

Thanks!! 


Marc Caminiti 
IS Manager 
Nashbar Direct, Inc 
6103 State Route 446 
Canfield, OH 44406 
330.533.1989, ext 336 
330.702.9733, fax 

No trees were killed in the creation of this message. However, many
electrons were terribly inconvenienced


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bob Rasmussen
Sent: Friday, November 28, 2008 12:55 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] PCL Help

What are the end-of-line characters? If you are outputting only
linefeeds, and nothing in the OS expands them to return-linefeeds, and
the printer is not configured to read linefeeds as return-linefeeds,
then you could get this behavior. Try a report with very short lines -
does it stair-step?

Quickest test/fix is to use the printer's front panel to configure
end-of-line, to something like:
   LF = CR/LF

(There is a whole host of problems similar to this that pop up when one
thing changes, such as moving to a different physical printer or a
different OS. The best solution is to include codes at the beginning of
your PCL output to initialize everything conceivable. This isolates you
from printer configuration variations, especially. Some other examples
are symbol set, lines per page/vertical spacing, pitch, orientation, and
paper
size.)

On Fri, 28 Nov 2008, Caminiti, Marc wrote:

 I was wondering if anyone could help 
 
 We recently upgraded to Universe 10.2.7 on Red Hat Enterprise Linux 
 5.2 and are now having problems printing out compressed reports on a 
 HP LaserJet 4050
 
 For the compressed reports, I send the PCL codes to switch the printer

 to landscape and to compress to 17cpi.  When the report prints, it is 
 only printing the first line of data and nothing else.  It is 
 compressing and in landscape.  If I send it to a file, all of the data

 is there.  Below is what is being sent.  The only thing that is 
 printing is the MC 10:41:09am 28 Nov 2008 BIKE NASHBAR PAGE 1
 
 Within RedHat (CUPS) the make  Model is Local Raw Printer.  Even 
 when I try without any compression codes, it only prints the first 
 line of data.  When I have the RedHat (CUPS) make  model to HP 
 LaserJet 4050, the non-compressed/non-landscaped print, prints fine.  
 But when I try and send the PCL codes, it just spits out plan sheets
of paper.
 
 Any suggestions will be greatly appreciated.  Already spend 3 1/2 
 hours of different combinations and cannot come up with anything that
works.
 
 Thanks in advance
 Marc
 
 
 
 l1O(s22H
 
 
 
 
 
 MC 10:41:09am 28 Nov 2008 BIKE NASHBAR PAGE 1
 
 DAILY PURCHASING REPORT AS OF 28 Nov 2008
 
 BYR PGC ITEM NUMBER. DESCRIPTION QAV..
 QOR. QOH.. ONORD DLD.. WK1.. WK2.. WK3.. WK4.. YACT YTD LY DMD.. MSRP 
 $ CAT $. WEB $. LAST. EXT'D COST MARGIN PO #'S. VEND# ST INV
 
 PIC. LS. COST. LIFE
 
 TKV N IS-TEST2-A BLAH 0 0 0 0 0 0 0 0 0 0 2.50 2.500 *** 0.500 0.000 
 80.00%  A 
 
 JB N IS-TEST-DEVON IS TEST SKU 0 0 0 0 0 0 0 0 0 0 2.00 2.000 2.00 
 0.001 0.000 99.95% 6103 A 
 
 TKV N IS-TEST-JIM IS TEST SKU 0 0 0 0 0 0 0 0 0 0 2.00 2.000 2.00 
 0.001 0.000 99.95% 6103 A 
 
 JB N IS-TEST-MARC IS TEST SKU 0 0 0 1 05/15 0 0 0 0 0 0 0 2.00 2.000 
 2.00 0.001 0.000 99.95% 20325 9 A 
 
 1 03/31 20390 6103
 
 1 10/21 21120 6103
 
 1 07/09 6103-12 6103
 
 3
 
 1 11/03 6103-MC 6103
 
 1 11/19 6103MAR 6103
 
 C
 
 TKV N IS-TEST-TAMMY IS TEST SKU 0 0 0 0 0 0 0 0 0 0 2.00 2.000 2.00
 0.001 0.000 99.95% 6103 A 
 
 *** 0 0 0 6 0 0 0 0 0.000
 
 
 
 
 
 
 
 Marc Caminiti
 IS Manager
 Nashbar Direct, Inc
 6103 State Route 446
 Canfield, OH 44406
 330.533.1989, ext 336
 330.702.9733, fax
 
 Reality is merely an illusion, albeit a very persistent one
 
 
 
 
 CONFIDENTIALITY NOTICE: This e-mail and any attachments may contain 
 confidential information that is legally privileged. The information 
 is solely for the use of the intended recipient(s). Any disclosure, 
 copying, distribution, or other use of this information is strictly 
 prohibited. If you have received this e-mail in error, please notify 
 the sender by return e-mail and delete this message.
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
 
 
 

Regards,
Bob Rasmussen,   President,   Rasmussen Software, Inc.

personal e-mail: [EMAIL PROTECTED]
 company e-mail: [EMAIL PROTECTED]
  voice: (US) 503-624-0360 (9:00-6:00 Pacific Time)
fax: (US) 503-624-0760
web: http://www.anzio.com
 street address: Rasmussen Software, Inc.
 10240 SW Nimbus, Suite L9
 Portland, OR  97223  USA
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http