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.
The noticing will continue
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
  724  855  599  923  575  468  400  206  147  564  878  823  652  556 bxor cross forever
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.
The noticing will continue
Reply
#15
Yeah I don't miss hard copies of code, if i do need something plenty of WP's that do this.
  724  855  599  923  575  468  400  206  147  564  878  823  652  556 bxor cross forever
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Lprinting printer control codes? arnoldhf 19 4,511 05-22-2024, 06:04 PM
Last Post: arnoldhf
  Printing to my Printer Dimster 17 6,973 07-14-2022, 06:54 PM
Last Post: SMcNeill

Forum Jump:


Users browsing this thread: 1 Guest(s)