Link to home
Start Free TrialLog in
Avatar of Koslovski
Koslovski

asked on

PCL Manual Feed Commnads

Hi Experts,

We are taking a PDF adding PJL commands to it and sending it to the printer via FTP and this all works fine. We have now been requested to add manual feed, we have tried using a PJL command with out any success.

After scouring the internet I have found that the PCL command for manual feed is "&l2H".  As you see by my code snippet I have added this and I have had no success there either.

Could someone please assist me as to how I could use the PCL command or maybe better way of doing what we are doing.
 
Thanks in advance
%-12345X@PJL SET JOBNAME="Untitled - Notepad"
@PJL SET LCOLORMODEL=BLACK
@PJL SET DUPLEX=OFF
@PJL SET RESOLUTION=600 dpi
@PJL ENTER LANGUAGE=PCL
&l2H

Open in new window

Avatar of Mikael Jansson
Mikael Jansson
Flag of Sweden image

PJL is not my expert area but after a quick search I found a document (see link below) with PJL commands in, can it so easy that you only do this
@PJL DEFAULT MANUALFEED=ON
found in this document http://www.hpinfo.cz/Data/PCL&PJL/HPPJL.pdf
Maybe this is completely wrong but a try anyway...
/ Mikael
Avatar of Koslovski
Koslovski

ASKER

I've tried the PJL headers for manual feed with any success.
I assume you are using a "PDF" parsin function in the printer? could it be something with the supported version of the PDF that differs from the PDF you are sending and what the device can handle?
or
could it be that the printer has some settings that "overrides" this or makes it mandatory. normally a drivers settings are overriding the printers but I dont know when you send it directly to the printer if the printer "is in charge" of some settings.
/ Mikael
Have you tried to put the ESC before the &l2H:
ESC &l2H
or
Esc&l2H

Or you could try:
@PJL SET MEDIASOURCE=MULTI

This are konica minolta, but should work for other brands also:
http://www.minolta.cz/uploaded/download/driver_black_white_copier/Di2510/pi3505e_pcl_pjl_commands.pdf
http://www.minolta.cz/uploaded/download/driver_black_white_copier/Di2510/pi3505e_pcl_pjl_commands.pdf

http://www.dowers.net/ftp/Equipment%20Info/pi35_pjl.xls
jrtec I've used the ESC and i've also already been to the sights u have suggested.
Are you trying to print on both sides of the paper (duplex), and at the same time choosing the bypass?  Most machines dont allow that. (From your Code Snippet probably not)

Try the following procedure to see if you can get to a conclusion.
Install on a windows computer, your printer with the correct printer driver. Confirm that you can print from the bypass from a windows computer, by choosing that option in the driver.
Then change the printer port of that printer to file.
Create a simple text file like test.txt with a simple text line like hello world or whatever.
Print that text file to the printer, choosing in the printing preferences the bypass as the paper origin.
When asked for the output filename cal it something like print_test.txt
If you cannot find the print_test.txt search the entire system drive with a search tool. In my case, with windows vista the file was placed on the desktop.
Open that text file in a text editor and/or hexadecimal editor and check if you can find the command that is selecting the bypass as the paper source.
In my case I got:
@PJL SET MEDIASOURCE = MANUALFEED

If you cannot get to a conclusion, maybe you can use the full content of that file and add it to you application and then start erasing what you don't nedd, &

Hoppe any of this helps.


ASKER CERTIFIED SOLUTION
Avatar of Koslovski
Koslovski

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial