I need to modify the printing that prints every command sent and not when the program is closed. When modifying an PCBASIC.INI file, nothing changes. I do not know the correct modification steps
need help
If you want to make a change to a line in that file, you need to uncomment it by removing the # in front. As it stands, in the file you attached, all lines are comments and have no effect.
😕
1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The attached file is PCBASIC.INI. Editing should be done on it. Would you edit it for me please?
I removed the # , but it did not work ... I have a program that was designed on the GW BASIC language. I want it to send every print command and to control that. I downloaded a program DOSPRN but pc basic does not send print commands
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I want the program to print while working on it and to control the printing, not when the program is closed
So try the method you mentioned, which is to go to (C:\Users\Ali ZaaZaa\AppData\Roaming\pcbasic-1.2)... I found two files, one of them is PCBASIC.INI that I attached earlier. I opened it and modified it by removing # then closing the file after saving.. I ran the program but it didn't work, the program still prints after I close it
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You have print-trigger=page which means it sends to the prnter after every page. If you need after every line you should set print-trigger=line. s that what you are looking to do?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I made the modification as in the attached picture. Is what I did right... When closing the file, saving and running the program, nothing changed. The method did not work.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I made the modification as in the attached picture. Is what I did right... When closing the file, saving and running the program, nothing changed. The method did not work.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is it possible for you to contact my device and take the steps to solve the printing problem when closing the program and make it print after every page
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
No, it's not possible for me to connect to your device.
You're set up to trigger print for every page break. That means when a page break character is encountered, the page will be printed; anything left at the end will be printed on closing PC-BASIC.
If you want every line to be printed separately, use print-trigger=line.
Your write that you want to print "every command sent" - unfortunately there is no such option, the options are line, page, or close. If none of these do what you need then unfortunately that can't be resolved.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There is a file with the following path C:\Users\Ali ZaaZaa\AppData\Roaming\pcbasic-1.2
and file with the following path C:\Program Files (x86)\PC-BASIC-1.2\data
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If neither option does what you are looking for, then I am afraid I have run out of ideas and am unable to help you any further. Perhaps someone else on this forum might be able to.
Best of luck
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I need to modify the printing that prints every command sent and not when the program is closed. When modifying an PCBASIC.INI file, nothing changes. I do not know the correct modification steps
need help
If you want to make a change to a line in that file, you need to uncomment it by removing the # in front. As it stands, in the file you attached, all lines are comments and have no effect.
The attached file is PCBASIC.INI. Editing should be done on it. Would you edit it for me please?
I removed the # , but it did not work ... I have a program that was designed on the GW BASIC language. I want it to send every print command and to control that. I downloaded a program DOSPRN but pc basic does not send print commands
Hi, please see here for a guide to printing options: https://robhagemans.github.io/pcbasic/doc/1.2/#printing
I'm not sure exactly what you want but it sounds like this option may be what you need: https://robhagemans.github.io/pcbasic/doc/1.2/#--print-trigger
If it doesn't work, please state exactly what you have tried, otherwise I or others won't be able to see the problem.
I want the program to print while working on it and to control the printing, not when the program is closed
So try the method you mentioned, which is to go to (C:\Users\Ali ZaaZaa\AppData\Roaming\pcbasic-1.2)... I found two files, one of them is PCBASIC.INI that I attached earlier. I opened it and modified it by removing # then closing the file after saving.. I ran the program but it didn't work, the program still prints after I close it
I deleted the # as you can see in the attached picture, is there anything I should do as well
You have
print-trigger=page
which means it sends to the prnter after every page. If you need after every line you should setprint-trigger=line
. s that what you are looking to do?I made the modification as in the attached picture. Is what I did right... When closing the file, saving and running the program, nothing changed. The method did not work.
I made the modification as in the attached picture. Is what I did right... When closing the file, saving and running the program, nothing changed. The method did not work.
Is it possible for you to contact my device and take the steps to solve the printing problem when closing the program and make it print after every page
We connect devices through anydesk . Please agree to resolve the issue with respect
No, it's not possible for me to connect to your device.
You're set up to trigger print for every page break. That means when a page break character is encountered, the page will be printed; anything left at the end will be printed on closing PC-BASIC.
If you want every line to be printed separately, use
print-trigger=line
.Your write that you want to print "every command sent" - unfortunately there is no such option, the options are
line
,page
, orclose
. If none of these do what you need then unfortunately that can't be resolved.What are the steps to modify to line,page
Just replace
page
withline
Is it possible to define a program Dosprn to receive print orders from pc basic
No
it may end up printing every line on a different page
can you pls edit my file to print every page
There is a file with the following path C:\Users\Ali ZaaZaa\AppData\Roaming\pcbasic-1.2
and file with the following path C:\Program Files (x86)\PC-BASIC-1.2\data
C:\Users\Ali ZaaZaa\AppData\Roaming\pcbasic-1.2
C:\Program Files (x86)\PC-BASIC-1.2\data
this file cant be edit !
If neither option does what you are looking for, then I am afraid I have run out of ideas and am unable to help you any further. Perhaps someone else on this forum might be able to.
Best of luck