Liberty BASIC Community Forum
« Printing Code in Color »

Welcome Guest. Please Login or Register.
Sep 20th, 2017, 10:25pm


Rules|Home|Help|Search|Recent Posts|Notification


« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Printing Code in Color  (Read 270 times)
thejoecole
New Member
Image


member is offline

Avatar




PM

Gender: Male
Posts: 34
xx Printing Code in Color
« Thread started on: Apr 29th, 2017, 3:03pm »


Would like to be able to print the source code in color matching the syntax coloring in the editor. As it stands now, when I print it still comes out black & white even though my printer setting are for color.

Regards,
Joe
User IP Logged

Joe Cole
-------------------------
Liberty BASIC v4.5.1
Windows 10 Home 64-bit | Intel Core i3, 2.4GHz, 8 gig RAM
-------------------------
Consumer of Caffeinated Products
Hobby Programmer Wannabe
Rod
Global Moderator
ImageImageImageImageImage


member is offline

Avatar

Graphics = goosebumps!


PM

Gender: Male
Posts: 5526
xx Re: Printing Code in Color
« Reply #1 on: Apr 30th, 2017, 02:42am »

This has been discussed before.

http://libertybasic.conforums.com/index.cgi?board=novice&action=display&num=1445593275&start=
User IP Logged

CarlGundel
Administrator
ImageImageImageImageImage


member is offline

Avatar

author of Liberty BASIC


Homepage PM


Posts: 2833
xx Re: Printing Code in Color
« Reply #2 on: May 1st, 2017, 06:47am »

on Apr 30th, 2017, 02:42am, Rod wrote:
This has been discussed before.

http://libertybasic.conforums.com/index.cgi?board=novice&action=display&num=1445593275&start=

I'm interested in implementing printing listings in color except that for this release I am only pursuing things that are low hanging fruit, meaning something that can be done in a few minutes.

-Carl
« Last Edit: May 1st, 2017, 06:47am by CarlGundel » User IP Logged

author of Liberty BASIC
http://www.libertybasic.com
CarlGundel
Administrator
ImageImageImageImageImage


member is offline

Avatar

author of Liberty BASIC


Homepage PM


Posts: 2833
xx Re: Printing Code in Color
« Reply #3 on: May 1st, 2017, 07:34am »

on May 1st, 2017, 06:47am, CarlGundel wrote:
I'm interested in implementing printing listings in color except that for this release I am only pursuing things that are low hanging fruit, meaning something that can be done in a few minutes.

-Carl

In the spirit of tackling low hanging fruit I have quickly added a idecode$() function (and now also idefilename$()) for v4.5.1 to grab the source code from the Liberty BASIC editor. This makes it possible to create a utility to be added to the Run menu as an external program. Then you can implement a code formatter or color printing routine that acts as an extension to the LB editor.

-Carl
« Last Edit: May 16th, 2017, 07:08am by CarlGundel » User IP Logged

author of Liberty BASIC
http://www.libertybasic.com
Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

Rules|Home|Help|Search|Recent Posts|Notification

Donate $6.99 for 50,000 Ad-Free Pageviews!

| |

This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls