rb with staple option?
Hi:
I have 2 applications that using reportbuilder and need to print in the
way that
app1 print first page and app2 print second page then using pjl to staple
it.
Is there any parameter from reportbuilder not to send out eoj from app1
and send eoj from app2 instead?
Thanks,
S. Suviporn
I have 2 applications that using reportbuilder and need to print in the
way that
app1 print first page and app2 print second page then using pjl to staple
it.
Is there any parameter from reportbuilder not to send out eoj from app1
and send eoj from app2 instead?
Thanks,
S. Suviporn
This discussion has been closed.
Comments
Sorry, but there is nothing built-in to ReportBuilder to handle esc codes or
stapling capabilities. You might try generating to a text file and then
adding the esc codes yourself. You will then loose most of the formatting
of the report when you do this. See Demo # 107 (dm0107.pas) located in the
\RBuilder\Demos\Reports\.. directory for an example of generating to text
file.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I was able to send pjl according to Jim Bennett method via
onstartfirstpass event but
unable to handle the eoj from app1. I need to control the app1 to ignore
send eoj and thru app2
that act the eoj sending instead. Current situation I was able to send
staple control but it did
staple as soon as app1 finished. Any idea would be great appreciate. I been
trying to trackle
this problem weeks now.
Regards,
S. Suviporn
I assume you read an article Jim posted at an earlier date about inserting
ESCAPE codes into a report using the OnStartFirstPass event. This is
currently the only way we know how to successfully insert these codes. If a
certian code does not work, it is probably not being read by the printer at
the correct time and therefore cannot be used. Your only other option would
be to generate the report to a text file and insert the ESCAPE codes in
there before printing.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
May be my question is not clear enough.
I did not have any problem passing PJL Esc code to printer but
the problem is how to prevent rb sending out eoj after finish printing.
Regards,
S. Suviporn
You will need to create your own PrinterDevice to control exactly what gets
sent to the printer at a given time. There is an example of this located in
the \RBuilder\Demos\Reports\... directory (dm0123.pas). This demo shows how
to create a custom PrinterDevice and send individual pages to a printer at
given times.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com