Home › Forums › HTBasic Forum › Printing with HTBASIC
- This topic has 7 replies, 3 voices, and was last updated 7 years ago by
ZeRider.
-
AuthorPosts
-
November 14, 2018 at 9:38 am #1331
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
November 15, 2018 at 12:49 pm #1335Hi, do you have verify your Printer properties in the HTBasic toolbar ?
Look at : Tools\Device Setup\WIN-PRNT\PropertiesNovember 15, 2018 at 1:23 pm #1336Hi 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
November 22, 2018 at 8:53 am #1341Hi,
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.November 22, 2018 at 9:00 am #1343Hi 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.
November 23, 2018 at 5:16 pm #1344Hi,
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
ENDNovember 27, 2018 at 12:47 pm #1348Thank’s ZeRider you saved my ass <3 !
November 27, 2018 at 2:25 pm #1349Very good, I’m happy to read that 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.