Use the CHR() function to build your PCL string as a char type variable, and then either use PUT CONTROL to send the PCL control string to the printer or embed the PCL control string in your printline. Consult an ASCII code table for the decimal value equivalent of your binary data.
For...
ACK!! Here is a slightly better representation of the .cmd file:
@echo off
sleep 360
echo "GOC BROKER START" >> C:\import.log
"c:\program files\progress\bin\wtbman" -i GOC-NBSLink -start >>C:\import.log
exit
Every startup/shutdown process that you can do in the Progress Explorer GUI can be done from the command line. The Agent (Transaction Server) startup command is:
wtbman -i [AGENT NAME] -start
Here is a .cmd file that I invoke as a scheduled process to insure that an Agent is started properly...
This is a legacy difference between UNIX and DOS/WINDOWS text conventions. UNIX expects a text line to end with LF, the DOS/WINDOWS convention is LF/CR as the line terminator. The LF/CR terminators _are_ there in Windows, it just doesn't show them to you.
Try setting ASCII mode in the FTP...
Have you looked at the manual page by running 'man dd'? Also, you could google 'linux dd'.
I don't know the exact details for linux, but your 'if' and 'of' parameters should be raw device names, something like '/dev/fd0'.
Do a directory listing of your /dev directory to see what your raw...
Here is an example of a 'boilerplate' HTML envelope which has a Server Side Include of a shellscript output file. Your script output may contain HTML tags as necessary if you wish.
Hint: your HTML envelope will have a file extension of '.shtml'.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML...
This showed up in my inbox today:
CLARK WHELTON
What Happens in Vagueness Stays in Vagueness
The decline and fall of American English, and stuff
I recently watched a television program in which a woman described a baby squirrel that she had found in her yard. “And he was like, you know...
For that you would use PCL (Printer Command Language) control codes. You can google 'PCL' and find reference documents on-line.
PCL control is more commonly used to set properties for the entire printed page, i.e. landscape/portrait, font style/size, registration adjustment, etc.
The catch...
Sample code:
def var v-field1 as char format "x(10)" initial "NORMAL".
def var v-field2 as char format "x(10)" initial "REVERSED".
display v-field1 v-field2 with frame main.
color display messages v-field2 with frame main.
Your code and output will be easier to read if you post it between 'code' tags like this:
<your code and output goes here>
Is 'emp-branch' the bank name field you are concerned with?
It looks to me like your output is a fixed-length format and you have supplied the correct position for the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.