Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 21 MAY 2008 02:25:16PM Paul wrote:

Folks,

I'm trying to output a large amount of PCL code (anywhere from 3-15 pages) to printer via OI; but for some reason it prints everything really small in the left top corner almost as small as quarter of page and all I am doing is:

printer 1

print LargeVar

printer 0

So I came across Direct_Print; and tried using-it but again when I do:

retval=Direct_Print('START',,,) retval=Direct_Print('PRINT',LargeVar) retval=Direct_Print('STOP',,,)

It only prints a couple of lines of the whole PCL var… Does print only do 1 line at a time? Does it have a size restriction?

So curious that OI somewhat was manipulating the output to printer; I saved file to DOS and at command line I did a "COPY REPORTFILE.TXT PRN"

And guess what; it worked… it printed in the full pages exactly the way I want-it…

So my question is; when it comes to PCL printing is there some type of setting / restriction in OI that would keep this from printing correctly; I would like to print directly without having to add the DOS workaround.

I know; everyone is thinking just convert-it to OIPI; well eventually I will switch this to OIPI; but for now I don't have the time to spend converting 30 routines to OIPI; so I need to get this working in OI.

Thanks in advance for any help / advise?

Paul


At 21 MAY 2008 03:03PM Paul wrote:

Ok, so looks like I might of figured out how to make this work via direct_print by using the PRINTBIN command; as of right now it is printing correctly using that command.

But I would still like to know why OI regular print changes the whole size of the output win using PCL / IMAGES?

Also; what are the restrictions / deferences between PRINT & PRINTBIN in DIRECT_PRINT; documentation is not that elaborate and all samples use the same code…

Does either PRINT / PRINTBIN have a variable size limit?

Thanks

Paul


At 21 MAY 2008 07:17PM Sean FitzSimons wrote:

Paul,

You should be able to print chunks of text. The difference between the PRINT and PRINTBIN message is that the PRINTBIN is expecting binary null terminated data.

Sean

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/1dfe5d5081aab05485257450006530fc.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1