Home Forums HTBasic Forum Printing with HTBASIC

Tagged: , ,

This topic contains 7 replies, has 3 voices, and was last updated by  ZeRider 2 weeks, 6 days ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1331

    kfanedoul
    Participant

    Hi,

    I use HTBasic for years now on windows XP. Everything works great until today where I wanted to use my application on W7.

    I have an issue with Color printing, I’m not able to print something in color. only black and white.

    Can someone help me to fix that.

    Maybe it’s a drivers problem ?? Wich drivers are needed with HTBasic ?

    Thank’s

    PS: Sorry for my english

    #1335

    ZeRider
    Participant

    Hi, do you have verify your Printer properties in the HTBasic toolbar ?
    Look at : Tools\Device Setup\WIN-PRNT\Properties

    #1336

    kfanedoul
    Participant

    Hi ZeRider thank’s for being here

    I’m actually using the PLOTTER IS function to print

    When I use this line :

    PLOTTER IS 10 “HPGL;PCL5;COLOR” I got an error : Improper Plotter specifier

    And when i use the this :

    PLOTTER IS 26 “HPGL;PCL5;COLOR” It works but only in black and white..

    Thank’s

    #1341

    Henrikhuse
    Participant

    Hi,
    we have given up keeping HTBasic printing directly over network printers. (XP -> W7 -> W8 -> W10)
    Now we print everything to a PCL5 file, and stream that through a product called LincPDF, which can handle both text and graphics perfectly.
    This can easily be called directly from HTBasic, so you will not feel the difference, but all print will create a pdf, which can be sent to any printer from Adobe.

    #1343

    kfanedoul
    Participant

    Hi Henrikhuse,

    Thank’s for the idea but I have no idea how to do it with HTBasic.

    Maybe can you send me an example of this ? (Just a really basic one like printing a line)

    Regards.

    #1344

    ZeRider
    Participant

    Hi,
    Do you want to test this :

    CLEAR SCREEN
    KEY LABELS OFF
    !
    !——————-
    ! TRACE ON SCREEN
    !——————-
    PLOTTER IS CRT,”INTERNAL”
    GOSUB Plot
    !
    !——————-
    ! TRACE ON PRINTER
    !——————-
    DUMP GRAPHICS
    GOTO End
    !
    !
    Plot: GCLEAR
    VIEWPORT 0,138,0,100
    WINDOW 0,100,0,100
    MOVE 50,50
    LORG 5
    CSIZE 10
    PEN 2 ! RED
    LABEL “TEST”
    PEN 1 ! WHITE
    LABEL “END”
    CLIP 20,80,30,70
    FRAME
    RETURN
    !
    !
    End: KEY LABELS ON
    END

    #1348

    kfanedoul
    Participant

    Thank’s ZeRider you saved my ass <3 !

    #1349

    ZeRider
    Participant

    Very good, I’m happy to read that 🙂

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.