RE: "Slave" Printing in Genero

"Norman Laskie" <[email protected]>
Newsgroups gmane.comp.lang.4gl.fourjs.user
Message-ID <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAglNvcA1fnk+NYtsRBdwYSMKAAAAQAAAAieiHqfOCYkC5VlXHMatqJQEAAAAA@esc6.net>
A few months ago, I posted a message to this news group.  Since then I have
found a way to enable "slave" printing in Genero.  After some
experimentation I discovered that the fgltty does use the same registry keys
as PuTTy, even though it is a really stripped down version.  I ended up
putting together a small visual basic (yeah, I know visual basic?) program
to allow the user to select a printer from one of their windows printers and
set it to be used in Genero.  If the user is in a session they would have to
exit their application and log back in for the terminal to read the printer
configuration.  The printer only needs to be set once as the printer
information is written to one of the registry keys used in both PuTTy and
the fgltty.  It appears that this would be an easy thing for 4js to add to
the Genero client, but until then I do have the program to set the printers
if anyone is interested.  Have a great day.

Thank you,
Norman Laskie

_________________________________________________________


We are trying to find a way to "Slave" print in Genero.  Currently we are
using a couple of shell scripts that take the print job, append some pcl ode
to it, and use vt10x slave printing to output the job to a local or etwork
printer (usually the windows default).  The pcl code is added to ontrol the
print output, like if we want portrait or landscape, font sizes, number of
lines per page, etc.  Since Genero is using a slimmed down copy of PuTTy
that does not support slave printing we need to find a solution that would
give us the same type of control.  We were given a work around to this
problem (code below), but the users are presented two dialog boxes, one that
allows them to choose the printer, which is okay, and the other allows them
to choose the font.  If they select the wrong font or font size it messes up
the formatting of the job (66 lines per page with a fixed width font).  Is
there any way to replicate the vt10x style slave printing or set the font
either through 4gl code or the Genero Client?

Thank you,
Norman Laskie
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.