HP3000-L Archives

June 2003, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mark Wonsil <[log in to unmask]>
Reply To:
Date:
Thu, 26 Jun 2003 12:04:10 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (37 lines)
HP-3000 Systems Discussion wrote:
> Thanks Larry.  I'm really looking for a way we can do a
> screen print of the current screen to the default printer for
> the desktop.  I have an rcl working but I had to copy the
> screen to a file and it ends up losing the line-draw
> characters.  I can't seem to get it to print by using only a variable.

Hello Bob,

What I did was turn on the Macro Recorder, did a File | Print | and selected
screen.  I stopped/saved the macro and this is what was generated:

Sub mcrPrintScreen()
' Generated by the Reflection Macro Recorder on 06-26-2003 11:59:35.05.
' Generated by Reflection for HP 7.00.
    On Error GoTo ErrorHandler

    With Session
        .DefaultPrinter = ""
        .DefaultPrinter = "LaserJet 2100,winspool,IP_xxx.xxx.xxx.xxx"
        .Print rcScreen
    Exit Sub

ErrorHandler:
    .MsgBox Err.Description, vbExclamation + vbOKOnly

    End With
    ' Recording stopped at 12:00:10.44.
End Sub

HTH,

Mark W.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2