Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Help Meeeeeeeeeeeeeeee!

Author
Message
Flex
21
Years of Service
User Offline
Joined: 2nd Apr 2004
Location: In a dark corner, slowly processing ints
Posted: 2nd Apr 2004 19:36
Hey, could anyone provide me with an additional dll or something to allow DB to print out as in not to the screen but out of a printer. I was wondering since for my A-Level Computing Coursework I have to produce an invoice as a printed output for my program.

Thanks Guys
zircher
22
Years of Service
User Offline
Joined: 27th Dec 2002
Location: Oklahoma
Posted: 2nd Apr 2004 20:42 Edited at: 2nd Apr 2004 20:45
The old school method would be to write the invoice out as a text file and then use a shell/system command like "type invoice.txt > prn".

I have no clue if PRN still works under WinXP, but it wouldn't take too much effort for you to try.

1. create a small batch file with the type command.
2. write the invoice to a text file
3. EXECUTE FILE my_batch_file.bat
--
TAZ

BTW, your message title is annoying and I was tempted not to reply. Get a clue about the culture of this forum and use meaningful titles with a minimum of repeating characters and exclaimation points.

Flex
21
Years of Service
User Offline
Joined: 2nd Apr 2004
Location: In a dark corner, slowly processing ints
Posted: 2nd Apr 2004 21:01
Yeah, sorry about that. It takes time to adapt to new communities so please bear with me. Plus i was in a rush and had no time to think of a better alternative.

Btw thanks i'll give it a try!
Kentaree
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 2nd Apr 2004 22:32 Edited at: 2nd Apr 2004 22:45
TCA has a printer plugin on his site: http://www.codingarea.co.uk

Its not a bug, its a feature!

Login to post a reply

Server time is: 2025-05-23 03:29:23
Your offset time is: 2025-05-23 03:29:23