Earl -

 

Here's one of the help screens from DPSpool, perhaps you didn't see this one
but the documentation is quite good in this program:

 

Sending Codes to DPSpool:

 

You send control codes to DPSpool by inserting Printer Control Strings into
your DP reports. To insert a printer control string into a report, press
Ctrl-F7, 1, B while you are in the report editing screen. This presents you
with a field where you can enter the control codes you want to use.

 

Some characters can be easily entered into this field (such as normal
alphanumeric characters such as ABC and 123) while others do not have a
corresponding key on the keyboard. For these characters you should enter the
ASCII value of the character surrounded by angle brackets. For example,
ASCII character 250 would be entered as <250>.

 

Many of the control codes DPSpool uses are the same ones used by WordPerfect
4.2 and later. Additional codes have also been added if there were no
corresponding codes already in the WP4.2 file format specification. Thus if
you attempt to open a file meant for DPSpool with WordPerfect, WP will
correctly handle the codes it recognizes and it should simply ignore the
others.

 

DPSpool currently recognizes the following control codes. Click on an item
in the list to display the information about that code.

 

Backspace................... <8>

Strikeout on/off............  <146>  <147>

Underline on/off............  <148>  <149>

Bold on/off.................    <157>  <156>

Italics on/off..............     <178>  <179>

Set left margin.............  <192><ol><or><NL><nr><192>

Set top margin.............. <206><ot><NT><206>

Set lines per inch.......... <213><olpi><NLPI><213>

 

Print extended character....         <225><x><225>

Select font.................    <244>Ffontname<244>

                        <244>Ppointsize<244>

                        <244>Wwidth-ratio<244>

                        <244>Ccharset<244>

                        <244>T<r><g><b><244>

                        <244>Sx<244>

Print specific character....           <245>charnum;charset<245>

Set printer options......... <249>P<249>

                        <249>L<249>

                        <249>Dduplex<249>

                        <249>Bbin<249>

                        <249>Ssize<249>

                        <249>Swidth;height<249>

 

<249>Qquality<249>

                        <249>Ccopies<249>

Print graphic...............   <250>filename;x;y;width;height<250>

Move cursor position........          <251>Px;y<251>

                        <251>Mx;y<251>

                        <251>Rx;y<251>

 

                                                               

IN REGARD TO YOUR PROBLEM, try <244>Fcourier<244>P10<244>

You can't use CPI with windows, you use point size instead.   I'm guessing
but I think P10 is about 12cpi.  I've been playing  with these point sizes
and it's kind of trial and error.

 

Jon Ong

 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Earl C. Catron
Sent: Wednesday, April 09, 2008 6:10 PM
To: [email protected]
Subject: [Dataperf] Printer Codes

 

I am repeating this message because I did not see it appear on the forum.
Please excuse if it did appear and I missed it.

 

I have several Dataperfect reports that need to be printed in 12
characters/inch. The default appears to be 10 characters per inch. In the
past I used printers that allowed me to set this manually. My new printers
do not allow me to make the change manually. Can I imbed the printer code
directly in the report form and how and where would I insert the code(s)?

 

 Thanks for your help.

 

 

 

Earl C. Catron

[EMAIL PROTECTED]

Cell: 754-234-5671

 

_______________________________________________
Dataperf mailing list
[email protected]
http://lists.dataperfect.nl/mailman/listinfo/dataperf

Reply via email to