LB Booster
« Graphics "print" command with no parameter »

Welcome Guest. Please Login or Register.
Apr 1st, 2018, 04:34am



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
We apologize Conforums does not have any export functions to migrate data.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

Thank you Conforums members.
Speed up Liberty BASIC programs by up to ten times!
Compile Liberty BASIC programs to compact, standalone executables!
Overcome many of Liberty BASIC's bugs and limitations!
LB Booster Resources
LB Booster documentation
LB Booster Home Page
LB Booster technical Wiki
Just BASIC forum
BBC BASIC Home Page
Liberty BASIC forum (the original)

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Graphics "print" command with no parameter  (Read 10 times)
Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Graphics "print" command with no parameter
« Thread started on: Nov 12th, 2014, 11:17am »

According to the LB docs the graphics print command, when no parameter is specified, "scales the graphics based on the size they appear on the display monitor". I interpreted this as meaning that graphics should appear on the printer at approximately the same size as they do on the screen.

But that is apparently not what the LB docs mean - at least it's not what LB 4.04 actually does. It would seem that in practice the command:

Code:
    #form "print" 

has the same effect as:

Code:
    #form "print ";DisplayWidth 

But it's not what LBB does. The question is, should I modify LBB to be compatible with LB 4.04, or should I leave it doing what it currently does? Advice please.

Richard.
User IP Logged

SarmedNafi
Junior Member
ImageImage


member is offline

Avatar




PM


Posts: 93
xx Re: Graphics "print" command with no par
« Reply #1 on: Nov 12th, 2014, 2:31pm »


In general I can say what I prefer.
I prefer there is a parameter after print command as a percent Number which can control the size of printed graphic, for example 120%, 100%, or 80% and so.

Regards
Sarmed
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Re: Graphics "print" command with no par
« Reply #2 on: Nov 12th, 2014, 2:48pm »

on Nov 12th, 2014, 2:31pm, Sarmed Nafi wrote:
I prefer there is a parameter after print command as a percent Number which can control the size of printed graphic, for example 120%, 100%, or 80% and so.

I don't understand what you mean - percentage of what?

Anyway I am not proposing any changes to the forms of the command which take a parameter, such as 'print vga' or 'print 800'. They are used very commonly, and are of course already compatible with LB.

My query is only about the variant of the command which has no parameter, which is not commonly used. Do you think that it should be modified to be compatible with LB or not?

Richard.
User IP Logged

Rod
Full Member
ImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 110
xx Re: Graphics "print" command with no par
« Reply #3 on: Nov 12th, 2014, 9:15pm »

Not that well known. The Liberty default is to use the DisplayWidth as the size. Most often this results in a small print size as most folks open a window smaller than the DisplayWidth.

So for conformity you should use DisplayWidth. Perhaps a more natural default choice would be WindowWidth but that would be an obvious break from tradition but would always print stuff full page.

Few folks understand the power of the SIZE parameter.
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Re: Graphics "print" command with no par
« Reply #4 on: Nov 12th, 2014, 10:04pm »

on Nov 12th, 2014, 9:15pm, Rod wrote:
The Liberty default is to use the DisplayWidth as the size.

I guess Carl made that decision when all screens were roughly 4:3 in shape, most had a relatively low resolution (maybe 800 x 600) and when full-screen programs were common. It makes less sense in an environment of widescreen HD-resolution (or higher) screens.

Quote:
So for conformity you should use DisplayWidth.

OK the consensus, so far at least (taking into account replies at the Yahoo! group), seems to be that I should change LBB to be compatible.

Richard.
User IP Logged

net2014
New Member
Image


member is offline

Avatar




PM


Posts: 37
xx Re: Graphics "print" command with no par
« Reply #5 on: Nov 13th, 2014, 09:42am »

I would suggest conformity with LB4 if possible, too many differences are not easy to remember and we all know that 'reading the manual' is often the last or forgotten resort!

Richard, thanks for your continued support.
User IP Logged

tsh73
Full Member
ImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 210
xx Re: Graphics "print" command with no par
« Reply #6 on: Nov 13th, 2014, 8:11pm »

I would vote for being compatible.
And yes, thanks for working on LBB.
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls