HPSlave printing to LaserJet 4m via Reflection for MAC?

georgia miller georgia_miller@gfps.k12.mt.us
6 Dec 2000 12:38:30 -0600


John, 

I turn on bolding or  an alternate font or underlining on our networked HP
laser printers (8100N, 4SI, etc). with a Quiz report by embedding the esc seq
in the text that is being reported.  Then the environment file knows what  the
alternate font is, which is a bolder, larger font.  We use only Macintosh PC's
with Reflection vs 4.2.  We are on MPEix 5.0.   I don't think that any of my
reports are run from a session, but rather run as a job.

I used to be able to embed the escape sequences into my letter masters with
Quick by turning on Display functions and typing (Ctrl N to turn on bolding,
Ctrl O to turn off bolding. etc).  I think after version 5, Quick would not
allow this entry into a data field.  Now I have to use QTP to get it into the
text that I am storing in a database.  Just being in the text, controls the
printer.  But these are always printed by a batch job.  When they are
displayed on a quick screen in reflection, they show up as wierd un-readable
characters.

This is how I turn on and off bolding with quiz:

DEFINE DECIMAL014 INT=014
DEFINE DECIMAL015 INT=015
DEFINE BOLD-ON    CHA*1 = ((CHA(DECIMAL014))[2:1])
DEFINE BOLD-OFF   CHA*1 = ((CHA(DECIMAL015))[2:1])
DEFINE D-NAME-REPORT1 CHA*60 = BOLD-ON + &
                       "Personnel Action Report to the Board of Trustees"&
                        + BOLD-OFF

I tried printing a report with bolding from a reflections session - online and
it worked fine:

:file quizlist;dev=ljdp,10,1;env=boardrep.env;cctl;rec=-256
:quiz

Q U I Z   (PowerHouse  8.19.C3)
Copyright 1998 COGNOS INCORPORATED
GREAT FALLS PUBLIC SCHOOL DISTRICT

> exe hrnz005.object

Date of Board Meeting to report: 20001211
Date of Board Meeting to report: 

Item Status to report: R

Is this a Board Report Addendum? N

Records selected:  21
Records sorted:    21
Lines printed:     97
Pages printed:     3

When I tried printing this report on the screen with reflections, the title
which is bolded, looked like this - same way it looks on a quick screen.


                                        ²Õª²­ÉÉÕ­ ³Ê­­­É ªÕ²­ª­ ­­ ­­Õ É­³ªÐ
­³ ­ª½²­ÕÕ²                      Page    1

                                              ¹½É¹¹ÉÉÉ ³ ³­ª É­³ªÐ ³²²ª­É³­   
 

I couldn't quickly find the decimal equivlents for underline on and off.

Georgia Miller
Systems Analyst
Great Falls Public Schools
1100 4th Street South
Great Falls, MT  59405
(406)268-6074
georgia_miller@gfps.k12.mt.us

__________________________________________

>To: powerh-l@sphere.swau.edu
>From: John MacLerran on Wed, Dec 06, 2000 10:55 AM
>Subject: HPSlave printing to LaserJet 4m via Reflection for MAC?
>RFC Header:Received: by gfps.k12.mt.us with ADMIN;6 Dec 2000 10:54:02 -0600

>
>Howdy fellow PH-Listers
>
>I have a question about using Quiz 'Set device control hpslave' when
>using Reflection for the Mac.
>
>We have several quiz reports where we've defined escape sequences to
>control LaserJet printers (to bold, italicize and change the font sizes,
>etc.) When using Reflection (or Minisoft) for Windows, this works well
>with hpslave printing, because we can turn off the Windows print drivers
>-- pass through printing. This allows Windows to ignore the escape
>sequences, but still send them to the printer, which interprets them
>correctly and prints the text in the correct format.
>
>However, we are unable to make this work on Reflection for the Mac.
>Here's the setup:
>Quiz 8.29D on MPE/iX
>Reflection for the Mac
>PowerMac (G4, I think) with MacOS 8 or 9 (can't remember...)
>Networked LaserJet 4M printer -- with AutoSense enabled (allows the
>printer to automatically select PCL or Postscript for printing).
>
>When we print a report from Windows  Reflection it works correctly.
>When we print the same report from Mac Reflection, we get the report,
>but none of the enhancements -- no bolding or italics.  Instead, we get
>the escape sequence printed within the report text.
>
>The Reflection manual talks about pass through printing, but states that
>it is to be used only for Apple ImageWriter printers.  We've tried it,
>and nothing prints.
>
>We've tried turning off AutoSense on the printer, and forcing it to be
>PCL -- which is what our escape sequences are -- but then the Mac says
>that it can't print to the printer because it needs Postscript.
>
>Is anyone else out there successfully sending PCL escape codes to a
>LaserJet using Reflection for the Mac?
>
>Thanks!
>----------------------------------------------------------------------
>  John MacLerran
>  IT Systems Analyst                       email:   macljohn@isu.edu
>  Idaho State University                             V(208) 282-2954
>  http://www.isu.edu/~macljohn                       F(208) 282-3673
>----------------------------------------------------------------------

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.