please dont rip this site

COBOL on Open VMS

Eric Sorensen of HP says:

I am not a COBOL expert, but often I assist customers with PCL for barcodes, and the following is a typical example of how they select 3of9 barcode in COBOL and then send barcode data to the printer:
BARCODE. 
FILLER PIC X VALUE %33 (this is the escape) 
FILLER PIC X(3) VALUE "(0Y" (select 3of9) 
BARCODE PIC X(13) VALUE "*12345*" ("12345" is barcode data; asterisks are required for start/stop characters-- also called framing characters) 
then they do some "move" commands to fill the variables with data (I assume), and then "write" those to the printer. The printer will continue to print barcodes with each "write" until you select a new primary character set with this (or similar) command (to select "Roman8 character set): esc(8U or in COBOL:
FILLER PIC X VALUE %33 (this is the escape) 
FILLER PIC X(3) VALUE "(8U" (select Roman8) 
You may send PCL commands to printers at any point in the printfile. With a LaserJet you may mix PCL commands in the text, but HP lineprinters cannot mix text and barcodes on the same line, unless you can do a carriage return without a linefeed. HP lineprinters do not use the same set of escape sequences as Laserjets.
+
file: /Techref/language/pcl/vmscobol.htm, 1KB, , updated: 2002/11/1 16:57, local time: 2024/11/19 07:18, owner: JMN-EFP-786,
TOP NEW HELP FIND: 
3.12.153.105:LOG IN

 ©2024 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://linistepper.com/Techref/language/pcl/vmscobol.htm"> COBOL on Open VMS</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 a nice message (short messages are blocked as spam) 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?