Menu

PCBASIC Configuration file (PCBASIC.INI)

alizaza
2021-08-11
2021-08-11
  • alizaza

    alizaza - 2021-08-11

    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

     
  • Rob Hagemans

    Rob Hagemans - 2021-08-11

    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
  • alizaza

    alizaza - 2021-08-11

    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

     
  • alizaza

    alizaza - 2021-08-11

    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

     
  • alizaza

    alizaza - 2021-08-11

    I deleted the # as you can see in the attached picture, is there anything I should do as well

     
    • Rob Hagemans

      Rob Hagemans - 2021-08-11

      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?

       
  • alizaza

    alizaza - 2021-08-11

    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.

     
  • alizaza

    alizaza - 2021-08-11

    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.

     
  • alizaza

    alizaza - 2021-08-11

    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

     
  • alizaza

    alizaza - 2021-08-11

    We connect devices through anydesk . Please agree to resolve the issue with respect

     
  • Rob Hagemans

    Rob Hagemans - 2021-08-11

    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.

     
  • alizaza

    alizaza - 2021-08-11

    What are the steps to modify to line,page

     
    • Rob Hagemans

      Rob Hagemans - 2021-08-11

      Just replace page with line

       
  • alizaza

    alizaza - 2021-08-11

    Is it possible to define a program Dosprn to receive print orders from pc basic

     
    • Rob Hagemans

      Rob Hagemans - 2021-08-11

      No

       
  • alizaza

    alizaza - 2021-08-11

    it may end up printing every line on a different page
    can you pls edit my file to print every page

     
  • alizaza

    alizaza - 2021-08-11

    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

     
  • alizaza

    alizaza - 2021-08-11

    C:\Users\Ali ZaaZaa\AppData\Roaming\pcbasic-1.2

     
  • alizaza

    alizaza - 2021-08-11

    C:\Program Files (x86)\PC-BASIC-1.2\data
    this file cant be edit !

     
  • Rob Hagemans

    Rob Hagemans - 2021-08-11

    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

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.