ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

using Rfile

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • using Rfile

    Hi All,

    I want to pdf to spool using Rfile, it creates spool but It is not printed the content in pdf file but some unrelated info
    (I have tried with Scott's PrtStmf command but result is same)

    Code:
    cat -c /tmp/test2.pdf | Rfile -wbQ -c "ovrprtf file(qprint) devtype(*userascii) outq(PRT10) splfname(qshprt) hold(*yes)" qprint
    Can someone please show me the right way...

    PS : PRT10 is connected lexmark printer
    Thanks

  • #2
    Re: using Rfile

    Neither the 'cat' command nor the 'prtstmf' utility understands the internals of a PDF. They will NOT interpret the PDF document and render them in the printer's language. To do that, you need a program such as Adobe Reader.

    Tools like cat/prtstmf only copy the raw data from the PDF to the printer. And are only useful if the printer itself understands PDF format and can render it itself.

    Comment

    Working...
    X