RE: RE: "Slave" Printing in Genero

Sean Kennelly <[email protected]>
Newsgroups gmane.comp.lang.4gl.fourjs.user
Message-ID <D54FA99E1D0AD411A7AE00062939B195EF1CF2@NTSALES>
Hi Norman,
Could you send me on the vb program or source code so I can have a look at
it.
Thanks
Sean
 
 
-----Original Message-----
From: Norman Laskie [mailto:[email protected]] 
Sent: 03 February 2005 18:41
To: [email protected]
Subject: [fourjs-users] RE: "Slave" Printing in Genero 
 
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

#####################################################################################
Attention:

The information contained in this message and or attachments is intended
only for the person or entity to which it is addressed and may contain
confidential and/or privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon,
this information by persons or entities other than the intended recipient
is prohibited. If you received this in error, please contact the sender and
delete the material from any system and destroy any copies.

This e-mail message has been scanned for Viruses using SOPHOS ANTI-VIRUS and 
Content cleared by MailMarshal. For more information please contact 
[email protected] or phone Integrity on +353 (0)1 4358500.

Thank You.
#####################################################################################
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.