> From [EMAIL PROTECTED] Mon Jul 22 01:10:25 2002
> From: "Antony Healey" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Subject: LPRng: Banner pages
> Date: Mon, 22 Jul 2002 16:35:44 +1000
>
> This is a multi-part message in MIME format.
>
> ------=_NextPart_000_007A_01C2319D.D30F58A0
> Content-Type: text/plain;
>       charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> Hi people,
>
> I have a little problem that I'm just not wrapping my head around at the =
> moment and would appreciate any insights.
>
> We print all our jobs with banner pages as job separators.
>
> LPRng 3.8.12 is installed and running fine.
>
> Printing from the unix command line works fine (lpr, a2ps et al).
>
> Printing from Windows 2000 through Samba (v2.5.5) works fine.
>
> Printing from Windows 2000 using "LPR Port" prints the job matter but =
> not the banner page.
>
> Does anyone have any ideas on why this is and better yet, a way to =
> resolve it?
>
> Regards,
> Antony.
> -----
> Unix Systems Administrator
> School of Computing & IT
> University of Western Sydney
> Phone: (02) 4736 0771
> Fax: (02) 4736 0770

Try doing the following:

I assume the queue you are printing to is 'lp'.

># lpc stop lp

Now on the Windows 2000 system using the LPR Port facility,
print a job.

You should now do

># lpq -Plp

And see the job in the queue.  Assuming that the
print queue directory is:

 /var/spool/lpd/lp

Look for the file:  cfA...  <- control file.

This should have the format:

Apapowell@h110+215
CA
D2002-07-10-13:59:21.780
Hh110.private
Ja
Lpapowell
Ppapowell
Qlp
Na
fdfA215h110.private
UdfA215h110.private

The 'L' (banner line) value needs to be present to
print a banner.  The 'ab' (always print a banner)
option will use the 'P' value if it is not present.

Try the printcap:

lp:ab:sd=/...

Patrick Powell

-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to