ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

print pdf on i5

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

  • print pdf on i5

    hi @all,

    i create a pdf with php(fpdf-class) on my i5.
    The pdf-file is stored in the ifs.

    the file includes pics and it is nice formated.

    Now i want to print the pdf-file on my i5.
    How can i do that ?

    bye jo

  • #2
    Re: print pdf on i5

    If, and only if ! ! ! your laserprinter understands PDF ( Brother HL-4040cn ) then this is the easy way !


    Use Qshell Rfile


    Write the contents of stream file mydoc.pdf to spooled printer device file QPRINT as unconverted ASCII data, and then use the CL LPR command to send the spool file to another system:

    before='ovrprtf qprint devtype(*userascii) spool(*yes)'
    after="lpr file(qprint) system(usrchprt01) prtq('rchdps') transform(*no)"
    cat -c mydoc.pdf | Rfile -wbQ -c "$before" -C "$after" qprint

    Comment

    Working...
    X