Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need a Printer/Tester
#11
What an odd way to print out something. But I guess it works.
Tread on those who tread on you

Reply
#12
Quote:Notice how the top of that first line is cut off? The last line on the page was too long for the page and, as such, it caused the screen to scroll up.

THAT's what the PCOPY undoes and then moves that line to the next page for us.

ok I was thinking to handle lines that won't fit, using _printwidth with word wrapping and tracking lines but...

Quote:What an odd way to print out something. But I guess it works.
Smile
b = b + ...
Reply
#13
(06-04-2024, 11:20 AM)bplus Wrote:
Quote:Notice how the top of that first line is cut off? The last line on the page was too long for the page and, as such, it caused the screen to scroll up.

THAT's what the PCOPY undoes and then moves that line to the next page for us.

ok I was thinking to handle lines that won't fit, using _printwidth with word wrapping and tracking lines but...

Quote:What an odd way to print out something. But I guess it works.
Smile

I was actually thinking of adding something very similar to this little routine to the IDE, for a new option under the FILES menu -- PRINT.   This is short, lets the IDE basically handle wordwrap and such, and uses nothing but QB64 commands.  It should work on all printers, and doesn't need any SHELL or extra libraries to function for us.

It may be a little odd, but it's basically the best method we have for printing with QB64.   (And, it wouldn't be hard to have it print in colors, for folks who are using inkjet printers.  White, however, would probably need to change to a black instead, so it'd actually print for us.)
Reply
#14
If the WinGDI stuff wasn't effed up then it would look great for printing this stuff out. Lots of font and formatting options.
Tread on those who tread on you

Reply
#15
Yeah I don't miss hard copies of code, if i do need something plenty of WP's that do this.
b = b + ...
Reply




Users browsing this thread: 5 Guest(s)