Skip to Content
0
Aug 04 at 07:04 AM

sending PJL command to printer

66 Views

our pb 8 application use pcl5e command to print, now that we have to upgrade printer with pcl6, so i need to convert the following to pjl command

this is our current codes

printopen

tray = "~h17B" + "&l" + ls_RegisterBinNr + "H"

printsend(jobnumber, tray)

duplex ="~h1B" + "&l" + '1' + "S"

printsend(jobnumber, duplex)

printdatwindow(jobnumber, ids_print)

print close

how can i change to use pjl command

%-12345X@PJL JOB

@PJL SET MEDIASOURCE = TRAY1

@PJL SET DUPLEX = ON

thanks