RE: [U2] Is there a method to suppress printing the Banner page after the fact?

2005-10-24 Thread Paul Tykodi
Dear Denny,

The functionality of LPR client printing is described in RFC 1179. This
style of printing creates two files for every print job as follows:

1. Data File - Information to be printed

2. Control File - Job ticket information for printing the data file
(formatting requests, number of copies, characters per line, banner page
Y/N, etc.)

The RFC outlines the structure of the LPR control file format in terms of
the number of bytes and what each entry means. You could create a parsing
program, as previously mentioned, to scan the control file for each spool
queue entry created in order to flip the banner page value in the control
file from Y to N.

HTH

Best Regards,

/Paul
--
Paul Tykodi
Principal Consultant
TCS - Tykodi Consulting Services LLC

Tel/Fax: 603-343-1820
Mobile:  603-866-0712
E-mail:  [EMAIL PROTECTED]
WWW: http://www.tykodi.com

>Date: Fri, 21 Oct 2005 09:30:26 -0500
>From: Denny Watkins <[EMAIL PROTECTED]>
>Subject: RE: [U2] Is there a method to suppress printing the Banner page
>after the fact?
>
>What I need to do is change the queue entries AFTER the reports have
>already been submitted without NHEAD or NOHEAD and with the BANNER option.
>
>
>Denny
>
>
>At 07:57 AM 10/21/2005 -0500, you wrote:
>>Yes. In your SETPTR add NHEAD or NOHEAD as one of the options before 
>>you spool.
>>
>>-Original Message-
>>From: [EMAIL PROTECTED]
>>[mailto:[EMAIL PROTECTED] On Behalf Of Denny Watkins
>>Sent: Friday, October 21, 2005 7:20 AM
>>To: u2-users@listserver.u2ug.org
>>Subject: Re: [U2] Is there a method to suppress printing the Banner 
>>page after the fact?
>>
>>
>>I'm sorry but the print-ready files on our system do not have any data 
>>pertaining to the BANNER anywhere in the file.
>>
>>The info regarding the banner must be somewhere else.
>>
>>Denny
>>
>>
>>At 07:58 AM 10/21/2005 +1000, you wrote:
>> >If you look at the print-ready file in usr/spool/uv (or wherever it 
>> >is that your UVSPOOL points to), it already has the banner page; this 
>> >is added by the generating process.  So, the only way you could
>suppress"
>>
>> >the header would be to direct the job to another "printer" that uses 
>> >a special driver to remove the banner page.  Such a script should not 
>> >be difficult to create; you seek to remove all lines up to and 
>> >including
>>the
>> >second form-feed character.
>> >
>> >- Original Message -
>> >From: "Denny Watkins" <[EMAIL PROTECTED]>
>> >To: u2-users@listserver.u2ug.org
>> >Subject: [U2] Is there a method to suppress printing the Banner page 
>> >after  the fact?
>> >Date: Thu, 20 Oct 2005 09:14:12 -0500
>> >
>> > >
>> > > We are running UniVerse release 9.6.2.5 under IBM AIX 4.3.3 on an 
>> > > IBM F50.
>> > >
>> > > Question:
>> > >
>> > > Is there a way to suppress the printing of the 'banner' page after 
>> > > a
>>
>> > > print job has already been submitted and is in the queue but did 
>> > > not
>>
>> > > have the parameter NHEAD or NOHEAD set to suppress printing the 
>> > > banner?
>> > >
>> > > Thanks,
>> > >
>> > >
>> > > Denny Watkins
>> > > Director Computer Services
>> > > Morningside College
>> > > 1501 Morningside Ave
>> > > Sioux City, Ia 51106-1717
>> > >
>> > > Phone:  1-712-274-5250
>> > >
>> > > Email:   <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]
>> > > ---
>> > > 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] Is there a method to suppress printing the Banner page after the fact?

2005-10-21 Thread Dave Taylor
Denny,

The feature you want, to change the print queue on a print job that is on
hold in the spooler, is provided for in the SP.EDIT command, according to
the Universe Reference Manual.

When Spool(ing) from the SP-EDIT command, the print job will normally be
spooled to the printer associated with the print queue that was in effect at
the time the print job was created.

Using the "R" option with the SP.EDI command, however, causes the print job
to be spooled to the printer associated with the print queue *currently* in
effect.

