You are not logged in. You can browse in the PowerBASIC Community, but you must click Login (top right) before you can post. If this is your first visit, check out the FAQ or Sign Up.
A possible solution, not too elegant, is to write to a file and then copy that file to the port / device / queue with a SHELL "COPY myfile.prn \\myserver\mysharedprinter".
Bye!
------------------
Try Online TrID file identifier! Recognize over 1.400 filetypes and counting...
Give a powerfull scriptable Lua interface to your application with PowerBLua PBTracer - Tracer / Profiler for PowerBASIC (soon!)
-- The universe tends toward maximum irony. Don't push it.
http://www.powerbasic.com/support/addons/printers.asp
I use ddoc by Don Dickinson and wrote a program
that accepts arguments using SHELL on the command line.
In the passed COMMAND I tell ddoc what to do like print
a text file, etc. Supports mailing labels, printing in
columns, email and many other functions. Use if for
all printing. Very inexpensive, easy to use and comes with
source. Backed by Don you can't go wrong.
I converted my PBDOS programs to write reports to an RTF file and then
shell to Word passing Word the name of the RTF file. I can then print my report
using Word and perhaps do some tweaking before printing.
RTF is easy for simple stuff. Try it.
BTW, I also do this with some old Turbo Pascal and FoxBase and dBASE III programs.
This has extended the life of these programs.
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, and to analyze site activity. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Comment