printer commands

Previous topic - Next topic

Kepu

Hi!

I can't find any printer commands.
So, question is  : is there any way to send commands to printer  
I am really new with GlBasic

Kitty Hello

No, no printing commands. What would you need them for?

Kepu

I am  thinking if I can  also use  GlBasic for something else than only for games , for example as a tool for  my works,  for calculating shapes and forms and  see them in 3D, so  printer is a must  for documentation.
Mainly what  I want , is  to  find a simple and (only one) effective basic for  for my needs .
Recently I have used  two to three different basic . ( BlitzBasic3D, SmallBasic, HotBasic)
(Earlier I have used VisualBasic - way too complicated  in timewise if you want to get something done in few minits ( I mean everyday calculations a...), same thing with IBasicPro  .. IBasic standard was faster but  it had also some issues in math ( I don't remember) , other basics  hmm ----__..... .
All basics what I have tried have some problems  (meaning something is missing),
 For example BlitzBasic3D is excellent  ( it has also very good third party  printer 3.0  Dll.),
It has  excellent  3D/2D commands and all normal basic command and all math functions and  it is simple to use ,
 but  it has very bad shortage  -no floats,  single precision is way too small for tecnical calculations
(max 32767.1 is way too limited (of both ends )

Sorry, this message is so long. ( but You asked what for?.)
Your s
Kepu

Kitty Hello

OK. You can save images with GRABSPRITE, SAVESPRITE and so on and save these with SAVESPRITE to the disk. Then you could kick in a printer-cmdline tool with SHELLCMD.
Do you need perfectly scaled prints? What type of prints do you need? You could also write a hpgl-file (it's ascii) for very basic drawings.

Sorry, GLBasic is designed for games.

mikiex

I think BlitzMax supports doubles doesn't it?
You could use any language and output ascii file formats
for other programs that could display and print.

How about using something like blender, you could write scripts
to generate shapes and forms.

Kitty Hello

Can blender print!?
3D+printing would be AutoCAD (dxf)

Kepu

Hi Mikiex
That's why I am using several  programs,
I just wanted  to find  one which have all in one,
I want to check this GlBasic now, maybe  it is possible to make a  .Dll or something  for printer,
at least it  would be easier  than  lack of the floats)