This means that you can re-issue a SETPTR command after a print job has been
created to establish a new print queue for your workstation and then SP-EDIT
(R the print job and spool it to the just newly-established  print queue.

hth and htw,

Dave

Dave Taylor
President
Sysmark Information Systems, Inc.
49 Aspen Way
Rolling Hills Estates, CA 90274
800-SYSMARK (800-797-6275)
(O) 310-544-1974
(P) 800-339-1497
(F) 310-377-3550
Your Source for Integrated EDI Translation and DataSync Integration
www.sysmarkinfo.com

- Original Message - 
From: "Denny Watkins" <[EMAIL PROTECTED]>
To: 
Sent: Friday, October 21, 2005 7:30 AM
Subject: RE: [U2] Is there a method to suppress printing the Banner page
after the fact?


> What I need to do is change the queue entries AFTER the reports
> have already been submitted without NHEAD or NOHEAD and with the
> BANNER option.
>
>
> Denny
>
>

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


RE: [U2] Is there a method to suppress printing the Banner page after the fact?

2005-10-21 Thread Jeff Schasny
I believe the correct answer to your question is no.  At least it is if you
dont want to rewrite the unix print spooler

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Denny Watkins
Sent: Friday, October 21, 2005 8:30 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Is there a method to suppress printing the Banner page
after the fact?


What I need to do is change the queue entries AFTER the reports
have already been submitted without NHEAD or NOHEAD and with the
BANNER option.


Denny


At 07:57 AM 10/21/2005 -0500, you wrote:
>Yes. In your SETPTR add NHEAD or NOHEAD as one of the options before you
>spool.
>
>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] On Behalf Of Denny Watkins
>Sent: Friday, October 21, 2005 7:20 AM
>To: u2-users@listserver.u2ug.org
>Subject: Re: [U2] Is there a method to suppress printing the Banner page
>after the fact?
>
>
>I'm sorry but the print-ready files on our system do not have any data
>pertaining to the BANNER
>anywhere in the file.
>
>The info regarding the banner must be somewhere else.
>
>Denny
>
>
>At 07:58 AM 10/21/2005 +1000, you wrote:
> >If you look at the print-ready file in usr/spool/uv (or wherever it is
> >that your UVSPOOL points to), it already has the banner page; this is
> >added by the generating process.  So, the only way you could "suppress"
>
> >the header would be to direct the job to another "printer" that uses a
> >special driver to remove the banner page.  Such a script should not be
> >difficult to create; you seek to remove all lines up to and including
>the
> >second form-feed character.
> >
> >- Original Message -
> >From: "Denny Watkins" <[EMAIL PROTECTED]>
> >To: u2-users@listserver.u2ug.org
> >Subject: [U2] Is there a method to suppress printing the Banner page
> >after  the fact?
> >Date: Thu, 20 Oct 2005 09:14:12 -0500
> >
> > >
> > > We are running UniVerse release 9.6.2.5 under IBM AIX 4.3.3 on an
> > > IBM F50.
> > >
> > > Question:
> > >
> > > Is there a way to suppress the printing of the 'banner' page after a
>
> > > print job has already been submitted and is in the queue but did not
>
> > > have the parameter NHEAD or NOHEAD set to suppress printing the
> > > banner?
> > >
> > > Thanks,
> > >
> > >
> > > Denny Watkins
> > > Director Computer Services
> > > Morningside College
> > > 1501 Morningside Ave
> > > Sioux City, Ia 51106-1717
> > >
> > > Phone:  1-712-274-5250
> > >
> > > Email:   <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]
> > > ---
> > > 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-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-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.12.4/143 - Release Date: 10/19/2005

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.12.4/143 - Release Date: 10/19/2005
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Is there a method to suppress printing the Banner page after the fact?

2005-10-21 Thread Denny Watkins

What I need to do is change the queue entries AFTER the reports
have already been submitted without NHEAD or NOHEAD and with the
BANNER option.


Denny


At 07:57 AM 10/21/2005 -0500, you wrote:

Yes. In your SETPTR add NHEAD or NOHEAD as one of the options before you
spool.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Denny Watkins
Sent: Friday, October 21, 2005 7:20 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Is there a method to suppress printing the Banner page
after the fact?


I'm sorry but the print-ready files on our system do not have any data
pertaining to the BANNER
anywhere in the file.

The info regarding the banner must be somewhere else.

Denny


At 07:58 AM 10/21/2005 +1000, you wrote:
>If you look at the print-ready file in usr/spool/uv (or wherever it is
>that your UVSPOOL points to), it already has the banner page; this is
>added by the generating process.  So, the only way you could "suppress"

