please dont rip this site

Using DOS EDIT on an IBM PC to set up test files

Even if you are using some other environment, it can be helpful to verify that the printer and the form storage device are operating correctly. For example, assume you have a macro stored in the printer, with the ID number 123. Using EDIT, you can create a file containing <esc>&f123Y<esc>&f4X(message)<esc>&l0H and use the DOS command COPY filename.PRN LPTn /B (where filename is the name of the file and LPTn is the printer port number, normally LPT1) or COPY filename.PRN PRN /B to send the file to the printer. This command will cause form 123 to be selected and added to each sheet of paper printed by the printer, until a reset command is sent, and will cause the printer to print one page with the form overlaid on it and (message) in the upper left corner.

Printing from a Windows application normally sends a reset command, so the form will not overlay and the command will be cleared if you open a Windows application like Word or CorelDraw and print from it. (See also Calling forms from Windows applications through the Windows printer driver.)

Note: When entering PCL commands, be very careful to use the correct case (capital or small letters.) The commands are case-sensitive. Also, distinguish between lower-case letter l and digit 1, and between letter O and digit 0 (zero.)

where filename is the name of the file and LPTn is the printer port to which the printer is connected. The printer should eject a page with form #123 printed on it and TEST PRINT (or whatever message you entered) in the upper-left corner. To create a test file to print a different macro ID, substitute that ID number for 123 above, in the command <esc>&f123Y; the escape sequence for macro #nnn would be

<esc>&fnnnY<esc>&f4X(message)<esc>&l0H

where nnn is the desired macro ID number and (message) is the message (if any) you want in the upper-left corner.

To eliminate the TEST PRINT or other message, do not enter anything between &f4X and the third escape character. No printout will emerge when the file is copied to the printer, but the form still will overlay on anything printed (until the printer is reset.)

Questions:

Comments:

See also:


file: /Techref/language/pcl/dosedit.htm, 5KB, , updated: 2009/7/21 09:29, local time: 2018/8/17 06:30,
TOP NEW HELP FIND: 
54.196.5.6:LOG IN

 ©2018 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE! / 

<A HREF="http://techref.massmind.org/techref/language/pcl/dosedit.htm"> Using DOS EDIT on an IBM PC to set up test files</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to massmind.org!

 

Welcome to techref.massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .