LB Booster
« Print size? »

Welcome Guest. Please Login or Register.
Apr 1st, 2018, 05:03am



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: Print size?  (Read 306 times)
Monkfish
Full Member
ImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 104
xx Print size?
« Thread started on: Jul 9th, 2015, 08:29am »

Hi all

I have been trying to print the contents of a graphics box using the following instruction:

print #main.gfx, "print [size]"

I would like the user to be able to adjust the size precisely, but outside the size options of vga, svga and xga, I'm not sure that this instruction allows that.

I am using the printer dialog successfully to allow the user to set print quality and paper orientation... although this only works fully in LBB not LB (LBB is just far more predictable... huge thanks to Richard). But adjusting the print size is eluding me.

User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Re: Print size?
« Reply #1 on: Jul 9th, 2015, 08:48am »

on Jul 9th, 2015, 08:29am, Monkfish wrote:
I would like the user to be able to adjust the size precisely, but outside the size options of vga, svga and xga, I'm not sure that this instruction allows that.

Yes it does, you just have to substitute a numeric value for the VGA, SVGA or XGA qualifier. In fact those options are simply aliases for 640, 800 and 1024 respectively.

So for example if you want to set the print size to a variable value you can do:

Code:
    printsize = 800
    #main.gfx "print ";printsize 

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