>the header would be to direct the job to another "printer" that uses a
>special driver to remove the banner page.  Such a script should not be
>difficult to create; you seek to remove all lines up to and including
the
>second form-feed character.
>
>- Original Message -
>From: "Denny Watkins" <[EMAIL PROTECTED]>
>To: u2-users@listserver.u2ug.org
>Subject: [U2] Is there a method to suppress printing the Banner page
>after  the fact?
>Date: Thu, 20 Oct 2005 09:14:12 -0500
>
> >
> > We are running UniVerse release 9.6.2.5 under IBM AIX 4.3.3 on an
> > IBM F50.
> >
> > Question:
> >
> > Is there a way to suppress the printing of the 'banner' page after a

> > print job has already been submitted and is in the queue but did not

> > have the parameter NHEAD or NOHEAD set to suppress printing the
> > banner?
> >
> > Thanks,
> >
> >
> > Denny Watkins
> > Director Computer Services
> > Morningside College
> > 1501 Morningside Ave
> > Sioux City, Ia 51106-1717
> >
> > Phone:  1-712-274-5250
> >
> > Email:   <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]
> > ---
> > 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-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-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Is there a method to suppress printing the Banner page after the fact?

2005-10-21 Thread Buffington, Wyatt
Yes. In your SETPTR add NHEAD or NOHEAD as one of the options before you
spool.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Denny Watkins
Sent: Friday, October 21, 2005 7:20 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Is there a method to suppress printing the Banner page
after the fact?


I'm sorry but the print-ready files on our system do not have any data 
pertaining to the BANNER
anywhere in the file.

The info regarding the banner must be somewhere else.

Denny


At 07:58 AM 10/21/2005 +1000, you wrote:
>If you look at the print-ready file in usr/spool/uv (or wherever it is
>that your UVSPOOL points to), it already has the banner page; this is 
>added by the generating process.  So, the only way you could "suppress"

>the header would be to direct the job to another "printer" that uses a 
>special driver to remove the banner page.  Such a script should not be 
>difficult to create; you seek to remove all lines up to and including
the 
>second form-feed character.
>
>- Original Message -
>From: "Denny Watkins" <[EMAIL PROTECTED]>
>To: u2-users@listserver.u2ug.org
>Subject: [U2] Is there a method to suppress printing the Banner page
>after  the fact?
>Date: Thu, 20 Oct 2005 09:14:12 -0500
>
> >
> > We are running UniVerse release 9.6.2.5 under IBM AIX 4.3.3 on an 
> > IBM F50.
> >
> > Question:
> >
> > Is there a way to suppress the printing of the 'banner' page after a

> > print job has already been submitted and is in the queue but did not

> > have the parameter NHEAD or NOHEAD set to suppress printing the 
> > banner?
> >
> > Thanks,
> >
> >
> > Denny Watkins
> > Director Computer Services
> > Morningside College
> > 1501 Morningside Ave
> > Sioux City, Ia 51106-1717
> >
> > Phone:  1-712-274-5250
> >
> > Email:   <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]
> > ---
> > 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-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] Is there a method to suppress printing the Banner page after the fact?

2005-10-21 Thread Robert Paterson
Are you passing through to lp?

In which case it could be the lp banner which needs removing? 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Denny Watkins
Sent: 21 October 2005 13:20
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Is there a method to suppress printing the Banner page
after the fact?

I'm sorry but the print-ready files on our system do not have any data
pertaining to the BANNER anywhere in the file.

The info regarding the banner must be somewhere else.

Denny


At 07:58 AM 10/21/2005 +1000, you wrote:
>If you look at the print-ready file in usr/spool/uv (or wherever it is 
>that your UVSPOOL points to), it already has the banner page; this is 
>added by the generating process.  So, the only way you could "suppress"
>the header would be to direct the job to another "printer" that uses a 
>special driver to remove the banner page.  Such a script should not be 
>difficult to create; you seek to remove all lines up to and including 
>the second form-feed character.
>
>- Original Message -
>From: "Denny Watkins" <[EMAIL PROTECTED]>
>To: u2-users@listserver.u2ug.org
>Subject: [U2] Is there a method to suppress printing the Banner page 
>after  the fact?
>Date: Thu, 20 Oct 2005 09:14:12 -0500
>
> >
> > We are running UniVerse release 9.6.2.5 under IBM AIX 4.3.3 on an
IBM F50.
> >
> > Question:
> >
> > Is there a way to suppress the printing of the 'banner' page after a

> > print job has already been submitted and is in the queue but did not

> > have the parameter NHEAD or NOHEAD set to suppress printing the
banner?
> >
> > Thanks,
> >
> >
> > Denny Watkins
> > Director Computer Services
> > Morningside College
> > 1501 Morningside Ave
> > Sioux City, Ia 51106-1717
> >
> > Phone:  1-712-274-5250
> >
> > Email:   <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]
> > ---
> > 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-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


This e-mail is for the use of the intended recipient(s) only. If you have 
received this e-mail in error, please notify the sender immediately and then 
delete it. If you are not the intended recipient, you must not use, disclose or 
distribute this e-mail without the author's prior permission. We have taken 
precautions to minimize the risk of transmitting software viruses, but we 
advise you to carry out your own virus checks on any attachment to this 
message. We cannot accept liability for any loss or damage caused by software 
viruses.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Is there a method to suppress printing the Banner page after the fact?

2005-10-21 Thread Denny Watkins
I'm sorry but the print-ready files on our system do not have any data 
pertaining to the BANNER

anywhere in the file.

The info regarding the banner must be somewhere else.

Denny


At 07:58 AM 10/21/2005 +1000, you wrote:
If you look at the print-ready file in usr/spool/uv (or wherever it is 
that your UVSPOOL points to), it already has the banner page; this is 
added by the generating process.  So, the only way you could "suppress" 
the header would be to direct the job to another "printer" that uses a 
special driver to remove the banner page.  Such a script should not be 
difficult to create; you seek to remove all lines up to and including the 
second form-feed character.


- Original Message -
From: "Denny Watkins" <[EMAIL PROTECTED]>
To: u2-users@listserver.u2ug.org
Subject: [U2] Is there a method to suppress printing the Banner page 
after  the fact?

Date: Thu, 20 Oct 2005 09:14:12 -0500

>
> We are running UniVerse release 9.6.2.5 under IBM AIX 4.3.3 on an IBM F50.
>
> Question:
>
> Is there a way to suppress the printing of the 'banner' page after
> a print job has already been submitted and is in the queue but did
> not have the parameter NHEAD or NOHEAD set to suppress printing the banner?
>
> Thanks,
>
>
> Denny Watkins
> Director Computer Services
> Morningside College
> 1501 Morningside Ave
> Sioux City, Ia 51106-1717
>
> Phone:  1-712-274-5250
>
> Email:   [EMAIL PROTECTED]
> ---
> 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-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Is there a method to suppress printing the Banner page after the fact?

2005-10-20 Thread John Jenkins
Denny

You would need to write a "driver script", send the report to /dev/null
(device)and use the script to edit the data. You could use "sed" which I
seem to recall is pretty OK with this or alternatively "awk"

Regards

JayJay

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Denny Watkins
Sent: 20 October 2005 15:14
To: u2-users@listserver.u2ug.org
Subject: [U2] Is there a method to suppress printing the Banner page after
the fact?

We are running UniVerse release 9.6.2.5 under IBM AIX 4.3.3 on an IBM F50.

Question:

Is there a way to suppress the printing of the 'banner' page after
a print job has already been submitted and is in the queue but did
not have the parameter NHEAD or NOHEAD set to suppress printing the banner?

Thanks,


Denny Watkins
Director Computer Services
Morningside College
1501 Morningside Ave
Sioux City, Ia 51106-1717

Phone:  1-712-274-5250

Email:   [EMAIL PROTECTED]  
---
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] Is there a method to suppress printing the Banner page after the fact?

2005-10-20 Thread Ray Wurlod
If you look at the print-ready file in usr/spool/uv (or wherever it is that 
your UVSPOOL points to), it already has the banner page; this is added by the 
generating process.  So, the only way you could "suppress" the header would be 
to direct the job to another "printer" that uses a special driver to remove the 
banner page.  Such a script should not be difficult to create; you seek to 
remove all lines up to and including the second form-feed character. 

- Original Message -
From: "Denny Watkins" <[EMAIL PROTECTED]>
To: u2-users@listserver.u2ug.org
Subject: [U2] Is there a method to suppress printing the Banner page after  the 
fact?
Date: Thu, 20 Oct 2005 09:14:12 -0500

> 
> We are running UniVerse release 9.6.2.5 under IBM AIX 4.3.3 on an IBM F50.
> 
> Question:
> 
> Is there a way to suppress the printing of the 'banner' page after
> a print job has already been submitted and is in the queue but did
> not have the parameter NHEAD or NOHEAD set to suppress printing the banner?
> 
> Thanks,
> 
> 
> Denny Watkins
> Director Computer Services
> Morningside College
> 1501 Morningside Ave
> Sioux City, Ia 51106-1717
> 
> Phone:  1-712-274-5250
> 
> Email:   [EMAIL PROTECTED]
> ---
> 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/