× 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.



Hi Dave

You say thatHere is the help I see when I type ?print on the command line - I've been there many times! :)

print Command


print command

Use the *print* command to print the current document view.


Syntax

print [ { block | selection }
| bottomMargin/n/
| compare
| endElement/n/
| font { screen |/fontName/ }
| leftMargin/n/
| lineNumbers { on | off }
| rightMargin/n/
| sequenceNumbers { on | off }
| startElement/n/
| tokenized { on | off }
| topMargin/n/
| visible
] [...]

So the ability to specify a font is in there - options are "screen" or "font-name" - note the italics, so there is more to look at - here is that help text -

The /fontName/ parameter should be in one of the following formats:

* /fontname/-/style/-/height/
* /fontname/-/height/
* /fontname/-/style/
* /fontname/

In my case, fontname is "Lucida Sans Typewriter" sans quotes and height is "11", again sans quotes.

You said to use a fixed-space font like Courier New - turns out that the Lucida Sans Typewriter IS such a font - I use it for the screen.

I tried this command string -

print visible leftMargin 100 rightMargin 100 font "Courier New-11"

Same result - variable spacing at 11 point

I tried your suggestion set print.font "Courier New-11" - it did result in monospaced printing - cool!

I tried some others, like Lucida Console - I think that went to variable spacing.

I tried "Courier New" within the print command string - variable spacing again

So results vary - something still seems amiss here!!

Thanks much
Vern

On 6/16/2016 4:05 PM, dlclark@xxxxxxxxxxxxxxxx wrote:
"WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxx> wrote on 06/16/2016 10:50:20 AM:
if I use the following command to print the selection -
print block leftMargin 200 rightMargin 200 font "Lucida Sans
Typewriter-11"
it prints at the 11 point size but with variable spacing.
It doesn't appear that the LPEX print command supports that
setting. You can enter the LPEX command ?print to see the available
parameters and valid settings. You can also look at ?print.font to see
just that parameter of the print command. So, if you specify a
fixed-space font then you will get something closer to what you want. For
example:

set print.font "Courier New-11"

Sincerely,

Dave Clark


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.