I think I found out why my *WSCST isn't working. It seems our particular model doesn't support PJL codes. So I'm looking at a PC5250 printer session.


-----Original Message-----
From: Charles Wilt [mailto:charles.wilt@xxxxxxxxx]
Sent: Wednesday, April 09, 2014 8:47 AM
To: Midrange Systems Technical Discussion
Subject: Re: Staple and hole punch

Per this message from Scott..

The commands for stapling and hole punch are not standard, but you said you found the Canon codes.

Also per that message, some printer are picky about where they see the code. Thus Scott uses his own custom transform based upon IBM's TSPRWPR instead of using the built in HPT.

You might have better luck without writing your own transform if you define the PRTF as AFPDS and make use of the STRPAGGRP and ENDPAGGRP DDS keywords.

Also see here:


On Wed, Apr 9, 2014 at 9:22 AM, Justin Taylor <JUSTIN@xxxxxxxxxxxxx> wrote:

So I asked this question of Google all of yesterday with every search
string I could come up with. I finally managed to find this article
here (
http://www.itjungle.com/fhg/fhg110508-story02.html) where the guy was
doing what I'm trying. The major difference being he was working with
a Xerox defined as a print device and I have a Canon defined as a
remote outq. Still, it was a start. I found the Canon codes and made a *WSCST.
Unfortunately, it still didn't work, and I'm not sure why.

FWIW, he's my PJL:

/* %-12345X@PJL */
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take
a moment to review the archives at

Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2015 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact