PCL language, pjl file

Discussion in 'Software' started by subgeeky, Aug 31, 2010.

  1. subgeeky

    subgeeky Private E-2

    any familiar with this in DOS. Can't send defaults to printer.
     
  2. PC-XT

    PC-XT Master Sergeant

    Do you mean you are trying to send a default symbol set?
    What printer are you using?
     
  3. subgeeky

    subgeeky Private E-2

    Dell 2335dn. As far as I know, it supports PCL.
     
  4. PC-XT

    PC-XT Master Sergeant

    Ok, I found your code at http://forums.majorgeeks.com/showthread.php?p=1527191#post1527191

    Try this:
    Code:
    Ec%-12345X@PJL DEFAULT COPIES=1
    @PJL DEFAULT ORIENTATION=LANDSCAPE
    @PJL DEFAULT PAPER=LETTER
    @PJL DEFAULT MPTRAY=FIRST
    @PJL DEFAULT MANUALFEED=OFF
    @PJL DEFAULT FORMLINES=60
    @PJL DEFAULT LPARM:PCL SYMSET=PC8
    @PJL DEFAULT LPARM:PCL PITCH= 17.00
    @PJL DEFAULT LPARM:PCL FONTSOURCE=I
    @PJL DEFAULT LPARM:PCL FONTNUMBER=1
    @PJL DEFAULT ECONOMODE=OFF
    @PJL DEFAULT DENSITY=3
    @PJL DEFAULT RET=MEDIUM
    @PJL DEFAULT RESOLUTION=600
    @PJL DEFAULT PAGEPROTECT=AUTO
    @PJL DEFAULT AUTOCONT=OFF
    @PJL DEFAULT TIMEOUT=15
    Ec%-12345X
    If that doesn't work, try setting landscape in a separate file.
    Code:
    Ec%-12345X@PJL DEFAULT ORIENTATION=LANDSCAPE
    Ec%-12345X
    If it still doesn't work, I'd try doing a test job using SET instead of DEFAULT.

    I hope that helps. If you need more, ask again. :)
     
  5. PC-XT

    PC-XT Master Sergeant

    One more thing: some printers work better setting defaults if you include "@PJL RESET" as the next to last line.

    Also, as usual, "Ec" in those commands represents ASCII code 27.
     
  6. subgeeky

    subgeeky Private E-2

    I tried both methods.

    All it does when I send it to the printer in command prompt using: "copy filelocation lpt1" was print the codes. Still in portrait.
     
  7. PC-XT

    PC-XT Master Sergeant

    Oh, ok. If the codes are being printed, they aren't being recognized by the printer. Some printers will correct for this by recognizing @PJL, but this isn't standard. I think your old printer did this, but the new one is more strict. I assume pages printed from Windows print ok, and it's just this file.

    I'd check to make sure the code is correct, starting with {Esc}%-12345X@PJL... The problem is likely before the first printed code. I think {Esc} is shown as either ^[ or a left pointing arrow when the file is TYPEd in DOS or the command window. I usually use EDIT to make it, by first typing Ctrl+P, then pressing the Esc key.
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds