× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I'm not sure the ASCII transparency character works with AFPDS, but it might be worth a try.

The ASCII transparency code (Hex 03) allows you to send a string of ascii control characters to the printer.

The syntax is hex 03 followed by the hex value for the number of characters you are going to send followed
by the escape sequence in hex.

For example, to send an ESC H] sequence, insert the character string X'03031B485D' into your print text.


Jeff Young wrote:
The printer is actualy a CANNON copier that also functions as a LAN printer.
Since my printer file has an overlay attached, and the device type is *AFPDS, 
if I embed an escape sequence in hex in the data stream, I think that the spool 
processing will convert it and pass it as data.
If this is not correct, how does it know to translate the data to ASCII for the 
printer?
Thanks, Jeff Young


----- Original Message ----
From: Richard Casey <casey_r@xxxxxxxxxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Sent: Tuesday, September 26, 2006 3:56:40 PM
Subject: RE: Laser Printer commands in APFDS print file


Jeff,

What kind of printer are you using? You can send an escape sequence to the
printer to activate any printer-specific features. Just assemble the
necessary characters (use hex to get the escape character in there) into a
string and write that string to the printer.

Richard


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx]On Behalf Of Jeff Young
Sent: Tuesday, September 26, 2006 3:28 PM
To: midrange-l@xxxxxxxxxxxx; rpg400-l@xxxxxxxxxxxx
Subject: Laser Printer commands in APFDS print file


Is there any way to insert native printer commands into a print stream for a
printer file using APFDS?
I have a print file that uses an overlay on the System i to print forms.
I would like to be able to print multiple copies and have them collated by
the printer when they are printed.  Normal System i printing support does
not allow this, but the printer does support the function.
The customer is running V5R1M0.


Thanks,

Jeff Young

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.8/455 - Release Date: 9/22/2006



As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.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 on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.