TIP: Click on subject to list as thread! ANSI
echo: power_bas
to: ALL
from: STEVE LEGG
date: 1998-04-18 01:08:00
subject: printing to Windows print

From: leggs@bikerider.com (Steve Legg)
Subject: printing to Windows printer
 
Hi everyone!
 
I have a CNC program printing utility that I've become fairly dependent
on, written in PowerBASIC, v3.2.  It's a fairly simple little command
line utility which, at the moment, defaults output to the printer on
LPT1:.  This works just fine in DOS or on a Windows machine that has a
real or network printer defined on LPT1:.
 
The program now has to be run on a system called NTRIGUE, basically an
NT3.51 server which redirects its display to an SGI workstation on the
network.  When you're sitting on the SGI box, and you start NTRIGUE,
you're really running Windows NT, though everything but the graphics
processing is being done remotely.  I'm told by the netadmin that
NTRIGUE doesn't have a way to set up a network printer to be addressed
as an LPTx port for use by a DOS app'.  If anyone with significant
NT3.51 experience can verify or deny this I'd appreciate it.
 
If it is true, I'm wondering if one of you here can tell me whether
there's a way to get my program to print to a named Windows printer
device instead.  Does PB/DLL do this?  What about the PB Windows
Development kit?  Does it provide support for such tasks?  What are the
downsides to either solution?
 
The alternative is to port my code to some Windows development
environment.  I have VB4 Pro here as well, but PowerBASIC is much faster
at the processing this job requires, without the runtime overhead
requirement.
 
Any help you can provide will be much appreciated.  Thanks.
 
-=        Steve Legg        -=-    leggs@bikerider.com    =-
-=  Oshawa, Ontario CANADA  -=-    leggs@idirect.com      =-
 
*** QwkNews (tm) v2.1
 * [TN71] Toast House Import
--- GEcho 1.20/Pro
---------------
* Origin: Toast House Remote (1:100/561)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.