🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Tane' Tachyon Sun, 10 Jan 1993 20:10
Possibly stupid question on VB and printer escape sequences, etc.
#425
Author: Tane' Tachyon
Date: Sun, 10 Jan 1993 20:10
32 lines
2212 bytes
So I have a program written in regular BASIC that among other things
downloads some fonts to the LaserJet, and uses escape sequences to
position things and set up the LaserJet page.  I was using VB to make
a new version that would run under Windows and have a nice interface
and so on, but when I got to the printing part I hit a wall.
 
Is there any way I can get the Print Manager to accept and pass on
just plain raw data (the fonts, graphics, escape sequences), instead
of having to completely rewrite the printing part of the program?  I'd
much prefer that it work the way it already does for people with
LaserJets, without them having to take any extra steps like explicitly
adding the fonts via the control panel.  But at the same time it would
be really nice if it were able to go through the Print Manager -- I
want it to be able to peacefully coexist with other programs, rather
than pulling something like opening the port as a file, or copying a
file to the port.
 
Trying to download fonts with Printer.print produces "overflow"
errors (I thought that setting Printer.width would solve that, but
it's read-only), looking through at least the 3.0 SDK manuals has not
given me any clue to how this could be done, ditto for looking through
the Windows-programming newsgroups and archives.  Any ideas, or am I
just being very bad here by trying to get around rules for well-
behaved programs?

-- 
 ____________________________________________________________________________
|  tachyon@cats.ucsc.edu  \        /__    Big glitter-slob weirdo bisexual   |
|   tachyon@ucscb.ucsc.edu  \    /   /  feminist vegan homeschooling parent  |
| tachyon@deeptht.armory.com  \/   /  science fiction computer bum i.n.p.o.  |
 -------------------------------\/-------------------------------------------
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads