Author Topic: qb64 and printing  (Read 2460 times)

0 Members and 1 Guest are viewing this topic.

Offline badger

  • Forum Regular
  • Posts: 148
    • View Profile
qb64 and printing
« on: October 12, 2020, 02:46:02 pm »
Hello

Can qb64 use the windows print driver or does it just do the line printer mode as in qb4.5.. I would be good to do different fonts and such when printing an invoice ..

Badger

FellippeHeitor

  • Guest
Re: qb64 and printing
« Reply #1 on: October 12, 2020, 03:04:10 pm »

Offline Pete

  • Forum Resident
  • Posts: 2361
  • Cuz I sez so, varmint!
    • View Profile
Re: qb64 and printing
« Reply #2 on: October 13, 2020, 12:19:28 am »
I miss the good ol' days. Printing on LPT1 with printer escape codes to change font size, line height, etc. I also used word pad .rtf formatting in some form templates I made, and then SHELLed the work out to Wordpad to print the file.

SHELL _DONTWAIT _HIDE "START wordpad /min /p myfile.txt"

Pete
Want to learn how to write code on cave walls? https://www.tapatalk.com/groups/qbasic/qbasic-f1/